• Vicent Marti's avatar
    cc: Add a set of ELF-related APIs based on libelf · b8f0f092
    Vicent Marti authored
    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
    b8f0f092
CMakeLists.txt 3.32 KB