VirtualBox

Changeset 73486 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 3, 2018 1:59:46 PM (6 years ago)
Author:
vboxsync
Message:

DBGFStack,DBGPlugInWinNt.cpp: Heed the frame pointer; don't corrupt RBP with invalid trapframe info.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGPlugInWinNt.cpp

    r73461 r73486  
    457457                            MAYBE_ADD_GREG(TrapFrame.Rdi, DBGFREG_RDI, X86_GREG_xDI);
    458458                        }
    459                         MAYBE_ADD_GREG(TrapFrame.Rbp, DBGFREG_RBP, X86_GREG_xBP);
     459                        // MAYBE_ADD_GREG(TrapFrame.Rbp, DBGFREG_RBP, X86_GREG_xBP); - KiInterrupt[Sub]Dispatch* may leave this invalid.
    460460
    461461                        /* Done? */
  • trunk/src/VBox/VMM/VMMR3/DBGFStack.cpp

    r73483 r73486  
    489489                            iFrameReg = uOpInfo;
    490490                            offFrameReg = pInfo->FrameOffset * 16;
     491                            pThis->u.x86.auRegs[X86_GREG_xSP] = pThis->u.x86.auRegs[iFrameReg] - offFrameReg;
    491492                            iOpcode++;
    492493                            break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette