mirror of
https://github.com/open-goal/jak-project
synced 2026-08-24 07:30:24 -04:00
bfc4c18ada
- Adds `capstone` as a disassembling library that could eventually replace Zydis (for now left that alone) - Replicates all of the existing x86 tests to ARM64, fixed a bunch of underlying issues along the way - There are a very small handful of tests remaining that need to be enabled / fixed
39 lines
826 B
YAML
Vendored
Generated
39 lines
826 B
YAML
Vendored
Generated
test_cases:
|
|
-
|
|
input:
|
|
name: "OOB read should be 2 bytes"
|
|
bytes: [ 0x00 ]
|
|
arch: "CS_ARCH_SYSTEMZ"
|
|
options: [ CS_MODE_BIG_ENDIAN ]
|
|
address: 0x0
|
|
expected:
|
|
insns: []
|
|
-
|
|
input:
|
|
name: "OOB read should be 4 bytes"
|
|
bytes: [ 0xb0, 0xff ]
|
|
arch: "CS_ARCH_SYSTEMZ"
|
|
options: [ CS_MODE_BIG_ENDIAN ]
|
|
address: 0x0
|
|
expected:
|
|
insns: []
|
|
-
|
|
input:
|
|
name: "OOB read should be 6 bytes"
|
|
bytes: [ 0xc0, 0xff, 0xff ]
|
|
arch: "CS_ARCH_SYSTEMZ"
|
|
options: [ CS_MODE_BIG_ENDIAN ]
|
|
address: 0x0
|
|
expected:
|
|
insns: []
|
|
|
|
-
|
|
input:
|
|
name: "WASM truncated memory immediate should fail (#2865)"
|
|
bytes: [ 0x28, 0x01 ]
|
|
arch: "wasm"
|
|
options: [ CS_OPT_DETAIL ]
|
|
address: 0x0
|
|
expected:
|
|
insns: []
|