Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
38
expr SMTMemoryAccess::canWrite(AccessType ty) const {
39
unsigned bit = ty * 2;
40
return val.extract(bit, bit) == 1;
41
}
42
43
expr SMTMemoryAccess::canOnlyRead(AccessType ty) const {
44
AndExpr ret;
Callers
5
overlaps
Method · 0.45
addFnCall
Method · 0.45
mkInput
Method · 0.45
setState
Method · 0.45
check_can_store
Function · 0.45
Calls
1
extract
Method · 0.45
Tested by
no test coverage detected