MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / xh_elf_gnu_hash_lookup

Function xh_elf_gnu_hash_lookup

Bcore/src/main/cpp/xhook/xh_elf.c:433–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433static int xh_elf_gnu_hash_lookup(xh_elf_t *self, const char *symbol, uint32_t *symidx)
434{
435 if(0 == xh_elf_gnu_hash_lookup_def(self, symbol, symidx)) return 0;
436 if(0 == xh_elf_gnu_hash_lookup_undef(self, symbol, symidx)) return 0;
437 return XH_ERRNO_NOTFND;
438}
439
440static int xh_elf_find_symidx_by_name(xh_elf_t *self, const char *symbol, uint32_t *symidx)
441{

Callers 1

Calls 2

Tested by

no test coverage detected