| 742 | } |
| 743 | |
| 744 | static void xh_elf_dump(xh_elf_t *self) |
| 745 | { |
| 746 | if(xh_log_priority < ANDROID_LOG_DEBUG) return; |
| 747 | |
| 748 | XH_LOG_DEBUG("Elf Pathname: %s\n", self->pathname); |
| 749 | XH_LOG_DEBUG("Elf bias addr: %p\n", (void *)self->bias_addr); |
| 750 | xh_elf_dump_elfheader(self); |
| 751 | xh_elf_dump_programheader(self); |
| 752 | xh_elf_dump_dynamic(self); |
| 753 | xh_elf_dump_rel(self, ".plt", self->relplt, self->relplt_sz); |
| 754 | xh_elf_dump_rel(self, ".dyn", self->reldyn, self->reldyn_sz); |
| 755 | xh_elf_dump_symtab(self); |
| 756 | } |
| 757 | |
| 758 | #endif |
| 759 |
no test coverage detected