capstone/tests
2014-09-24 22:53:54 +08:00
..
Makefile Fix minor style inconsistency 2014-07-04 23:39:59 +02:00
README initial import 2013-11-27 12:11:31 +08:00
test_arm64.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test_arm.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test_detail.c mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings 2014-09-24 22:53:54 +08:00
test_mips.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test_ppc.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test_skipdata.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test_sparc.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test_systemz.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test_x86.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test_xcore.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
test.c Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00

This directory contains some test code to show how to use Capstone API.

- test.c
  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_detail.c:
  This code shows how to access to architecture-neutral information in disassembled
  instructions, such as implicit registers read/written, or groups of instructions
  that this instruction belong to.

- test_<arch>.c
  These code show how to access architecture-specific information for each
  architecture.