Name Date Size #Lines LOC

..--

MakefileH A D25-Apr-20257.9 KiB300202

READMEH A D25-Apr-2025801 2416

arm.mlH A D25-Apr-20251 KiB5647

arm64.mlH A D25-Apr-2025832 4740

arm64_const.mlH A D25-Apr-202528.3 KiB1,007990

arm_const.mlH A D25-Apr-202520.1 KiB776763

capstone.mlH A D25-Apr-20257.2 KiB215183

evm_const.mlH A D25-Apr-20254 KiB152149

m680x.mlH A D25-Apr-2025830 4939

m680x_const.mlH A D25-Apr-202511 KiB416410

m68k_const.mlH A D25-Apr-202513 KiB486476

mips.mlH A D25-Apr-2025410 2519

mips_const.mlH A D25-Apr-202523.1 KiB862855

ocaml.cH A D25-Apr-202532.2 KiB1,106960

ppc.mlH A D25-Apr-2025487 3527

ppc_const.mlH A D25-Apr-202537 KiB1,3661,359

sparc.mlH A D25-Apr-2025420 2821

sparc_const.mlH A D25-Apr-202511.9 KiB430423

systemz.mlH A D25-Apr-2025437 2822

sysz_const.mlH A D25-Apr-202569.7 KiB2,5242,518

test_arm.mlH A D25-Apr-20253.2 KiB10684

test_arm64.mlH A D25-Apr-20253 KiB10280

test_basic.mlH A D25-Apr-20253.6 KiB6859

test_detail.mlH A D25-Apr-20254.1 KiB8874

test_m680x.mlH A D25-Apr-20256.9 KiB168147

test_mips.mlH A D25-Apr-20252 KiB7660

test_ppc.mlH A D25-Apr-20252.2 KiB8266

test_sparc.mlH A D25-Apr-20252.3 KiB8062

test_systemz.mlH A D25-Apr-20252.2 KiB8163

test_x86.mlH A D25-Apr-20253.4 KiB11895

test_xcore.mlH A D25-Apr-20252.1 KiB7962

tms320c64x_const.mlH A D25-Apr-20258.6 KiB278269

x86.mlH A D25-Apr-2025746 4842

x86_const.mlH A D25-Apr-202555.9 KiB1,9631,953

xcore.mlH A D25-Apr-2025411 2720

xcore_const.mlH A D25-Apr-20254.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