1
0
Fork 0
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.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
capstone Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
.gitignore Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Makefile Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestArm.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestArm64.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestBasic.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestM680x.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestMips.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestPpc.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestSparc.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestSystemz.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestX86.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestXcore.java Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
run.sh Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README

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.

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