capstone-engine / capstone

Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
http://www.capstone-engine.org
7.62k stars 1.56k forks source link

restore sample code for C & Python #2535

Open aquynh opened 3 weeks ago

aquynh commented 3 weeks ago

Feature

The v4 has sample code, at least for C & Python, in test_xxx.c & test_xxx.py. These code serve as example code on how to use Capstone.

We should restore them, perhaps in samples/ directories.

XVilka commented 2 weeks ago

"examples/" would be a better name, I think