| 13794 | } |
| 13795 | |
| 13796 | bool WinDebugger::WriteInstructions(intptr address, void* src, uint64 length) |
| 13797 | { |
| 13798 | SIZE_T dwBytesWritten = 0; |
| 13799 | bool result = ::WriteProcessMemory(mProcessInfo.hProcess, (void*)(intptr)address, src, (SIZE_T)length, &dwBytesWritten) != 0; |
| 13800 | result |= ::FlushInstructionCache(mProcessInfo.hProcess, (void*)(intptr)address, (SIZE_T)length) != 0; |
| 13801 | BF_ASSERT(result); |
| 13802 | BfLogDbg("WriteInstructions: %p %d\n", address, length); |
| 13803 | return result; |
| 13804 | } |
| 13805 | |
| 13806 | DbgMemoryFlags WinDebugger::GetMemoryFlags(intptr address) |
| 13807 | { |
no outgoing calls
no test coverage detected