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

Function peGetExportedSymbolByName

emmy_hook/src/libpe/libpe.cpp:704–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704PE_STATUS peGetExportedSymbolByName( PE *pe, const char *pszName, PE_SYMBOL **ppSymbol )
705{
706 PE_STATUS status = PE_NOT_PARSED;
707
708 *ppSymbol = NULL;
709
710 if( PE_IS_PARSED( pe, EXPORTS ) == TRUE )
711 {
712 *ppSymbol = (PE_SYMBOL *)ht_get( pe->ExportTable.ByName, (void *)pszName );
713
714 status = *ppSymbol == NULL ? PE_NOT_FOUND : PE_SUCCESS;
715 }
716
717 return status;
718}
719
720PE_STATUS peGetExportedSymbolByAddress( PE *pe, uint64_t qwAddress, PE_SYMBOL **ppSymbol )
721{

Callers

nothing calls this directly

Calls 1

ht_getFunction · 0.85

Tested by

no test coverage detected