more comment updated in config.mk regarding the 'diet' mode

This commit is contained in:
Nguyen Anh Quynh 2014-02-23 00:19:39 +08:00
parent 9ff0990470
commit a1b740f5a2

View File

@ -1,10 +1,12 @@
################################################################################
# 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 all the mnemonic & op_str data, thus reduces the binary
# size by around 40%.
# NOTE: we still keep @mnemonic & @op_str fields in cs_insn structure regardless,
# but they will not be updated (i.e blank) at the output of disassemble APIs.
# 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