mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Put back symbol lookup
This commit is contained in:
parent
eb139fd33c
commit
bc717c7dcb
1 changed files with 7 additions and 10 deletions
|
@ -666,10 +666,7 @@ static String ImageHelpWalk(PCONTEXT theContext, int theSkipCount)
|
|||
|
||||
HANDLE hProcess = GetCurrentProcess();
|
||||
|
||||
bool forceFail = true;
|
||||
|
||||
|
||||
|
||||
bool forceFail = false;
|
||||
if ((gSymGetSymFromAddr(hProcess, sf.AddrPC.Offset, &symDisplacement, pSymbol)) && (!forceFail))
|
||||
{
|
||||
char aUDName[256];
|
||||
|
@ -712,11 +709,11 @@ static String ImageHelpWalk(PCONTEXT theContext, int theSkipCount)
|
|||
|
||||
GetLogicalAddress((PVOID)sf.AddrPC.Offset, szModule, sizeof(szModule), section, offset);
|
||||
|
||||
ModuleInfo* moduleInfo = NULL;
|
||||
if (moduleInfoMap.TryAdd(szModule, NULL, &moduleInfo))
|
||||
{
|
||||
|
||||
}
|
||||
// ModuleInfo* moduleInfo = NULL;
|
||||
// if (moduleInfoMap.TryAdd(szModule, NULL, &moduleInfo))
|
||||
// {
|
||||
//
|
||||
// }
|
||||
|
||||
aDebugDump += StrFormat("%@ %@ %04X:%@ %s\r\n", sf.AddrFrame.Offset, sf.AddrPC.Offset, section, offset, GetFileName(szModule).c_str());
|
||||
}
|
||||
|
@ -856,7 +853,7 @@ static void DoHandleDebugEvent(LPEXCEPTION_POINTERS lpEP)
|
|||
|
||||
if (CreateMiniDump(lpEP, crashPath))
|
||||
{
|
||||
aDebugDump += StrFormat("Crash minidump saved as '%s'\n", crashPath.c_str());
|
||||
aDebugDump += StrFormat("Crash minidump saved as %s\n", crashPath.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue