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

..25-Jun-2020-

MakefileH A D25-Jun-20207.1 KiB271182

READMEH A D25-Jun-2020801 2416

arm.mlH A D25-Jun-2020982 5344

arm64.mlH A D25-Jun-2020832 4740

arm64_const.mlH A D25-Jun-202028.8 KiB1,0441,005

arm_const.mlH A D25-Jun-202019.4 KiB767739

capstone.mlH A D25-Jun-20206 KiB191161

mips.mlH A D25-Jun-2020410 2519

mips_const.mlH A D25-Jun-202022.2 KiB839820

ocaml.cH A D25-Jun-202027.2 KiB945808

ppc.mlH A D25-Jun-2020487 3527

ppc_const.mlH A D25-Jun-202031.3 KiB1,1701,155

sparc.mlH A D25-Jun-2020420 2821

sparc_const.mlH A D25-Jun-202012.3 KiB450433

systemz.mlH A D25-Jun-2020437 2822

sysz_const.mlH A D25-Jun-202020 KiB768755

test_arm.mlH A D25-Jun-20203.1 KiB10482

test_arm64.mlH A D25-Jun-20203 KiB10280

test_basic.mlH A D25-Jun-20203.6 KiB6859

test_detail.mlH A D25-Jun-20204.1 KiB8874

test_mips.mlH A D25-Jun-20202 KiB7660

test_ppc.mlH A D25-Jun-20202.2 KiB8266

test_sparc.mlH A D25-Jun-20202.3 KiB8062

test_systemz.mlH A D25-Jun-20202.2 KiB8163

test_x86.mlH A D25-Jun-20203.4 KiB11996

test_xcore.mlH A D25-Jun-20202.1 KiB7962

x86.mlH A D25-Jun-2020726 4640

x86_const.mlH A D25-Jun-202046.4 KiB1,6871,667

xcore.mlH A D25-Jun-2020411 2720

xcore_const.mlH A D25-Jun-20204.4 KiB174163

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