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

Method ptrByteoffset

ir/memory.cpp:317–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317expr Byte::ptrByteoffset() const {
318 if (!does_ptr_mem_access)
319 return expr::mkUInt(0, bits_ptr_byte_offset());
320 if (bits_ptr_byte_offset() == 0)
321 return expr::mkUInt(0, 1);
322
323 unsigned start = padding_ptr_byte();
324 return p.extract(bits_ptr_byte_offset() + start - 1, start);
325}
326
327expr Byte::nonptrNonpoison() const {
328 if (!does_int_mem_access)

Callers 3

refinedMethod · 0.80
memory.cppFile · 0.80
bytesToValueFunction · 0.80

Calls 3

bits_ptr_byte_offsetFunction · 0.85
padding_ptr_byteFunction · 0.85
extractMethod · 0.45

Tested by

no test coverage detected