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

Function xh_elf_dump_symtab

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

Source from the content-addressed store, hash-verified

717}
718
719static void xh_elf_dump_symtab(xh_elf_t *self)
720{
721 if(self->is_use_gnu_hash) return;
722
723 ElfW(Word) symtab_cnt = self->chain_cnt;
724 ElfW(Word) i;
725
726 XH_LOG_DEBUG("Symbol table '.dynsym' contains %u entries:\n", symtab_cnt);
727 XH_LOG_DEBUG(" %-8s " \
728 "%-"XH_UTIL_FMT_FIXED_S" " \
729 "%s\n",
730 "Idx",
731 "Value",
732 "Name");
733 for(i = 0; i < symtab_cnt; i++)
734 {
735 XH_LOG_DEBUG(" %-8u " \
736 "%."XH_UTIL_FMT_FIXED_X" " \
737 "%s\n",
738 i,
739 self->symtab[i].st_value,
740 self->strtab + self->symtab[i].st_name);
741 }
742}
743
744static void xh_elf_dump(xh_elf_t *self)
745{

Callers 1

xh_elf_dumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected