Changeset 73494 in vbox for trunk/src/VBox/Runtime/common/ldr/ldrEx.cpp
- Timestamp:
- Aug 4, 2018 7:41:30 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrEx.cpp
r73442 r73494 34 34 35 35 #include <iprt/assert.h> 36 #include <iprt/dbg.h> 36 37 #include <iprt/err.h> 37 38 #include <iprt/log.h> … … 708 709 709 710 711 RTDECL(int) RTLdrUnwindFrame(RTLDRMOD hLdrMod, void const *pvBits, uint32_t iSeg, RTLDRADDR off, PRTDBGUNWINDSTATE pState) 712 { 713 /* 714 * Validate. 715 */ 716 AssertMsgReturn(rtldrIsValid(hLdrMod), ("hLdrMod=%p\n", hLdrMod), VERR_INVALID_HANDLE); 717 PRTLDRMODINTERNAL pMod = (PRTLDRMODINTERNAL)hLdrMod; 718 AssertPtr(pState); 719 AssertReturn(pState->u32Magic == RTDBGUNWINDSTATE_MAGIC, VERR_INVALID_MAGIC); 720 721 /* 722 * Pass on the work. 723 */ 724 if (pMod->pOps->pfnUnwindFrame) 725 return pMod->pOps->pfnUnwindFrame(pMod, pvBits, iSeg, off, pState); 726 return VERR_DBG_NO_UNWIND_INFO; 727 } 728 RT_EXPORT_SYMBOL(RTLdrUnwindFrame); 729 730 710 731 /** 711 732 * Internal method used by the IPRT debug bits.
Note:
See TracChangeset
for help on using the changeset viewer.