1
0
Fork 0

DBG: Callback handles in stackinfo (StackWalk64) have been verified

This commit is contained in:
Nukem 2015-07-13 22:15:10 -04:00
parent 7d81eea81c
commit 391a90862a
1 changed files with 0 additions and 6 deletions

View File

@ -111,9 +111,6 @@ bool stackcommentget(uint addr, STACK_COMMENT* comment)
BOOL CALLBACK StackReadProcessMemoryProc64(HANDLE hProcess, DWORD64 lpBaseAddress, PVOID lpBuffer, DWORD nSize, LPDWORD lpNumberOfBytesRead) BOOL CALLBACK StackReadProcessMemoryProc64(HANDLE hProcess, DWORD64 lpBaseAddress, PVOID lpBuffer, DWORD nSize, LPDWORD lpNumberOfBytesRead)
{ {
if(hProcess != fdProcessInfo->hProcess)
__debugbreak();
// Fix for 64-bit sizes // Fix for 64-bit sizes
SIZE_T bytesRead = 0; SIZE_T bytesRead = 0;
@ -130,9 +127,6 @@ BOOL CALLBACK StackReadProcessMemoryProc64(HANDLE hProcess, DWORD64 lpBaseAddres
DWORD64 CALLBACK StackGetModuleBaseProc64(HANDLE hProcess, DWORD64 Address) DWORD64 CALLBACK StackGetModuleBaseProc64(HANDLE hProcess, DWORD64 Address)
{ {
if(hProcess != fdProcessInfo->hProcess)
__debugbreak();
return (DWORD64)ModBaseFromAddr((uint)Address); return (DWORD64)ModBaseFromAddr((uint)Address);
} }