Files
jak-project/third-party/capstone/tests/integration
Tyler Wilding bfc4c18ada goalc: replicate tests for the majority of ARM64 non-simd cases (#4377)
- Adds `capstone` as a disassembling library that could eventually
replace Zydis (for now left that alone)
- Replicates all of the existing x86 tests to ARM64, fixed a bunch of
underlying issues along the way
- There are a very small handful of tests remaining that need to be
enabled / fixed
2026-08-16 15:34:37 -04: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.