Rizin
unix-like reverse engineering framework and cli tools
rz_bin_elf_reloc_t Struct Reference

#include <elf.h>

Public Attributes

ut64 sym
 
int type
 
ut64 mode
 
st64 addend
 exact addend value taken from the ELF, meaning depends on type More...
 
ut64 offset
 exact offset value taken from the ELF, meaning depends on the binary type More...
 
ut64 paddr
 absolute paddr in the file, calculated from offset, or UT64_MAX if no such addr exists More...
 
ut64 vaddr
 source vaddr of the reloc, calculated from offset More...
 
ut64 target_vaddr
 after patching, the target that this reloc points to More...
 
ut16 section
 
ut64 sto
 

Detailed Description

Definition at line 143 of file elf.h.

Member Data Documentation

◆ addend

st64 rz_bin_elf_reloc_t::addend

exact addend value taken from the ELF, meaning depends on type

Definition at line 147 of file elf.h.

Referenced by get_import_addr_arm(), and get_reloc_entry().

◆ mode

ut64 rz_bin_elf_reloc_t::mode

Definition at line 146 of file elf.h.

Referenced by get_reloc_entry(), and test_group_name.GroupTest::run().

◆ offset

ut64 rz_bin_elf_reloc_t::offset

exact offset value taken from the ELF, meaning depends on the binary type

Definition at line 148 of file elf.h.

Referenced by fix_rva_and_offset_exec_file(), fix_rva_and_offset_relocable_file(), and get_reloc_entry().

◆ paddr

ut64 rz_bin_elf_reloc_t::paddr

absolute paddr in the file, calculated from offset, or UT64_MAX if no such addr exists

Definition at line 149 of file elf.h.

Referenced by fix_rva_and_offset_exec_file(), fix_rva_and_offset_relocable_file(), and get_got_entry().

◆ section

ut16 rz_bin_elf_reloc_t::section

Definition at line 152 of file elf.h.

◆ sto

ut64 rz_bin_elf_reloc_t::sto

Definition at line 153 of file elf.h.

◆ sym

ut64 rz_bin_elf_reloc_t::sym

Definition at line 144 of file elf.h.

Referenced by get_import_addr(), and get_reloc_entry().

◆ target_vaddr

ut64 rz_bin_elf_reloc_t::target_vaddr

after patching, the target that this reloc points to

Definition at line 151 of file elf.h.

◆ type

◆ vaddr

ut64 rz_bin_elf_reloc_t::vaddr

source vaddr of the reloc, calculated from offset

Definition at line 150 of file elf.h.

Referenced by fix_rva_and_offset_exec_file(), fix_rva_and_offset_relocable_file(), and get_import_addr_x86_manual().


The documentation for this struct was generated from the following file: