Capstone disassembly/disassembler framework: Core (Arm, Arm64, BPF, EVM, M68K, M680X, MOS65xx, Mips, PPC, RISCV, Sparc, SystemZ, TMS320C64x, Web Assembly, X86, X86_64, XCore) + bindings. (bloaty 依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Nguyen Anh Quynh 7957ed1def arm64: add some alias registers. attn: bindings 11 years ago
..
capstone arm64: add some alias registers. attn: bindings 11 years ago
.gitignore initial commit for java binding 11 years ago
Makefile bindings: do not delete constant files when on clean target of Makefile 11 years ago
README java: update README 11 years ago
Test.java Update Java binding with cs_option 11 years ago
TestArm.java java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 11 years ago
TestArm64.java java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 11 years ago
TestMips.java java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 11 years ago
TestX86.java java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 11 years ago
run.sh More verbose Java binding Makefile 11 years ago

README

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.