• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

MakefileH A D25-Jun-20202.7 KiB144113

READMEH A D25-Jun-2020994 2821

test_arm.cH A D25-Jun-20209.3 KiB304202

test_arm64.cH A D25-Jun-20207.9 KiB246151

test_basic.cH A D25-Jun-20207.8 KiB296265

test_detail.cH A D25-Jun-20208.4 KiB302256

test_iter.cH A D25-Jun-20207.3 KiB265218

test_mips.cH A D25-Jun-20204 KiB167128

test_ppc.cH A D25-Jun-20204 KiB178143

test_skipdata.cH A D25-Jun-20204.2 KiB172139

test_sparc.cH A D25-Jun-20203.6 KiB152118

test_systemz.cH A D25-Jun-20203.4 KiB145113

test_winkernel.cppH A D25-Jun-20204.4 KiB161107

test_x86.cH A D25-Jun-20207 KiB252178

test_xcore.cH A D25-Jun-20203.2 KiB140108

README

1This 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