ElfSymbolTable.findSymbolByAddress

ElfSymbol findSymbolByAddress(ulong addr)

Find a symbol containing the given address.

Returns the symbol whose value-range contains the address. This is useful for resolving addresses to symbol names.

Parameters

addrThe address to search for.

Returns

The ElfSymbol if found, or ElfSymbol.init if not found.