Skip to content

Commit

Permalink
config.mk: move more popular options to the top, less to the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Feb 22, 2014
1 parent a1b740f commit 7e5a6b5
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions config.mk
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
################################################################################
# Change 'CAPSTONE_DIET = no' to 'CAPSTONE_DIET = yes' to make the library
# more compact: use less memory, and smaller in 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
# is around 40%.
# 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


################################################################################
# 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 with cs_option(), using CS_OPT_MEM option type.
USE_SYS_DYN_MEM = yes


################################################################################
# Specify which archs you want to compile in
# Specify which archs you want to compile in.
# DO NOT touch the line below.
CAPSTONE_ARCHS =

Expand All @@ -35,5 +15,27 @@ CAPSTONE_ARCHS += mips
# Comment out the line below if you don't want to support PowerPC
CAPSTONE_ARCHS += powerpc

# Comment out the line below if you don't want to support Intel
# 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
# is around 40%.
#
# 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

0 comments on commit 7e5a6b5

Please sign in to comment.