capstone/tests
Nguyen Anh Quynh b64d1cf193 refine the comments for Skipdata sample code 2014-04-10 23:05:28 +08:00
..
Makefile tests: add test_skipdata.c & do not test SKIPDATA in test.c anymore 2014-04-10 17:49:50 +08:00
README initial import 2013-11-27 12:11:31 +08:00
test.c tests: add test_skipdata.c & do not test SKIPDATA in test.c anymore 2014-04-10 17:49:50 +08:00
test_arm.c tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON 2014-04-10 00:02:04 +08:00
test_arm64.c tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON 2014-04-10 00:02:04 +08:00
test_detail.c tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON 2014-04-10 00:02:04 +08:00
test_mips.c tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON 2014-04-10 00:02:04 +08:00
test_ppc.c tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON 2014-04-10 00:02:04 +08:00
test_skipdata.c refine the comments for Skipdata sample code 2014-04-10 23:05:28 +08:00
test_sparc.c tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON 2014-04-10 00:02:04 +08:00
test_systemz.c systemz: add a missing operand for instructions involving PCRel 2014-04-10 18:14:08 +08:00
test_x86.c tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON 2014-04-10 00:02:04 +08: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.