Merge commit '802798ce3c8baa4697120580f87bc1ee377306d3' as 'external/capstone'
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x01, 0x30, 0x10, 0xf1, 0x01, 0x00, 0x80, 0xe0, 0x00, 0xf0, 0x00, 0xbc, 0x02, 0xd0, 0x00, 0xf0, 0x80, 0x80, 0x02, 0xe0, 0x80, 0xe0, 0x00, 0xf0, 0x00, 0xbc, 0x02, 0xdc, 0x00, 0xf3, 0x80, 0x80 ]
|
||||
arch: "CS_ARCH_ARM"
|
||||
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_MODE_THUMB" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "adds r0, #1"
|
||||
-
|
||||
asm_text: "adds.w r0, r0, #1"
|
||||
-
|
||||
asm_text: "b #0x100"
|
||||
-
|
||||
asm_text: "b.w #0x800"
|
||||
-
|
||||
asm_text: "beq #4"
|
||||
-
|
||||
asm_text: "beq.w #0x100"
|
||||
-
|
||||
asm_text: "b #4"
|
||||
-
|
||||
asm_text: "b #0x100"
|
||||
-
|
||||
asm_text: "b.w #0x800"
|
||||
-
|
||||
asm_text: "bgt #4"
|
||||
-
|
||||
asm_text: "bgt.w #0x100"
|
||||
Reference in New Issue
Block a user