| 686 | }; |
| 687 | |
| 688 | template<typename T> bool WinDebugger::WriteMemory(intptr addr, T val) |
| 689 | { |
| 690 | SIZE_T dwWriteBytes; |
| 691 | return WriteProcessMemory(mProcessInfo.hProcess, (void*)(intptr)addr, &val, (SIZE_T)sizeof(T), &dwWriteBytes) != 0; |
| 692 | } |
| 693 | |
| 694 | template<typename T> T WinDebugger::ReadMemory(intptr addr, bool local, bool* failed) |
| 695 | { |
no outgoing calls
no test coverage detected