rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.59k stars 346 forks source link

Load function types and arguments from DWARF when CFA and CFI information is used #3539

Open XVilka opened 1 year ago

XVilka commented 1 year ago

Support for applying correct offsets and sizes for variables and function returns given the CFI, CFA information from DWARF. Search for LOCATION_CFA

We also should expand testing by compiling the same float_ex1 for different architectures apart from ARM and Tricore:

Probably different compilers and versions as well

Check these documents for more information on how to use CFA, CFI, etc information for stack unwinding and analysis:

See also https://github.com/rizinorg/rizin/pull/3530 for more details

brightprogrammer commented 1 year ago

MIPS (Bit32, LittleEndian) : float_ex1_mipsel.zip MIPS (Bit32, BigEndian) : float_ex1_mips.zip MIPS (Bit64, LittleEndian) : float_ex1_mips64el.zip MIPS (Bit64, BigEndian) : float_ex1_mips64.zip