Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

int kLdrModEnumSymbols ( PKLDRMOD  pMod,
const void *  pvBits,
KLDRADDR  BaseAddress,
KU32  fFlags,
PFNKLDRMODENUMSYMS  pfnCallback,
void *  pvUser 
)

Enumerate the symbols in the module.

Returns:
0 on success and non-zero a status code on failure.
Parameters:
pMod The module which symbols should be enumerated.
pvBits Optional pointer to bits returned by kLdrModGetBits() currently located at BaseAddress. This can be used by some module interpreters to reduce memory consumption.
BaseAddress The module base address to use when calculating the symbol values. There are two special values that could be can: KLDRMOD_BASEADDRESS_LINK and KLDRMOD_BASEADDRESS_MAP.
fFlags The enumeration flags. A combination of the KLDRMOD_ENUM_SYMS_FLAGS_* #defines.
pfnCallback The enumeration callback function.
pvUser The user argument to the callback function.

Definition at line 295 of file kLdrMod.c.

References K_VALIDATE_FLAGS, KLDRMOD_ENUM_SYMS_FLAGS_ALL, KLDRMOD_VALIDATE, KLDRMODOPS::pfnEnumSymbols, and KLDRMOD::pOps.

Referenced by BasicTestsSub2().

{
    KLDRMOD_VALIDATE(pMod);
    K_VALIDATE_FLAGS(fFlags, KLDRMOD_ENUM_SYMS_FLAGS_ALL);
    return pMod->pOps->pfnEnumSymbols(pMod, pvBits, BaseAddress, fFlags, pfnCallback, pvUser);
}


Generated by  Doxygen 1.6.0   Back to index