capstone/bindings/java
2015-03-12 17:03:33 +08:00
..
capstone bindings: support QPX mode & QPX alias instructions 2015-03-12 17:03:33 +08:00
.gitignore initial commit for java binding 2013-11-26 22:28:41 -06:00
Makefile java: add 'check' target to Makefile 2014-10-01 17:13:58 +08:00
README java: OpenJDK 7 is also supported 2014-01-07 10:58:11 +08:00
run.sh java: add 'check' target to Makefile 2014-10-01 17:13:58 +08:00
Test.java java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME 2014-11-19 10:58:31 +08:00
TestArm.java java & ocaml: update these bindings following the addition of lshift field to arm_op_mem of Arm engine 2015-01-12 16:01:26 +08:00
TestArm64.java java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME 2014-11-19 10:58:31 +08:00
TestMips.java java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME 2014-11-19 10:58:31 +08:00
TestPpc.java java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME 2014-11-19 10:58:31 +08:00
TestSparc.java java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME 2014-11-19 10:58:31 +08:00
TestSystemz.java java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME 2014-11-19 10:58:31 +08:00
TestX86.java bindings: support newly added field @xop_cc in the last commit (Java, Ocaml, Python) 2015-03-07 13:46:21 +08:00
TestXcore.java java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME 2014-11-19 10:58:31 +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 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.