capstone/tests
Nguyen Anh Quynh b07523ff26 Merge branch 'next' into msvc2 2014-05-10 19:46:37 +08:00
..
Makefile do not overwrite LDFLAGS in tests/Makefile 2014-05-10 15:50:38 +08:00
README initial import 2013-11-27 12:11:31 +08:00
test.c indentation with tab 2014-05-09 07:33:35 +08:00
test_arm.c fixed test_arm.c for VS2012 2014-05-09 21:08:40 +01:00
test_arm64.c fixed test_arm64.c for VS2012 2014-05-09 21:11:29 +01:00
test_detail.c fixed test_detail.c for VS2012 2014-05-09 21:28:07 +01: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 fixed test_skipdata.c for VS2012 2014-05-09 21:32:41 +01: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.c now works on VS2012 2014-05-09 21:03:29 +01:00

README

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.