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

Method addNoUSOverflow

ir/pointer.cpp:382–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382expr Pointer::addNoUSOverflow(const expr &offset, bool offset_only) const {
383 if (offset_only)
384 return getOffset().add_no_soverflow(offset);
385 return getAddress().add_no_usoverflow(offset.sextOrTrunc(bits_ptr_address));
386}
387
388expr Pointer::addNoUOverflow(const expr &offset, bool offset_only) const {
389 if (offset_only)

Callers 2

encodeMethod · 0.80
toSMTMethod · 0.80

Calls 3

add_no_soverflowMethod · 0.80
add_no_usoverflowMethod · 0.80
sextOrTruncMethod · 0.80

Tested by

no test coverage detected