• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..08-May-2020-

MakefileH A D08-May-20207.9 KiB300202

READMEH A D08-May-2020801 2416

arm.mlH A D08-May-20201 KiB5647

arm64.mlH A D08-May-2020832 4740

arm64_const.mlH A D08-May-202028.3 KiB1,007990

arm_const.mlH A D08-May-202020.1 KiB776763

capstone.mlH A D08-May-20207.2 KiB215183

evm_const.mlH A D08-May-20204 KiB152149

m680x.mlH A D08-May-2020830 4939

m680x_const.mlH A D08-May-202011 KiB416410

m68k_const.mlH A D08-May-202013 KiB486476

mips.mlH A D08-May-2020410 2519

mips_const.mlH A D08-May-202023.1 KiB862855

ocaml.cH A D08-May-202032.2 KiB1,106960

ppc.mlH A D08-May-2020487 3527

ppc_const.mlH A D08-May-202037 KiB1,3661,359

sparc.mlH A D08-May-2020420 2821

sparc_const.mlH A D08-May-202011.9 KiB430423

systemz.mlH A D08-May-2020437 2822

sysz_const.mlH A D08-May-202019.8 KiB754748

test_arm.mlH A D08-May-20203.2 KiB10684

test_arm64.mlH A D08-May-20203 KiB10280

test_basic.mlH A D08-May-20203.6 KiB6859

test_detail.mlH A D08-May-20204.1 KiB8874

test_m680x.mlH A D08-May-20206.9 KiB168147

test_mips.mlH A D08-May-20202 KiB7660

test_ppc.mlH A D08-May-20202.2 KiB8266

test_sparc.mlH A D08-May-20202.3 KiB8062

test_systemz.mlH A D08-May-20202.2 KiB8163

test_x86.mlH A D08-May-20203.4 KiB11895

test_xcore.mlH A D08-May-20202.1 KiB7962

tms320c64x_const.mlH A D08-May-20208.6 KiB278269

x86.mlH A D08-May-2020746 4842

x86_const.mlH A D08-May-202055.9 KiB1,9631,953

xcore.mlH A D08-May-2020411 2720

xcore_const.mlH A D08-May-20204.2 KiB162157

README

1To compile Ocaml binding, Ocaml toolchain is needed. On Ubuntu Linux,
2you can install Ocaml with:
3
4    $ sudo apt-get install ocaml-nox
5
6To compile Ocaml binding, simply run "make" on the command line.
7
8
9This directory also contains some test code to show how to use Capstone API.
10
11- test_basic.ml
12  This code shows the most simple form of API where we only want to get basic
13  information out of disassembled instruction, such as address, mnemonic and
14  operand string.
15
16- test_detail.ml:
17  This code shows how to access to architecture-neutral information in disassembled
18  instructions, such as implicit registers read/written, or groups of instructions
19  that this instruction belong to.
20
21- test_<arch>.ml
22  These code show how to access architecture-specific information for each
23  architecture.
24