capstone/bindings/java
2013-12-03 11:27:58 +08:00
..
capstone bindings: correct autogen constant files to reflect the change on arm64.h 2013-12-03 09:45:02 +08:00
.gitignore initial commit for java binding 2013-11-26 22:28:41 -06:00
Makefile Modify java binding to use the auto-generated files 2013-12-01 14:10:28 -06:00
README java: update README 2013-12-02 20:25:54 +08:00
run.sh More verbose Java binding Makefile 2013-11-28 00:36:19 -06:00
Test.java java: clean up Test.java 2013-12-03 11:27:58 +08:00
TestArm.java Modify java binding to use the auto-generated files 2013-12-01 14:10:28 -06:00
TestArm64.java Modify java binding to use the auto-generated files 2013-12-01 14:10:28 -06:00
TestMips.java Modify java binding to use the auto-generated files 2013-12-01 14:10:28 -06:00
TestX86.java Modify java binding to use the auto-generated files 2013-12-01 14:10:28 -06:00

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

- OpenJDK is required to compile and run this test code. Install OpenJDK 6 with:

       $ sudo apt-get install openjdk-6-jre-headless openjdk-6-jdk 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.

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