MCPcopy Create free account
hub / github.com/GJDuck/e9patch / getSymbol

Method getSymbol

src/e9tool/e9frontend.cpp:1708–1711  ·  view source on GitHub ↗

* Lookup the address of a symbol, or INTPTR_MIN if not found. */

Source from the content-addressed store, hash-verified

1706 * Lookup the address of a symbol, or INTPTR_MIN if not found.
1707 */
1708intptr_t e9tool::getSymbol(const ELF *elf, const char *symbol)
1709{
1710 return ::lookupSymbol(elf, symbol, TYPESIG_UNTYPED);
1711}
1712
1713/*
1714 * Embed an ELF file.

Callers

nothing calls this directly

Calls 1

lookupSymbolFunction · 0.85

Tested by

no test coverage detected