capstone/config.mk

42 lines
1.7 KiB
Makefile
Raw Normal View History

################################################################################
# Specify which archs you want to compile in.
2014-01-13 03:18:45 +00:00
# DO NOT touch the line below.
CAPSTONE_ARCHS =
2013-12-21 16:49:16 +00:00
2014-01-13 03:18:45 +00:00
# Comment out the line below if you don't want to support ARM
2013-12-22 10:49:22 +00:00
CAPSTONE_ARCHS += arm
2014-01-13 03:18:45 +00:00
# Comment out the line below if you don't want to support ARM64
2013-12-22 10:49:22 +00:00
CAPSTONE_ARCHS += aarch64
2014-01-13 03:18:45 +00:00
# Comment out the line below if you don't want to support Mips
2013-12-22 10:49:22 +00:00
CAPSTONE_ARCHS += mips
2014-01-13 03:18:45 +00:00
# Comment out the line below if you don't want to support PowerPC
2013-12-28 06:12:54 +00:00
CAPSTONE_ARCHS += powerpc
# Comment out the line below if you don't want to support Intel (16/32/64-bit)
CAPSTONE_ARCHS += x86
################################################################################
# Comment out the line below ('USE_SYS_DYN_MEM = yes') if you do not want to use
# system's malloc()/calloc()/realloc()/free() for internal dynamic memory management.
#
# NOTE: in that case, your program must specify your own malloc/calloc/realloc/free
# functions via API cs_option(), using CS_OPT_MEM option type.
USE_SYS_DYN_MEM = yes
################################################################################
# Change 'CAPSTONE_DIET = no' to 'CAPSTONE_DIET = yes' to make the library
# more compact: use less memory & smaller in binary size.
# This setup will remove the mnemonic & op_str data, plus semantic information
# such as regs_read/write & group. The amount of reduced size in the binary
2014-02-24 04:25:16 +00:00
# is up to 50% in some cases.
#
# NOTE: we still keep all those related fileds @mnemonic, @op_str, @regs_read,
# @regs_write, @groups in fields in cs_insn structure regardless, but they
# will not be updated (i.e empty) at the output of disassemble APIs.
CAPSTONE_DIET = no