mirror of
https://github.com/open-goal/jak-project
synced 2026-09-12 20:56:09 -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
28 lines
420 B
OCaml
Vendored
Generated
28 lines
420 B
OCaml
Vendored
Generated
(* Capstone Disassembly Engine
|
|
* By Guillaume Jeanne <guillaume.jeanne@ensimag.fr>, 2014> *)
|
|
|
|
open Sparc_const
|
|
|
|
type sparc_op_mem = {
|
|
base: int;
|
|
index: int;
|
|
disp: int;
|
|
}
|
|
|
|
type sparc_op_value =
|
|
| SPARC_OP_INVALID of int
|
|
| SPARC_OP_REG of int
|
|
| SPARC_OP_IMM of int
|
|
| SPARC_OP_MEM of sparc_op_mem
|
|
|
|
type sparc_op = {
|
|
value: sparc_op_value;
|
|
}
|
|
|
|
type cs_sparc = {
|
|
cc: int;
|
|
hint: int;
|
|
operands: sparc_op array;
|
|
}
|
|
|