mirror of
https://github.com/open-goal/jak-project
synced 2026-09-11 20:41:41 -04:00
bfc4c18ada
- 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
13 lines
461 B
Markdown
Vendored
Generated
13 lines
461 B
Markdown
Vendored
Generated
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.
|