tree: 2ab4180c8f5a9680ede17529d1b61d8803767735 [path history] [tgz]
  1. compat_header/
  2. CMakeLists.txt
  3. README.md
  4. test_assert_macros.c
  5. test_customized_mnem.c
  6. test_iter.c
  7. test_litbase.c
  8. test_poc.c
  9. test_skipdata.c
  10. test_winkernel.cpp
tests/integration/README.md

This directory contains some test code to show how to use Capstone API.

  • test_iter.c: This code shows how to use the API cs_disasm_iter() to decode one instruction at a time inside a loop.

  • test_customized_mnem.c: This code shows how to use MNEMONIC option to customize instruction mnemonic at run-time, and then how to reset the engine to use the default mnemonic.

  • test_winkernel.cpp This code shows how to use Capstone from a Windows driver.