| 13672 | } |
| 13673 | |
| 13674 | int 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 | |
| 13681 | void WinDebugger::EnableMemCache() |
| 13682 | { |