capstone/tests
2013-12-02 13:55:38 +08:00
..
Makefile now the clean target deletes all binaries from all targets 2013-11-29 12:56:13 +00:00
README initial import 2013-11-27 12:11:31 +08:00
test_arm64.c arm64: remove asprintf.c and use static buffer instead for SysRegMapper_toString(). this fixes the bug on MSR insn reported by Patroklos Argyroudis 2013-12-02 10:30:01 +08:00
test_arm.c arm: move static variable ITBlock to cs_struct, so make arm code truly thread-safe 2013-12-02 13:16:44 +08:00
test_detail.c semantics: add insn group JUMP, so now we can check if this insn is branching 2013-12-02 13:55:38 +08:00
test_mips.c tests: typecast size_t to uint64_t for printf, since MingW doesnt support zu specifier 2013-11-29 22:36:45 +08:00
test_x86.c tests: add some test insn (commented) 2013-12-01 09:01:52 +08:00
test.c tests: typecast size_t to uint64_t for printf, since MingW doesnt support zu specifier 2013-11-29 22:36:45 +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.