MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / peGetExportedSymbolByAddress

Function peGetExportedSymbolByAddress

emmy_hook/src/libpe/libpe.cpp:720–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718}
719
720PE_STATUS peGetExportedSymbolByAddress( PE *pe, uint64_t qwAddress, PE_SYMBOL **ppSymbol )
721{
722 PE_STATUS status = PE_NOT_PARSED;
723
724 *ppSymbol = NULL;
725
726 if( PE_IS_PARSED( pe, EXPORTS ) == TRUE )
727 {
728 *ppSymbol = (PE_SYMBOL *)ht_get( pe->ExportTable.ByAddress, (void *)qwAddress );
729
730 status = *ppSymbol == NULL ? PE_NOT_FOUND : PE_SUCCESS;
731 }
732
733 return status;
734}
735
736PE_STATUS peGetExportedSymbolByOrdinal( PE *pe, uint16_t wOrdinal, PE_SYMBOL **ppSymbol )
737{

Callers

nothing calls this directly

Calls 1

ht_getFunction · 0.85

Tested by

no test coverage detected