Merge commit '802798ce3c8baa4697120580f87bc1ee377306d3' as 'external/capstone'

This commit is contained in:
2026-05-11 11:55:07 +02:00
3968 changed files with 2967598 additions and 0 deletions
+240
View File
@@ -0,0 +1,240 @@
test_cases:
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti jc"
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti jc"
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti jc"
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti jc"
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti jc"
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti jc"