- 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
This directory contains some tools used by developers of Capstone project. Average users should ignore all the contents here.
MC/
Input files for the fuzzer. Generated from <repo-root>/tests/MC/.
auto-sync/
Capstone's updater for the architecture modules.
cstest/
Capstone's regression tests tool.
Consumes test files in <repo-root>/tests/
fuzz/
The fuzzer implementation. Runs on OSFuzz.
run_clang_format.sh
Helper script to run clang format on the code and check for issues.
run_clang_tidy.sh
Helper script to run clang tidy on the code and check for issues.
run_invalid_cstool.sh
Test script to check if cstool fails as expected for invalid input.
run_tests.py
Script to run all Python tests.
test_corpus3.py
Helper script for fuzzing.
fuzz.py
This simple script disassembles random code for all archs (or selected arch) in order to find segfaults.