DBG: Callback handles in stackinfo (StackWalk64) have been verified
This commit is contained in:
parent
7d81eea81c
commit
391a90862a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue