config.mk revision 833823a065c63bc097362fbf5e735b5e78f0040f
1################################################################################ 2# Specify which archs you want to compile in. By default, we build all archs. 3# DO NOT touch the line below. 4CAPSTONE_ARCHS = 5 6# Comment out the line below if you don't want to support ARM 7CAPSTONE_ARCHS += arm 8 9# Comment out the line below if you don't want to support ARM64 10CAPSTONE_ARCHS += aarch64 11 12# Comment out the line below if you don't want to support Mips 13CAPSTONE_ARCHS += mips 14 15# Comment out the line below if you don't want to support PowerPC 16CAPSTONE_ARCHS += powerpc 17 18# Comment out the line below if you don't want to support Intel (16/32/64-bit) 19CAPSTONE_ARCHS += x86 20 21 22################################################################################ 23# Comment out the line below ('USE_SYS_DYN_MEM = yes'), or change it to 24# 'USE_SYS_DYN_MEM = no' if do NOT use malloc/calloc/realloc/free/vnsprintf() 25# provided by system for internal dynamic memory management. 26# 27# NOTE: in that case, specify your own malloc/calloc/realloc/free/vnsprintf() 28# functions in your program via API cs_option(), using CS_OPT_MEM option type. 29USE_SYS_DYN_MEM = yes 30 31 32################################################################################ 33# Change 'CAPSTONE_DIET = no' to 'CAPSTONE_DIET = yes' to make the library 34# more compact: use less memory & smaller in binary size. 35# This setup will remove the @mnemonic & @op_str data, plus semantic information 36# such as @regs_read/write & @group. The amount of reduced size in the binary 37# is up to 50% in some individual archs. 38# 39# NOTE: we still keep all those related fileds @mnemonic, @op_str, @regs_read, 40# @regs_write, @groups, etc in fields in cs_insn structure regardless, but they 41# will not be updated (i.e empty) at the output of related APIs. 42CAPSTONE_DIET = no 43