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.61k stars 1.56k forks source link

Add support for architecture registration #2252

Closed oleavr closed 10 months ago

oleavr commented 10 months ago

To support building a static Capstone with many supported architectures and only paying for the ones needed in each consumer. In this way they won't have to build multiple copies of Capstone to minimize footprint.

oleavr commented 10 months ago

@Rot127 Thanks for reviewing! The review feedback should now be addressed.

kabeor commented 10 months ago

Cool, merged.