diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-09-29 16:32:48 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-09-29 16:32:48 +0200 |
| commit | d2d915478eb2cfe87c0e437611b7f35a68d9d34c (patch) | |
| tree | 54e3fb0852f09e6afefd0d0d6bf60b837b96fccb | |
| parent | 6c1c35c06be0fe24343ef3a0fa90076d040ba702 (diff) | |
| download | miasm-d2d915478eb2cfe87c0e437611b7f35a68d9d34c.tar.gz miasm-d2d915478eb2cfe87c0e437611b7f35a68d9d34c.zip | |
Arm: add bkpt
| -rw-r--r-- | miasm2/arch/arm/arch.py | 2 | ||||
| -rw-r--r-- | test/arch/arm/arch.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/miasm2/arch/arm/arch.py b/miasm2/arch/arm/arch.py index 7529b483..9bf36024 100644 --- a/miasm2/arch/arm/arch.py +++ b/miasm2/arch/arm/arch.py @@ -2247,3 +2247,5 @@ armtop("blx", [bs('11110'), tsign, timm10H, bs('11'), tj1, bs('0'), tj2, timm10L, bs('0')]) armtop("cbz", [bs('101100'), imm1, bs('1'), imm5_off, rnl], [rnl, imm5_off]) armtop("cbnz", [bs('101110'), imm1, bs('1'), imm5_off, rnl], [rnl, imm5_off]) + +armtop("bkpt", [bs('1011'), bs('1110'), imm8]) diff --git a/test/arch/arm/arch.py b/test/arch/arm/arch.py index f8912a5e..8e61b2f9 100644 --- a/test/arch/arm/arch.py +++ b/test/arch/arm/arch.py @@ -454,6 +454,8 @@ reg_tests_armt = [ ("00000000 UXTB R5, R0", "C5B2"), + ("xxxxxxxx BKPT 0x13", + "13be"), ] print "#" * 40, 'armthumb', '#' * 40 |