historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/capstone/bindings/java
2024-01-16 11:20:27 -06:00
..
capstone phht hahahahaah 2024-01-16 11:20:27 -06:00
.gitignore phht hahahahaah 2024-01-16 11:20:27 -06:00
Makefile phht hahahahaah 2024-01-16 11:20:27 -06:00
README phht hahahahaah 2024-01-16 11:20:27 -06:00
run.sh phht hahahahaah 2024-01-16 11:20:27 -06:00
Test.java phht hahahahaah 2024-01-16 11:20:27 -06:00
TestArm.java phht hahahahaah 2024-01-16 11:20:27 -06:00
TestArm64.java phht hahahahaah 2024-01-16 11:20:27 -06:00
TestMips.java phht hahahahaah 2024-01-16 11:20:27 -06:00
TestPpc.java phht hahahahaah 2024-01-16 11:20:27 -06:00
TestSparc.java phht hahahahaah 2024-01-16 11:20:27 -06:00
TestSystemz.java phht hahahahaah 2024-01-16 11:20:27 -06:00
TestX86.java phht hahahahaah 2024-01-16 11:20:27 -06:00
TestXcore.java phht hahahahaah 2024-01-16 11:20:27 -06: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.