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
|
11 years ago | |
---|---|---|
.. | ||
capstone | 11 years ago | |
.gitignore | 11 years ago | |
Makefile | 11 years ago | |
README | 11 years ago | |
Test.java | 11 years ago | |
TestArm.java | 11 years ago | |
TestArm64.java | 11 years ago | |
TestMips.java | 11 years ago | |
TestX86.java | 11 years ago | |
run.sh | 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.