Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ setPagesRW
Function
setPagesRW
src/crypto/RandomX/virtual_memory.cpp:121–123 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
119
}
120
121
void setPagesRW(void* ptr, std::size_t bytes) {
122
pageProtect(ptr, bytes, PAGE_READWRITE);
123
}
124
125
void setPagesRX(void* ptr, std::size_t bytes) {
126
pageProtect(ptr, bytes, PAGE_EXECUTE_READ);
Callers
2
enableWriting
Method · 0.85
enableWriting
Method · 0.85
Calls
1
pageProtect
Function · 0.85
Tested by
no test coverage detected