Skip to content

Replace remaining usage of old arithmetic overflow operations #1483

Open
@zhassan-aws

Description

@zhassan-aws

In #1426, new methods for arithmetic overflow operations were added that rely on CBMC's new, more efficient operations: add_overflow_result, sub_overflow_result, and mul_overflow_result. There are still a few usages of the old methods, e.g. add_overflow in kani_compiler::codegen_cprover_gotoc::codegen::intrinsic::GotocCtx::codegen_offset. We should switch all the usages to the new methods, and delete the old methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [C] BugThis is a bug. Something isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions