Files
Tyler Wilding bfc4c18ada goalc: replicate tests for the majority of ARM64 non-simd cases (#4377)
- Adds `capstone` as a disassembling library that could eventually
replace Zydis (for now left that alone)
- Replicates all of the existing x86 tests to ARM64, fixed a bunch of
underlying issues along the way
- There are a very small handful of tests remaining that need to be
enabled / fixed
2026-08-16 15:34:37 -04:00
..

To compile Ocaml binding, Ocaml toolchain is needed. On Ubuntu Linux, you can install Ocaml with:

$ sudo apt-get install ocaml-nox

To compile Ocaml binding, simply run "make" on the command line.

This directory also contains some test code to show how to use Capstone API.

  • test_basic.ml This code shows the most simple form of API where we only want to get basic information out of disassembled instruction, such as address, mnemonic and operand string.

  • test_detail.ml: This code shows how to access to architecture-neutral information in disassembled instructions, such as implicit registers read/written, or groups of instructions that this instruction belong to.

  • test_.ml These code show how to access architecture-specific information for each architecture.