Wu ChenXu 8ac2843b9b
Some checks failed
Run Test / ubuntu-22.04 x64 cmake (push) Has been cancelled
Run Test / ubuntu-24.04 x64 ASAN (push) Has been cancelled
Run Test / ubuntu-22.04 x64 make (push) Has been cancelled
Run Test / windows x64 MSVC 64bit (push) Has been cancelled
Auto-Sync / check (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on windows-latest - AMD64 - cp38* cp313* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on windows-latest - ARM64 - cp39* cp313* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on macos-latest - arm64 - cp38* cp313* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on macos-latest - universal2 - cp38* cp313* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on macos-13 - x86_64 - cp38* cp313* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp38-manylinux* cp313-manylinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp38-musllinux* cp313-musllinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on windows-latest - AMD64 - cp* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on windows-latest - ARM64 - cp* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on macos-latest - arm64 - cp* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on macos-latest - universal2 - cp* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on macos-13 - x86_64 - cp* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp310-manylinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp310-musllinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp311-manylinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp311-musllinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp312-manylinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp312-musllinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp39-manylinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Building on ubuntu-latest - x86_64 - cp39-musllinux* (push) Has been cancelled
Build and publish wheels with cibuildwheel / Make SDist (push) Has been cancelled
Run clang-tidy / clang-tidy (push) Has been cancelled
Build and publish wheels with cibuildwheel / publish (push) Has been cancelled
chore(version): Update Version to 6.0.0-Alpha3 (#2616)
* chore(version): Update Version to 6.0.0-RC1

* chore(version): change version name to 6.0.0-alpha3
2025-01-29 00:59:30 +08:00
..
2019-04-10 14:17:08 +08:00
2024-04-30 10:37:53 +08:00
2024-09-07 22:30:47 +08:00
2024-09-30 22:48:08 +08:00
2014-10-04 16:30:02 +08:00
2014-10-04 16:30:02 +08:00
2014-10-04 16:30:02 +08:00
2014-10-04 16:30:02 +08:00
2024-09-30 22:48:08 +08: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_<arch>.ml
  These code show how to access architecture-specific information for each
  architecture.