VirtualBox

Ignore:
Timestamp:
Aug 31, 2011 12:43:26 PM (13 years ago)
Author:
vboxsync
Message:

IPRT: More debug info & ldr stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h

    r38547 r38581  
    705705
    706706
     707/** @copydoc RTLDROPS::pfnLinkAddressToSegOffset. */
     708static DECLCALLBACK(int) RTLDRELF_NAME(LinkAddressToSegOffset)(PRTLDRMODINTERNAL pMod, RTLDRADDR LinkAddress,
     709                                                               uint32_t *piSeg, PRTLDRADDR poffSeg)
     710{
     711    PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod;
     712
     713    return VERR_NOT_IMPLEMENTED;
     714}
     715
     716
     717/** @copydoc RTLDROPS::pfnLinkAddressToRva. */
     718static DECLCALLBACK(int) RTLDRELF_NAME(LinkAddressToRva)(PRTLDRMODINTERNAL pMod, RTLDRADDR LinkAddress, PRTLDRADDR pRva)
     719{
     720    PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod;
     721
     722    return VERR_NOT_IMPLEMENTED;
     723}
     724
     725
     726/** @copydoc RTLDROPS::pfnSegOffsetToRva. */
     727static DECLCALLBACK(int) RTLDRELF_NAME(SegOffsetToRva)(PRTLDRMODINTERNAL pMod, uint32_t iSeg, RTLDRADDR offSeg,
     728                                                       PRTLDRADDR pRva)
     729{
     730    PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod;
     731
     732    return VERR_NOT_IMPLEMENTED;
     733}
     734
     735
     736/** @copydoc RTLDROPS::pfnRvaToSegOffset. */
     737static DECLCALLBACK(int) RTLDRELF_NAME(RvaToSegOffset)(PRTLDRMODINTERNAL pMod, RTLDRADDR Rva,
     738                                                       uint32_t *piSeg, PRTLDRADDR poffSeg)
     739{
     740    PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod;
     741
     742    return VERR_NOT_IMPLEMENTED;
     743}
     744
     745
    707746
    708747/**
     
    727766    RTLDRELF_NAME(EnumDbgInfo),
    728767    RTLDRELF_NAME(EnumSegments),
     768    RTLDRELF_NAME(LinkAddressToSegOffset),
     769    RTLDRELF_NAME(LinkAddressToRva),
     770    RTLDRELF_NAME(SegOffsetToRva),
     771    RTLDRELF_NAME(RvaToSegOffset),
    729772    42
    730773};
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