MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / addNoUOverflow

Method addNoUOverflow

ir/pointer.cpp:388–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388expr Pointer::addNoUOverflow(const expr &offset, bool offset_only) const {
389 if (offset_only)
390 return getOffset().add_no_uoverflow(offset);
391 return getAddress().add_no_uoverflow(offset.sextOrTrunc(bits_ptr_address));
392}
393
394expr Pointer::operator==(const Pointer &rhs) const {
395 return reprWithoutAttrs() == rhs.reprWithoutAttrs();

Callers 1

toSMTMethod · 0.80

Calls 2

add_no_uoverflowMethod · 0.80
sextOrTruncMethod · 0.80

Tested by

no test coverage detected