VirtualBox

Ignore:
Timestamp:
May 17, 2013 5:21:23 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85849
Message:

IPRT: Dwarf and ELF fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/dbgmod.h

    r46134 r46149  
    156156
    157157    /**
     158     * Converts an image relative virtual address to a segment:offset.
     159     *
     160     * @returns IPRT status code.
     161     *
     162     * @param   pMod            Pointer to the loader module structure.
     163     * @param   Rva             The RVA to convert.
     164     * @param   piSeg           The segment index.
     165     * @param   poffSeg         Where to return the segment offset.
     166     */
     167    DECLCALLBACKMEMBER(int, pfnRvaToSegOffset)(PRTDBGMODINT pMod, RTLDRADDR Rva, uint32_t *piSeg, PRTLDRADDR poffSeg);
     168
     169    /**
    158170     * Creates a read-only mapping of a part of the image file.
    159171     *
     
    161173     *
    162174     * @param   pMod            Pointer to the module structure.
     175     * @param   iDbgInfo        The debug info ordinal number if the request
     176     *                          corresponds exactly to a debug info part from
     177     *                          pfnEnumDbgInfo.  Otherwise, pass UINT32_MAX.
    163178     * @param   off             The offset into the image file.
    164179     * @param   cb              The number of bytes to map.
    165180     * @param   ppvMap          Where to return the mapping address on success.
    166      */
    167     DECLCALLBACKMEMBER(int, pfnMapPart)(PRTDBGMODINT pMod, RTFOFF off, size_t cb, void const **ppvMap);
     181     *
     182     * @remarks Fixups will only be applied if @a iDbgInfo is specified.
     183     */
     184    DECLCALLBACKMEMBER(int, pfnMapPart)(PRTDBGMODINT pMod, uint32_t iDbgInfo, RTFOFF off, size_t cb, void const **ppvMap);
    168185
    169186    /**
Note: See TracChangeset for help on using the changeset viewer.

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