Commit Graph

724 Commits

Author SHA1 Message Date
Nguyen Anh Quynh a5818fc4f3 Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-02-23 13:44:15 +08:00
Nguyen Anh Quynh a0a8a003d3 python: add getter for 'diet' & add support() API to Cs class 2014-02-23 13:43:51 +08:00
Nguyen Anh Quynh 5ca85ab8a0 python: argument of cs_support() is query, not arch 2014-02-23 13:36:33 +08:00
Nguyen Anh Quynh 9c715aa034 java: fix indentation 2014-02-23 13:09:38 +08:00
Nguyen Anh Quynh bf723fa424 java: fix NULL pointr exception introduced by last commit. suggested by Dang Hoang Vu 2014-02-23 13:05:16 +08:00
Nguyen Anh Quynh a25a7ad231 java: verify against core's version before doing anything 2014-02-23 12:04:37 +08:00
Nguyen Anh Quynh a6d0d7a688 cython: verify against core's version before doing anything 2014-02-23 11:36:06 +08:00
Nguyen Anh Quynh 7e5a6b5828 config.mk: move more popular options to the top, less to the bottom 2014-02-23 00:47:38 +08:00
Nguyen Anh Quynh a1b740f5a2 more comment updated in config.mk regarding the 'diet' mode 2014-02-23 00:19:39 +08:00
Nguyen Anh Quynh 9ff0990470 fix comments in config.mk regarding the 'diet' mode 2014-02-23 00:15:50 +08:00
Nguyen Anh Quynh c70adc30e8 clarify some comments regarding 'diet' mode in capstone.h 2014-02-23 00:03:46 +08:00
Nguyen Anh Quynh 0a8cbbe627 java: support 'diet' mode 2014-02-22 23:48:32 +08:00
Nguyen Anh Quynh 972bb5b6fc python: support 'diet' mode 2014-02-22 23:44:44 +08:00
Nguyen Anh Quynh b2870e4c4c API: extend cs_support() to allow query on diet mode. add CS_SUPPORT_DIET at the same time 2014-02-22 23:41:16 +08:00
Nguyen Anh Quynh fc83a439e5 add diet compile option (CAPSTONE_DIET option in config.mk). This reduces binary size by around 40% 2014-02-22 23:26:27 +08:00
Nguyen Anh Quynh 491469155e tests: continue to next tests rather than quit when failing to initialize a test 2014-02-22 16:54:44 +08:00
Nguyen Anh Quynh 1181a851b9 x86: fix a double-free bug for ATT syntax 2014-02-22 11:58:56 +08:00
Nguyen Anh Quynh 0b6daad5ad x86: avoid duplicating slot 0 of Opcode tables with emptyTable 2014-02-22 09:31:52 +08:00
Nguyen Anh Quynh f6060b8f70 x86: compress Opcode tables to make data size 3 times smaller. this is without performance sacrifice by using some extra index tables 2014-02-22 04:57:38 +08:00
Nguyen Anh Quynh dc0d04522f package: homebrew should install libraries in 'lib/', but not 'lib64/' 2014-02-21 22:43:30 +08:00
Nguyen Anh Quynh f86b21e318 python: update README for test_lite.py 2014-02-21 18:10:18 +08:00
Nguyen Anh Quynh 5d0428ebfc python: add test_lite.py to demonstrate new APIs: cs_disasm_lite() & Cs.disasm_lite() 2014-02-21 18:06:04 +08:00
Nguyen Anh Quynh b38a1bf320 python: add quick/dirty function cs_disasm_lite() that only returns tuples rather than CsInsn objects 2014-02-21 10:08:17 +08:00
Nguyen Anh Quynh 5288c2eee5 python: add comments for disasm() & disasm_lite() 2014-02-21 09:59:02 +08:00
Nguyen Anh Quynh b24692cfcc x86: add some debug code to find out size of some Opcode tables 2014-02-20 23:41:17 +08:00
Nguyen Anh Quynh 1ad3723214 suite: remove some irrelevant comments in benchmark.py 2014-02-20 23:39:27 +08:00
Nguyen Anh Quynh 39e69926b2 a a newline to LICENSE.TXT 2014-02-20 17:08:28 +08:00
Nguyen Anh Quynh e7c5695807 java: fix memleak in disasm() 2014-02-20 14:49:31 +08:00
Nguyen Anh Quynh 0154762513 cython: bump package version to 2.1 2014-02-20 14:25:00 +08:00
Nguyen Anh Quynh 22f1c17860 python: fix memleak error in Cython's disasm() & disasm_lite() 2014-02-20 14:23:40 +08:00
Nguyen Anh Quynh abb48c7a5b python: fix identation by removing tabs 2014-02-20 13:40:59 +08:00
Nguyen Anh Quynh 43cce296d5 python: implement disasm_lite() for Cython 2014-02-20 12:41:12 +08:00
Nguyen Anh Quynh 071a7fbaba python: bump python package version to 2.1 2014-02-20 12:22:53 +08:00
Nguyen Anh Quynh d53c1651a0 python: implement disasm_lite() method which only return tuples of some critical info. this improves performance by 15% 2014-02-20 12:10:52 +08:00
Enzo Matsumiya 6bc08a850a Fix the X86_REL_ADDR macro in x86.h 2014-02-19 22:07:36 +08:00
Nguyen Anh Quynh d8d574b0c8 Merge pull request #75 from enzolovesbacon/fix_X86_REL_ADDR_macro
Fix the X86_REL_ADDR macro in x86.h
2014-02-19 22:06:53 +08:00
Enzo Matsumiya cbde4c4a2f Fix the X86_REL_ADDR macro in x86.h 2014-02-19 10:54:21 -03:00
Nguyen Anh Quynh b33ebc46b0 bump package version to 2.1 2014-02-19 21:47:23 +08:00
Nguyen Anh Quynh 046902a990 python & java: update constants following last change to PPC arch 2014-02-19 17:02:44 +08:00
Nguyen Anh Quynh 8b915ed765 ppc: update core 2014-02-19 17:01:44 +08:00
Nguyen Anh Quynh 43a9a9d36f bump API version from 2.0 to 2.1 for core + Python & Java bindings 2014-02-19 15:18:44 +08:00
Nguyen Anh Quynh 748e4f8f1d python & java: update following last update to Mips core 2014-02-19 15:13:51 +08:00
Nguyen Anh Quynh bc0b3b92fd mips: update core 2014-02-19 15:13:20 +08:00
Nguyen Anh Quynh 6b804dacb1 arm: update core 2014-02-19 12:52:50 +08:00
Nguyen Anh Quynh 321163bf34 suite: turn off detail for benchmark.py 2014-02-19 10:51:10 +08:00
Nguyen Anh Quynh 27b9a96fd0 x86: make printAliasInstr() return string, not id 2014-02-19 10:13:47 +08:00
Nguyen Anh Quynh 7f6db24a8f remove now redundant insn_reverse_id() after alias handling simplifications 2014-02-18 17:58:47 +08:00
Nguyen Anh Quynh 74c41ebb1d mips: simplify handling alias insn 2014-02-18 17:57:06 +08:00
Nguyen Anh Quynh 4f93d9c9dc arm64: simplify handling alias instruction (printAliasInstr) 2014-02-18 17:00:18 +08:00
Nguyen Anh Quynh 85cddef303 x86: optimize handling special instructions with accumulate registers 2014-02-18 11:59:36 +08:00