Rebase resync

This commit is contained in:
Antz 2020-02-17 09:19:44 +00:00
parent a0797532e8
commit 1997c1e903
3106 changed files with 11118 additions and 627576 deletions

View file

@ -281,7 +281,8 @@ void WheatyExceptionReport::printTracesForAllThreads()
}
CloseHandle(threadHandle);
}
} while (Thread32Next(hThreadSnap, &te32));
}
while (Thread32Next(hThreadSnap, &te32));
// Don't forget to clean up the snapshot object.
CloseHandle(hThreadSnap);
@ -582,7 +583,6 @@ void WheatyExceptionReport::WriteStackDetails(
&sip.si)) // Address of the SYMBOL_INFO structure (inside "sip" object)
{
_tprintf(_T("%hs+%I64X"), sip.si.Name, symDisplacement);
}
else // No symbol found. Print out the logical address instead.
{
@ -625,7 +625,6 @@ void WheatyExceptionReport::WriteStackDetails(
_tprintf(_T("\r\n"));
}
}
}
//////////////////////////////////////////////////////////////////////////////
@ -638,7 +637,6 @@ WheatyExceptionReport::EnumerateSymbolsCallback(
ULONG SymbolSize,
PVOID UserContext)
{
char szBuffer[2048];
__try