Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
arm.ml | 21-Aug-2018 | 982 | |
arm64.ml | 21-Aug-2018 | 832 | |
arm64_const.ml | 21-Aug-2018 | 28.8K | |
arm_const.ml | 21-Aug-2018 | 19.4K | |
capstone.ml | 21-Aug-2018 | 6K | |
Makefile | 21-Aug-2018 | 7.1K | |
mips.ml | 21-Aug-2018 | 410 | |
mips_const.ml | 21-Aug-2018 | 22.2K | |
ocaml.c | 21-Aug-2018 | 27.2K | |
ppc.ml | 21-Aug-2018 | 487 | |
ppc_const.ml | 21-Aug-2018 | 31.3K | |
README | 21-Aug-2018 | 801 | |
sparc.ml | 21-Aug-2018 | 420 | |
sparc_const.ml | 21-Aug-2018 | 12.3K | |
systemz.ml | 21-Aug-2018 | 437 | |
sysz_const.ml | 21-Aug-2018 | 20K | |
test_arm.ml | 21-Aug-2018 | 3.1K | |
test_arm64.ml | 21-Aug-2018 | 3K | |
test_basic.ml | 21-Aug-2018 | 3.6K | |
test_detail.ml | 21-Aug-2018 | 4.1K | |
test_mips.ml | 21-Aug-2018 | 2K | |
test_ppc.ml | 21-Aug-2018 | 2.2K | |
test_sparc.ml | 21-Aug-2018 | 2.3K | |
test_systemz.ml | 21-Aug-2018 | 2.2K | |
test_x86.ml | 21-Aug-2018 | 3.4K | |
test_xcore.ml | 21-Aug-2018 | 2.1K | |
x86.ml | 21-Aug-2018 | 726 | |
x86_const.ml | 21-Aug-2018 | 46.4K | |
xcore.ml | 21-Aug-2018 | 411 | |
xcore_const.ml | 21-Aug-2018 | 4.4K |
1 To compile Ocaml binding, Ocaml toolchain is needed. On Ubuntu Linux, 2 you can install Ocaml with: 3 4 $ sudo apt-get install ocaml-nox 5 6 To compile Ocaml binding, simply run "make" on the command line. 7 8 9 This 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