capstone/bindings/java
2013-12-14 11:39:33 +08:00
..
capstone bindings: support new 'detail' option for java & python 2013-12-14 11:39:33 +08:00
.gitignore initial commit for java binding 2013-11-26 22:28:41 -06:00
Makefile bindings: do not delete constant files when on clean target of Makefile 2013-12-03 15:01:15 +08: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 Update Java binding with cs_option 2013-12-05 19:33:38 -06:00
TestArm.java java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 2013-12-10 14:44:45 +08:00
TestArm64.java java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 2013-12-10 14:44:45 +08:00
TestMips.java java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 2013-12-10 14:44:45 +08:00
TestX86.java java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 2013-12-10 14:44:45 +08: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.