Files
capstone/bindings/java
Rot127 b2bf6327b5 Release 6.0.0-Alpha11 (#3079)
* Update changelog to 6.0.0-Alpha11

* Increment version to 6.0.0-Alpha11

* Update bindings
2026-09-21 16:06:22 +00:00
..
2026-09-21 16:06:22 +00:00
2013-11-26 22:28:41 -06:00
2019-04-10 14:17:08 +08:00
2018-07-13 15:52:19 +07:00

This has been tested with OpenJDK version 6 & 7 on Ubuntu-12.04 and Arch Linux-3.11, 64-bit.

  • OpenJDK is required to compile and run this test code. For example, install OpenJDK 6 with:

    $ sudo apt-get install openjdk-6-jre-headless openjdk-6-jdk

  • Java Native Access is required to run the code, you can install it with:

    $ sudo apt-get install libjna-java

  • To compile and run this Java test code:

    $ make
    $ ./run.sh
    

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

  • TestBasic.java 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.java These code show how to retrieve architecture-specific information for each architecture.