Skip to content

Commit

Permalink
GP-0 fix DWARF and Golang register mapping info for AARCH64
Browse files Browse the repository at this point in the history
  • Loading branch information
dev747368 committed May 7, 2024
1 parent 837b5bb commit 31f4e55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Ghidra/Processors/AARCH64/data/languages/AARCH64.dwarf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dwarf>
<register_mappings>
<register_mapping dwarf="0" ghidra="x0" auto_count="31"/> <!-- x0..x30 -->
<register_mapping dwarf="31" ghidra="xzr" stackpointer="true"/>
<register_mapping dwarf="31" ghidra="sp" stackpointer="true"/>
<register_mapping dwarf="64" ghidra="q0" auto_count="32"/> <!-- q0..q31 -->
</register_mappings>
<call_frame_cfa value="0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<float_registers list="q0,q1,q2,q3,q4,q5,q6,q7,q8,q9,q10,q11,q12,q13,q14,q15"/>
<stack initialoffset="8" maxalign="8"/>
<current_goroutine register="x28"/>
<zero_register register="ZR"/>
<zero_register register="xzr" builtin="true"/>
</register_info>
</golang>

0 comments on commit 31f4e55

Please sign in to comment.