Rizin
unix-like reverse engineering framework and cli tools
|
#include "elf.h"
Go to the source code of this file.
Functions | |
static bool | start_a_sequence_of_instruction (RzBinSymbol *symbol) |
static bool | start_a_sequence_of_thumb_instruction (RzBinSymbol *symbol) |
static bool | start_a_sequence_of_data (RzBinSymbol *symbol) |
bool Elf_() | rz_bin_elf_is_arm_binary_supporting_thumb (RZ_NONNULL ELFOBJ *bin) |
bool Elf_() | rz_bin_elf_is_thumb_addr (ut64 addr) |
void Elf_() | rz_bin_elf_fix_arm_thumb_addr (ut64 *addr) |
void Elf_() | rz_bin_elf_fix_arm_thumb_object (RZ_NONNULL ut64 *paddr, RZ_NONNULL ut64 *vaddr, RZ_NONNULL int *bits) |
void Elf_() | rz_bin_elf_fix_arm_thumb_symbol (RZ_NONNULL RzBinSymbol *symbol) |
Definition at line 28 of file elf_arm.c.
References addr, Elf_, rz_bin_elf_is_thumb_addr(), and rz_return_if_fail.
Referenced by rz_bin_elf_fix_arm_thumb_object().
void Elf_() rz_bin_elf_fix_arm_thumb_object | ( | RZ_NONNULL ut64 * | paddr, |
RZ_NONNULL ut64 * | vaddr, | ||
RZ_NONNULL int * | bits | ||
) |
Definition at line 33 of file elf_arm.c.
References bits(), Elf_, rz_bin_elf_fix_arm_thumb_addr(), rz_bin_elf_is_thumb_addr(), and rz_return_if_fail.
void Elf_() rz_bin_elf_fix_arm_thumb_symbol | ( | RZ_NONNULL RzBinSymbol * | symbol | ) |
Definition at line 49 of file elf_arm.c.
References rz_bin_elf_fix_arm_thumb_object_dispatch, rz_return_if_fail, start_a_sequence_of_data(), start_a_sequence_of_instruction(), and start_a_sequence_of_thumb_instruction().
bool Elf_() rz_bin_elf_is_arm_binary_supporting_thumb | ( | RZ_NONNULL ELFOBJ * | bin | ) |
Definition at line 19 of file elf_arm.c.
References EM_ARM, and rz_return_val_if_fail.
Referenced by rz_bin_elf_get_bits().
Definition at line 24 of file elf_arm.c.
References addr, and UT64_MAX.
Referenced by get_import_addr_arm(), get_main_offset_arm_glibc(), has_thumb_symbol(), rz_bin_elf_fix_arm_thumb_addr(), rz_bin_elf_fix_arm_thumb_object(), and rz_bin_elf_get_bits().
|
static |
Definition at line 15 of file elf_arm.c.
References rz_bin_symbol_t::name, and rz_str_startswith().
Referenced by rz_bin_elf_fix_arm_thumb_symbol().
|
static |
Definition at line 7 of file elf_arm.c.
References rz_bin_symbol_t::name, and rz_str_startswith().
Referenced by rz_bin_elf_fix_arm_thumb_symbol().
|
static |
Definition at line 11 of file elf_arm.c.
References rz_bin_symbol_t::name, and rz_str_startswith().
Referenced by rz_bin_elf_fix_arm_thumb_symbol().