mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Soft error on some malformed PDB cases
This commit is contained in:
parent
cf6ade5e45
commit
1abccdedf8
6 changed files with 48 additions and 7 deletions
|
@ -9508,6 +9508,9 @@ static void PdbTestFile(WinDebugger* debugger, const StringImpl& path)
|
|||
coffFile.ParseTypeData();
|
||||
coffFile.ParseSymbolData();
|
||||
coffFile.ParseGlobalsData();
|
||||
|
||||
for (int i = 0; i < coffFile.mTypes.mSize; i++)
|
||||
coffFile.mTypes[i]->PopulateType();
|
||||
}
|
||||
|
||||
static void PdbTest(WinDebugger* debugger, const StringImpl& path)
|
||||
|
@ -9622,6 +9625,8 @@ String WinDebugger::Evaluate(const StringImpl& expr, DwFormatInfo formatInfo, in
|
|||
{
|
||||
PdbTest(this, "c:\\");
|
||||
}
|
||||
else if (cmd.StartsWith("!pdbtest "))
|
||||
PdbTestFile(this, cmd.Substring(9));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue