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

Method canWrite

ir/state.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38expr SMTMemoryAccess::canWrite(AccessType ty) const {
39 unsigned bit = ty * 2;
40 return val.extract(bit, bit) == 1;
41}
42
43expr SMTMemoryAccess::canOnlyRead(AccessType ty) const {
44 AndExpr ret;

Callers 5

overlapsMethod · 0.45
addFnCallMethod · 0.45
mkInputMethod · 0.45
setStateMethod · 0.45
check_can_storeFunction · 0.45

Calls 1

extractMethod · 0.45

Tested by

no test coverage detected