capstone/bindings/java
danghvu ef92cdb918 Update java binding to v3 2014-09-27 17:53:49 -05:00
..
capstone Update java binding to v3 2014-09-27 17:53:49 -05:00
.gitignore initial commit for java binding 2013-11-26 22:28:41 -06:00
Makefile Fix java binding tests 2014-09-27 16:09:44 -05:00
README java: OpenJDK 7 is also supported 2014-01-07 10:58:11 +08:00
Test.java Fix java binding tests 2014-09-27 16:09:44 -05:00
TestArm.java Update java binding to v3 2014-09-27 17:53:49 -05:00
TestArm64.java Update java binding to v3 2014-09-27 17:53:49 -05:00
TestMips.java java: update following the change to detail mode in the core 2014-01-07 23:47:18 +08:00
TestPpc.java Update java binding to v3 2014-09-27 17:53:49 -05:00
TestSparc.java Fix broken java binding 2014-05-14 02:37:08 -05:00
TestSystemz.java Fix broken java binding 2014-05-14 02:37:08 -05:00
TestX86.java Fix java binding tests 2014-09-27 16:09:44 -05:00
TestXcore.java Fix java binding tests 2014-09-27 16:09:44 -05:00
run.sh Fix java binding tests 2014-09-27 16:09:44 -05:00

README

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 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.