Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
RZ_BORROW const char *Elf_() | rz_bin_elf_strtab_get (RZ_NONNULL RzBinElfStrtab *strtab, ut64 index) |
RZ_OWN RzBinElfStrtab *Elf_() | rz_bin_elf_strtab_new (RZ_NONNULL ELFOBJ *bin, ut64 offset, ut64 size) |
RZ_OWN char *Elf_() | rz_bin_elf_strtab_get_dup (RZ_NONNULL RzBinElfStrtab *strtab, ut64 index) |
bool Elf_() | rz_bin_elf_strtab_has_index (RZ_NONNULL RzBinElfStrtab *strtab, ut64 index) |
void Elf_() | rz_bin_elf_strtab_free (RzBinElfStrtab *ptr) |
void Elf_() rz_bin_elf_strtab_free | ( | RzBinElfStrtab * | ptr | ) |
Definition at line 72 of file elf_strtab.c.
References free().
Referenced by get_section_elf_symbols(), rz_bin_elf_free(), and rz_bin_elf_strtab_new().
RZ_BORROW const char* Elf_() rz_bin_elf_strtab_get | ( | RZ_NONNULL RzBinElfStrtab * | strtab, |
ut64 | index | ||
) |
Definition at line 8 of file elf_strtab.c.
References Elf_, NULL, rz_bin_elf_strtab_has_index(), and rz_return_val_if_fail.
Referenced by get_vernaux_entry_sdb(), get_verneed_entry_sdb_aux(), get_versym_entry_sdb_from_verdef(), and get_versym_entry_sdb_from_verneed().
RZ_OWN char* Elf_() rz_bin_elf_strtab_get_dup | ( | RZ_NONNULL RzBinElfStrtab * | strtab, |
ut64 | index | ||
) |
Definition at line 52 of file elf_strtab.c.
References Elf_, NULL, rz_bin_elf_strtab_has_index(), rz_return_val_if_fail, and strdup().
Referenced by rz_bin_elf_get_libs(), rz_bin_elf_get_rpath(), set_elf_section_name(), and set_elf_symbol_name().
bool Elf_() rz_bin_elf_strtab_has_index | ( | RZ_NONNULL RzBinElfStrtab * | strtab, |
ut64 | index | ||
) |
Definition at line 67 of file elf_strtab.c.
References rz_return_val_if_fail.
Referenced by rz_bin_elf_strtab_get(), rz_bin_elf_strtab_get_dup(), and set_elf_section_name().
RZ_OWN RzBinElfStrtab* Elf_() rz_bin_elf_strtab_new | ( | RZ_NONNULL ELFOBJ * | bin, |
ut64 | offset, | ||
ut64 | size | ||
) |
Definition at line 18 of file elf_strtab.c.
References rz_bin_elf_strtab::data, Elf_, NULL, PFMT64x, rz_bin_elf_check_array(), rz_bin_elf_strtab_free(), rz_buf_read_at(), RZ_LOG_WARN, RZ_NEW, RZ_NEWS, rz_return_val_if_fail, and rz_bin_elf_strtab::size.
Referenced by get_section_elf_symbols(), init_dynstr_aux(), and init_shstrtab_aux().