cc: Add a set of ELF-related APIs based on libelf
The following APIs have been implemented inside `libbcc`, which programatically replicate the previous usage of `binutils` tools like `objdump` and `elfdump`. - bcc_elf_foreach_usdt: finds all USDT probes inside a given binary - bcc_elf_loadadddr: find the load address for a shared object - bcc_elf_foreach_sym: lists all symbols in an ELF binary or SO - bcc_elf_shared_obj: returns whether a given path is an ELF shared object, a binary, or neither
Showing
src/cc/bcc_elf.c
0 → 100644
src/cc/bcc_helpers.h
0 → 100644
Please register or sign in to comment