VirtualBox

Ignore:
Timestamp:
May 25, 2013 7:51:19 PM (12 years ago)
Author:
vboxsync
Message:

IPRT: Changed RTLDRSEG::pchName to pszName and make sure it's always set to something. Started on implementing a codeview reader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgmodldr.cpp

    r46164 r46266  
    7474    PRTDBGMODLDR pThis = (PRTDBGMODLDR)pMod->pvImgPriv;
    7575    return RTLdrGetFormat(pThis->hLdrMod);
     76}
     77
     78
     79/** @interface_method_impl{RTDBGMODVTIMG,pfnReadAt} */
     80static DECLCALLBACK(int) rtDbgModLdr_ReadAt(PRTDBGMODINT pMod, uint32_t iDbgInfoHint, RTFOFF off, void *pvBuf, size_t cb)
     81{
     82    PRTDBGMODLDR pThis = (PRTDBGMODLDR)pMod->pvImgPriv;
     83    return rtLdrReadAt(pThis->hLdrMod, pvBuf, UINT32_MAX /** @todo iDbgInfo*/, off, cb);
    7684}
    7785
     
    205213    /*.pfnMapPart = */                  rtDbgModLdr_MapPart,
    206214    /*.pfnUnmapPart = */                rtDbgModLdr_UnmapPart,
     215    /*.pfnReadAt = */                   rtDbgModLdr_ReadAt,
    207216    /*.pfnGetFormat = */                rtDbgModLdr_GetFormat,
    208217    /*.pfnGetArch = */                  rtDbgModLdr_GetArch,
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