Initial Commit

This commit is contained in:
Sajid
2024-09-07 18:00:09 +06:00
commit 0f9a53f75a
3352 changed files with 1563708 additions and 0 deletions

View File

@@ -0,0 +1,120 @@
test_cases:
-
input:
bytes: [ 0x20, 0x20, 0x02, 0x9a ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "addpt x0, x1, x2"
-
input:
bytes: [ 0xff, 0x23, 0x02, 0x9a ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "addpt sp, sp, x2"
-
input:
bytes: [ 0x20, 0x20, 0x02, 0x9a ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "addpt x0, x1, x2"
-
input:
bytes: [ 0x20, 0x3c, 0x02, 0x9a ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "addpt x0, x1, x2, lsl #7"
-
input:
bytes: [ 0xff, 0x3f, 0x02, 0x9a ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "addpt sp, sp, x2, lsl #7"
-
input:
bytes: [ 0x20, 0x20, 0x02, 0xda ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "subpt x0, x1, x2"
-
input:
bytes: [ 0xff, 0x23, 0x02, 0xda ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "subpt sp, sp, x2"
-
input:
bytes: [ 0x20, 0x20, 0x02, 0xda ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "subpt x0, x1, x2"
-
input:
bytes: [ 0x20, 0x3c, 0x02, 0xda ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "subpt x0, x1, x2, lsl #7"
-
input:
bytes: [ 0xff, 0x3f, 0x02, 0xda ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "subpt sp, sp, x2, lsl #7"
-
input:
bytes: [ 0x20, 0x0c, 0x62, 0x9b ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "maddpt x0, x1, x2, x3"
-
input:
bytes: [ 0x20, 0x8c, 0x62, 0x9b ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "cpa" ]
expected:
insns:
-
asm_text: "msubpt x0, x1, x2, x3"