Home | History | Annotate | only in /external/capstone/tests
Up to higher level directory
NameDateSize
Makefile21-Aug-20182.7K
README21-Aug-2018994
test_arm.c21-Aug-20189.3K
test_arm64.c21-Aug-20187.9K
test_basic.c21-Aug-20187.8K
test_detail.c21-Aug-20188.4K
test_iter.c21-Aug-20187.3K
test_mips.c21-Aug-20184K
test_ppc.c21-Aug-20184K
test_skipdata.c21-Aug-20184.2K
test_sparc.c21-Aug-20183.6K
test_systemz.c21-Aug-20183.4K
test_winkernel.cpp21-Aug-20184.4K
test_x86.c21-Aug-20187K
test_xcore.c21-Aug-20183.2K

README

      1 This directory contains some test code to show how to use Capstone API.
      2 
      3 - test.c
      4   This code shows the most simple form of API where we only want to get basic
      5   information out of disassembled instruction, such as address, mnemonic and
      6   operand string.
      7 
      8 - test_detail.c:
      9   This code shows how to access to architecture-neutral information in disassembled
     10   instructions, such as implicit registers read/written, or groups of instructions
     11   that this instruction belong to.
     12 
     13 - test_skipdata.c:
     14   This code shows how to use SKIPDATA option to skip broken instructions (most likely
     15   some data mixed with instructions) and continue to decode at the next legitimate
     16   instructions.
     17 
     18 - test_iter.c:
     19   This code shows how to use the API cs_disasm_iter() to decode one instruction at
     20   a time inside a loop.
     21 
     22 - test_<arch>.c
     23   These code show how to access architecture-specific information for each
     24   architecture.
     25 
     26 - test_winkernel.cpp
     27   This code shows how to use Capstone from a Windows driver.
     28