capstone/tests
2014-06-03 23:43:53 +07:00
..
Makefile rename CCLD to LINK 2014-06-03 23:43:53 +07:00
README initial import 2013-11-27 12:11:31 +08:00
test_arm64.c fixed test_arm64.c for VS2012 2014-05-09 21:11:29 +01:00
test_arm.c fixed test_arm.c for VS2012 2014-05-09 21:08:40 +01:00
test_detail.c add XCore architecture 2014-05-26 23:02:48 +08:00
test_mips.c fixed test_mips.c for VS2012 2014-05-09 21:14:19 +01:00
test_ppc.c fixed test_ppc.c for VS2012 2014-05-09 21:17:02 +01:00
test_skipdata.c tests: correct the prototype of mycallback() in test_skipdata 2014-05-20 10:30:33 +08:00
test_sparc.c fixed test_detail.c for VS2012 2014-05-09 21:28:07 +01:00
test_systemz.c fixed test_detail.c for VS2012 2014-05-09 21:28:07 +01:00
test_x86.c test_x86: output sib_base, sib_index, sib_scale separately 2014-05-17 13:12:29 +08:00
test_xcore.c add XCore architecture 2014-05-26 23:02:48 +08:00
test.c add XCore architecture 2014-05-26 23:02:48 +08: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.