capstone/bindings/java
2016-05-10 23:28:18 +08:00
..
capstone + add Test.java, this file lost after transfer to Maven. 2016-05-10 23:28:18 +08:00
.gitignore initial commit for java binding 2013-11-26 22:28:41 -06:00
build-jar.sh Provide scripts for running of tests and building of JAR 2016-04-03 13:12:47 +02:00
jna.jar + change makefile for Maven construct package 2016-05-09 18:57:20 +08:00
Makefile + change makefile for Maven construct package 2016-05-09 18:57:20 +08:00
README Update README for Java Bindings 2015-04-30 09:23:32 +02:00
run-tests.sh Provide scripts for running of tests and building of JAR 2016-04-03 13:12:47 +02:00
run.sh java: add 'check' target to Makefile 2014-10-01 17:13:58 +08: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.

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