Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
arm.ml | 22-Oct-2020 | 982 | |
arm64.ml | 22-Oct-2020 | 832 | |
arm64_const.ml | 22-Oct-2020 | 28.8K | |
arm_const.ml | 22-Oct-2020 | 19.4K | |
capstone.ml | 22-Oct-2020 | 6K | |
Makefile | 22-Oct-2020 | 7.1K | |
mips.ml | 22-Oct-2020 | 410 | |
mips_const.ml | 22-Oct-2020 | 22.2K | |
ocaml.c | 22-Oct-2020 | 27.2K | |
ppc.ml | 22-Oct-2020 | 487 | |
ppc_const.ml | 22-Oct-2020 | 31.3K | |
README | 22-Oct-2020 | 801 | |
sparc.ml | 22-Oct-2020 | 420 | |
sparc_const.ml | 22-Oct-2020 | 12.3K | |
systemz.ml | 22-Oct-2020 | 437 | |
sysz_const.ml | 22-Oct-2020 | 20K | |
test_arm.ml | 22-Oct-2020 | 3.1K | |
test_arm64.ml | 22-Oct-2020 | 3K | |
test_basic.ml | 22-Oct-2020 | 3.6K | |
test_detail.ml | 22-Oct-2020 | 4.1K | |
test_mips.ml | 22-Oct-2020 | 2K | |
test_ppc.ml | 22-Oct-2020 | 2.2K | |
test_sparc.ml | 22-Oct-2020 | 2.3K | |
test_systemz.ml | 22-Oct-2020 | 2.2K | |
test_x86.ml | 22-Oct-2020 | 3.4K | |
test_xcore.ml | 22-Oct-2020 | 2.1K | |
x86.ml | 22-Oct-2020 | 726 | |
x86_const.ml | 22-Oct-2020 | 46.4K | |
xcore.ml | 22-Oct-2020 | 411 | |
xcore_const.ml | 22-Oct-2020 | 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