You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
410 B
25 lines
410 B
3 years ago
|
(* Capstone Disassembly Engine
|
||
|
* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 *)
|
||
|
|
||
|
open Mips_const
|
||
|
|
||
|
(* architecture specific info of instruction *)
|
||
|
type mips_op_mem = {
|
||
|
base: int;
|
||
|
disp: int
|
||
|
}
|
||
|
|
||
|
type mips_op_value =
|
||
|
| MIPS_OP_INVALID of int
|
||
|
| MIPS_OP_REG of int
|
||
|
| MIPS_OP_IMM of int
|
||
|
| MIPS_OP_MEM of mips_op_mem
|
||
|
|
||
|
type mips_op = {
|
||
|
value: mips_op_value;
|
||
|
}
|
||
|
|
||
|
type cs_mips = {
|
||
|
operands: mips_op array;
|
||
|
}
|