mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-12-02 18:47:30 +00:00
1200ad4486
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words) Added a test for this in test_m68k.s * Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16) * m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list * update bindings to match changes to cs_insn and cs_detail |
||
---|---|---|
.. | ||
capstone | ||
.gitignore | ||
Makefile | ||
README | ||
run.sh | ||
TestArm64.java | ||
TestArm.java | ||
TestBasic.java | ||
TestM680x.java | ||
TestMips.java | ||
TestPpc.java | ||
TestSparc.java | ||
TestSystemz.java | ||
TestX86.java | ||
TestXcore.java |
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.