mirror of
https://github.com/siemens-mobile-hacks/capstone.git
synced 2026-11-25 22:27:31 +00:00
| .. | ||
| compat_header | ||
| CMakeLists.txt | ||
| README.md | ||
| test_assert_macros.c | ||
| test_customized_mnem.c | ||
| test_iter.c | ||
| test_litbase.c | ||
| test_poc.c | ||
| test_skipdata.c | ||
| test_winkernel.cpp | ||
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.