Skip to content

Commit

Permalink
Add ARMOpenOCD arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Grazfather committed Nov 8, 2022
1 parent 2730d78 commit 3b4a00a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions archs/ARMOpenOCD.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""
ARM through OpenOCD support for GEF
To use, source this file *after* gef
Author: Grazfather
"""

class ARMOpenOCD(ARM):
arch = "ARMOpenOCD"
aliases = ("ARMOpenOCD",)
all_registers = ("$r0", "$r1", "$r2", "$r3", "$r4", "$r5", "$r6",
"$r7", "$r8", "$r9", "$r10", "$r11", "$r12", "$sp",
"$lr", "$pc", "$xPSR",)
flag_register = "$xPSR"

0 comments on commit 3b4a00a

Please sign in to comment.