mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:00:56 +00:00
dbghelp: When unwinding the stack, stop if the current address isn't in a known module.
This commit is contained in:
parent
0c2401369c
commit
060ccb123a
|
@ -516,10 +516,8 @@ static BOOL x86_64_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame,
|
|||
deltapc = 1;
|
||||
}
|
||||
|
||||
if (frame->AddrPC.Offset && (base = sw_module_base(csw, frame->AddrPC.Offset)))
|
||||
frame->FuncTableEntry = sw_table_access(csw, frame->AddrPC.Offset);
|
||||
else
|
||||
frame->FuncTableEntry = NULL;
|
||||
if (!frame->AddrPC.Offset || !(base = sw_module_base(csw, frame->AddrPC.Offset))) goto done_err;
|
||||
frame->FuncTableEntry = sw_table_access(csw, frame->AddrPC.Offset);
|
||||
frame->AddrStack.Mode = frame->AddrFrame.Mode = frame->AddrReturn.Mode = AddrModeFlat;
|
||||
if (frame->FuncTableEntry)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue