I play a bit today with this disasm library with BSD license and I should notethatit is nowvirtually unusable
- size of libcapstone.so is 6.5Mb and even if you remove arch/Mips, arch/AArch64 and arch/ARM from Makefile size of libcapstone.so is still 3.5Mb. Just to compare - size of libudis86.a on the same machine is only 452Kb
- with udis86 you can easy remove tables with mnemonics (for example they are useless in code analyzers) but this is hard to do with capstone - every arch/mapping.c file contains mix of register names, mnemonic tabs and insn_map structures
- X86GenDisassemblerTables.inc has size 37Mb ! Authors claim"That is the price to pay for good performance". Perhaps, but 37Mb - it's too much IMHO
- It seems also that it is very hard to build a library that will fill cs_x86 structure and does not contain references to xprintf or other CRT functions (for example if you plan to use this library in kernel mode driver)