VirtualBox

Changeset 22116 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Aug 10, 2009 12:10:30 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50875
Message:

RTDbgAs: Added RTDbgAsModuleQueryMapByIndex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/dbg.h

    r22114 r22116  
    442442
    443443/**
     444 * Information about a mapping.
     445 *
     446 * This is used by RTDbgAsModuleGetMapByIndex.
     447 */
     448typedef struct RTDBGASMAPINFO
     449{
     450    /** The mapping address. */
     451    RTUINTPTR       Address;
     452    /** The segment mapped there.
     453     *  This is NIL_RTDBGSEGIDX if the entire module image is mapped here. */
     454    RTDBGSEGIDX     iSeg;
     455} RTDBGASMAPINFO;
     456/** Pointer to info about an address space mapping. */
     457typedef RTDBGASMAPINFO *PRTDBGASMAPINFO;
     458/** Pointer to const info about an address space mapping. */
     459typedef RTDBGASMAPINFO const *PCRTDBGASMAPINFO;
     460
     461/**
     462 * Queries mapping information for a module given by index.
     463 *
     464 * @returns IRPT status code.
     465 * @retval  VERR_INVALID_HANDLE if hDbgAs is invalid.
     466 * @retval  VERR_OUT_OF_RANGE if the name index was out of range.
     467 * @retval  VINF_BUFFER_OVERFLOW if the array is too small and the returned
     468 *          information is incomplete.
     469 *
     470 * @param   hDbgAs          The address space handle.
     471 * @param   iModule         The index of the module to get.
     472 * @param   paMappings      Where to return the mapping information.  The buffer
     473 *                          size is given by *pcMappings.
     474 * @param   pcMappings      IN: Size of the paMappings array. OUT: The number of
     475 *                          entries returned.
     476 * @param   fFlags          Flags for reserved for future use. MBZ.
     477 *
     478 * @remarks See remarks for RTDbgAsModuleByIndex regarding the volatility of the
     479 *          iModule parameter.
     480 */
     481RTDECL(int) RTDbgAsModuleQueryMapByIndex(RTDBGAS hDbgAs, uint32_t iModule, PRTDBGASMAPINFO paMappings, uint32_t *pcMappings, uint32_t fFlags);
     482
     483/**
    444484 * Adds a symbol to a module in the address space.
    445485 *
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