Changeset 38515 in vbox for trunk/src/VBox/Runtime/common/ldr/ldrEx.cpp
- Timestamp:
- Aug 24, 2011 2:33:32 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrEx.cpp
r33540 r38515 340 340 RTDECL(int) RTLdrEnumSymbols(RTLDRMOD hLdrMod, unsigned fFlags, const void *pvBits, RTUINTPTR BaseAddress, PFNRTLDRENUMSYMS pfnCallback, void *pvUser) 341 341 { 342 LogFlow(("RTLdrEnumSymbols: hLdrMod=%RTldrm fFlags=%#x pvBit =%p BaseAddress=%RTptr pfnCallback=%p pvUser=%p\n",342 LogFlow(("RTLdrEnumSymbols: hLdrMod=%RTldrm fFlags=%#x pvBits=%p BaseAddress=%RTptr pfnCallback=%p pvUser=%p\n", 343 343 hLdrMod, fFlags, pvBits, BaseAddress, pfnCallback, pvUser)); 344 344 … … 361 361 RT_EXPORT_SYMBOL(RTLdrEnumSymbols); 362 362 363 364 RTDECL(int) RTLdrEnumDbgInfo(RTLDRMOD hLdrMod, const void *pvBits, PFNRTLDRENUMDBG pfnCallback, void *pvUser) 365 { 366 LogFlow(("RTLdrEnumDbgInfo: hLdrMod=%RTldrm pvBits=%p pfnCallback=%p pvUser=%p\n", 367 hLdrMod, pvBits, pfnCallback, pvUser)); 368 369 /* 370 * Validate input. 371 */ 372 AssertMsgReturn(rtldrIsValid(hLdrMod), ("hLdrMod=%p\n", hLdrMod), VERR_INVALID_HANDLE); 373 AssertMsgReturn(!pvBits || RT_VALID_PTR(pvBits), ("pvBits=%p\n", pvBits), VERR_INVALID_PARAMETER); 374 AssertMsgReturn(RT_VALID_PTR(pfnCallback), ("pfnCallback=%p\n", pfnCallback), VERR_INVALID_PARAMETER); 375 PRTLDRMODINTERNAL pMod = (PRTLDRMODINTERNAL)hLdrMod; 376 //AssertMsgReturn(pMod->eState == LDR_STATE_OPENED, ("eState=%d\n", pMod->eState), VERR_WRONG_ORDER); 377 378 /* 379 * Do it. 380 */ 381 int rc; 382 if (pMod->pOps->pfnEnumDbgInfo) 383 rc = pMod->pOps->pfnEnumDbgInfo(pMod, pvBits, pfnCallback, pvUser); 384 else 385 rc = VERR_NOT_SUPPORTED; 386 387 LogFlow(("RTLdrEnumDbgInfo: returns %Rrc\n", rc)); 388 return rc; 389 } 390 RT_EXPORT_SYMBOL(RTLdrEnumDbgInfo); 391
Note:
See TracChangeset
for help on using the changeset viewer.