241 lines
5.4 KiB
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti jc"
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "bti" ]
expected:
insns:
-
asm_text: "bti jc"
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "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_NO_BRANCH_OFFSET", "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_NO_BRANCH_OFFSET", "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_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "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_NO_BRANCH_OFFSET", "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_NO_BRANCH_OFFSET", "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_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti jc"
-
input:
bytes: [ 0x1f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti"
-
input:
bytes: [ 0x5f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti c"
-
input:
bytes: [ 0x9f, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti j"
-
input:
bytes: [ 0xdf, 0x24, 0x03, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "-bti" ]
expected:
insns:
-
asm_text: "bti jc"