| 1 | (* Capstone Disassembly Engine |
| 2 | * By Guillaume Jeanne <[email protected]>, 2014> *) |
| 3 | |
| 4 | open Sysz_const |
| 5 | |
| 6 | type sysz_op_mem = { |
| 7 | base: int; |
| 8 | index: int; |
| 9 | length: int64; |
| 10 | disp: int64; |
| 11 | } |
| 12 | |
| 13 | type sysz_op_value = |
| 14 | | SYSZ_OP_INVALID of int |
| 15 | | SYSZ_OP_REG of int |
| 16 | | SYSZ_OP_ACREG of int |
| 17 | | SYSZ_OP_IMM of int |
| 18 | | SYSZ_OP_MEM of sysz_op_mem |
| 19 | |
| 20 | type sysz_op = { |
| 21 | value: sysz_op_value; |
| 22 | } |
| 23 | |
| 24 | type cs_sysz = { |
| 25 | cc: int; |
| 26 | operands: sysz_op array; |
| 27 | } |