mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00

Add option to DWARF analyzer to ignore storage locations specified for function parameters. (the info provided by DWARF info will often not be directly at the func entry point and requires future dev effort to walk the parameter info backwards to get it) Add option to DWARF analyzer to set the default calling convention of functions created via the analyzer.
20 lines
944 B
Text
20 lines
944 B
Text
<dwarf>
|
|
<register_mappings>
|
|
<register_mapping dwarf="0" ghidra="r0" auto_count="13"/> <!-- r0..r12 -->
|
|
<register_mapping dwarf="13" ghidra="sp" stackpointer="true"/>
|
|
<register_mapping dwarf="14" ghidra="lr"/>
|
|
<register_mapping dwarf="15" ghidra="pc"/>
|
|
<register_mapping dwarf="16" ghidra="fpsr"/>
|
|
<register_mapping dwarf="17" ghidra="cpsr"/>
|
|
<register_mapping dwarf="256" ghidra="d0" auto_count="32"/> <!-- d0..d31 -->
|
|
<register_mapping dwarf="64" ghidra="s0" auto_count="32"/> <!-- s0..s31 -->
|
|
</register_mappings>
|
|
<call_frame_cfa value="0"/>
|
|
<!--
|
|
In the past, this flag has been present in this file but was not correctly implemented in
|
|
the DWARF analyzer. The DWARF analyzer now respects this flag, and also has the
|
|
"Ignore Parameter Storage Info" toggle option to enable the same feature.
|
|
This flag is being left disabled to match recent DWARF analyzer behavior.
|
|
<use_formal_parameter_storage/>
|
|
-->
|
|
</dwarf>
|