Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ canRead
Method
canRead
ir/state.cpp:33–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
expr SMTMemoryAccess::canRead(AccessType ty) const {
34
unsigned bit = ty * 2 + 1;
35
return val.extract(bit, bit) == 1;
36
}
37
38
expr SMTMemoryAccess::canWrite(AccessType ty) const {
39
unsigned bit = ty * 2;
Callers
3
overlaps
Method · 0.45
addFnCall
Method · 0.45
check_can_load
Function · 0.45
Calls
1
extract
Method · 0.45
Tested by
no test coverage detected