Rizin
unix-like reverse engineering framework and cli tools
|
#include "elf.h"
Go to the source code of this file.
Functions | |
ut64 Elf_() | rz_bin_elf_get_sp_val (RZ_NONNULL ELFOBJ *bin) |
Get the stack pointer value. More... | |
ut64 Elf_() rz_bin_elf_get_sp_val | ( | RZ_NONNULL ELFOBJ * | bin | ) |
Get the stack pointer value.
elf | binary |
Get the value of the stack pointer register in a core file from NT_PRSTATUS
Definition at line 16 of file elf_corefile.c.
References Elf_, NT_PRSTATUS, rz_bin_elf_note_prstatus_t::regstate, rz_bin_elf_note_prstatus_t::regstate_size, rz_bin_elf_foreach_notes_segment, rz_bin_elf_get_prstatus_layout(), rz_read_ble(), rz_return_val_if_fail, rz_vector_foreach, RzBinElfNote, prstatus_layout_t::sp_offset, prstatus_layout_t::sp_size, autogen_x86imm::tmp, and UT64_MAX.