• Home
Name Date Size #Lines LOC

..--

capstone/03-May-2024-12,05411,591

.gitignoreD03-May-202413 32

MakefileD03-May-20241.7 KiB7255

READMED03-May-2024830 2918

TestArm.javaD03-May-20245.8 KiB143113

TestArm64.javaD03-May-20244.8 KiB12797

TestBasic.javaD03-May-20248.6 KiB179163

TestM680x.javaD03-May-20248.6 KiB208172

TestMips.javaD03-May-20243.2 KiB9268

TestPpc.javaD03-May-20243.1 KiB9770

TestSparc.javaD03-May-20243.5 KiB9872

TestSystemz.javaD03-May-20243.4 KiB9772

TestX86.javaD03-May-20248.1 KiB228169

TestXcore.javaD03-May-20243.2 KiB9068

run.shD03-May-2024850 2723

README

1This has been tested with OpenJDK version 6 & 7 on Ubuntu-12.04 and
2Arch Linux-3.11, 64-bit.
3
4- OpenJDK is required to compile and run this test code.
5  For example, install OpenJDK 6 with:
6
7       $ sudo apt-get install openjdk-6-jre-headless openjdk-6-jdk
8
9- Java Native Access is required to run the code, you can install it with:
10
11       $ sudo apt-get install libjna-java
12
13- To compile and run this Java test code:
14
15       $ make
16       $ ./run.sh
17
18
19This directory contains some test code to show how to use Capstone API.
20
21- TestBasic.java
22  This code shows the most simple form of API where we only want to get basic
23  information out of disassembled instruction, such as address, mnemonic and
24  operand string.
25
26- Test<arch>.java
27  These code show how to retrieve architecture-specific information for each
28  architecture.
29