MCPcopy Create free account
hub / github.com/beefytech/Beef / SetProtection

Method SetProtection

IDEHelper/WinDebugger.cpp:13674–13679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13672}
13673
13674int WinDebugger::SetProtection(intptr address, int size, int prot)
13675{
13676 DWORD oldProt;
13677 ::VirtualProtectEx(mProcessInfo.hProcess, (void*)(intptr)address, size, prot, &oldProt);
13678 return (int)oldProt;
13679}
13680
13681void WinDebugger::EnableMemCache()
13682{

Callers 1

RevertWritingEnableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected