VirtualBox

Changeset 38547 in vbox for trunk/src/VBox/Runtime/include


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

IPRT: More debug info hacking.

Location:
trunk/src/VBox/Runtime/include/internal
Files:
2 edited

Legend:

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

    r38531 r38547  
    9696     *
    9797     * @param   pMod            Pointer to the module structure.
    98      * @param   pvBits          Optional pointer to bits returned by
    99      *                          RTLdrGetBits().  This can be used by some module
    100      *                          interpreters to reduce memory consumption.
    10198     * @param   pfnCallback     The callback function.  Ignore the module
    10299     *                          handle argument!
     
    104101     */
    105102    DECLCALLBACKMEMBER(int, pfnEnumDbgInfo)(PRTDBGMODINT pMod, PFNRTLDRENUMDBG pfnCallback, void *pvUser);
     103
     104    /**
     105     * Enumerate the segments in the executable image.
     106     *
     107     * Identical to RTLdrEnumSegments.
     108     *
     109     * @returns IPRT status code or whatever pfnCallback returns.
     110     *
     111     * @param   pMod            Pointer to the module structure.
     112     * @param   pfnCallback     The callback function.  Ignore the module
     113     *                          handle argument!
     114     * @param   pvUser          The user argument.
     115     */
     116    DECLCALLBACKMEMBER(int, pfnEnumSegments)(PRTDBGMODINT pMod, PFNRTLDRENUMSEGS pfnCallback, void *pvUser);
     117
     118    /**
     119     * Gets the size of the loaded image.
     120     *
     121     * Identical to RTLdrSize.
     122     *
     123     * @returns The size in bytes, RTUINTPTR_MAX on failure.
     124     *
     125     * @param   pMod            Pointer to the module structure.
     126     */
     127    DECLCALLBACKMEMBER(RTUINTPTR, pfnImageSize)(PRTDBGMODINT pMod);
    106128
    107129    /**
  • trunk/src/VBox/Runtime/include/internal/ldr.h

    r38515 r38547  
    240240                                            PFNRTLDRENUMDBG pfnCallback, void *pvUser);
    241241
     242    /**
     243     * Enumerates the segments in the module.
     244     *
     245     * @returns iprt status code, which might have been returned by pfnCallback.
     246     * @param   pMod        Pointer to the loader module structure.
     247     * @param   pfnCallback The callback function which each debug info part is
     248     *                      to be fed to.
     249     * @param   pvUser      User argument to pass to the enumerator.
     250     * @remark  This is an optional entry point that can be NULL.
     251     */
     252    DECLCALLBACKMEMBER(int, pfnEnumSegments)(PRTLDRMODINTERNAL pMod, PFNRTLDRENUMSEGS pfnCallback, void *pvUser);
     253
    242254
    243255    /** Dummy entry to make sure we've initialized it all. */
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