Kaizen/external/capstone/tests/integration
2025-01-07 15:08:55 +00:00
..
compat_header Merge commit '3621a6c08002c6b3e5b6f91bb0e20d8372613160' into dev 2025-01-07 15:08:55 +00:00
CMakeLists.txt Merge commit '3621a6c08002c6b3e5b6f91bb0e20d8372613160' into dev 2025-01-07 15:08:55 +00:00
README.md Merge commit '352a52804df5b9f475d19d3fa8f567c1bf98b8ac' as 'external/capstone' 2024-09-23 19:06:48 +02:00
test_customized_mnem.c Merge commit '352a52804df5b9f475d19d3fa8f567c1bf98b8ac' as 'external/capstone' 2024-09-23 19:06:48 +02:00
test_iter.c Merge commit '352a52804df5b9f475d19d3fa8f567c1bf98b8ac' as 'external/capstone' 2024-09-23 19:06:48 +02:00
test_litbase.c Merge commit '3621a6c08002c6b3e5b6f91bb0e20d8372613160' into dev 2025-01-07 15:08:55 +00:00
test_skipdata.c Merge commit '352a52804df5b9f475d19d3fa8f567c1bf98b8ac' as 'external/capstone' 2024-09-23 19:06:48 +02:00
test_winkernel.cpp Merge commit '352a52804df5b9f475d19d3fa8f567c1bf98b8ac' as 'external/capstone' 2024-09-23 19:06:48 +02:00

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.