Commit Graph

421 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
cf89cf60db cosmetic fix for capstone.h 2014-01-06 09:08:35 +08:00
Nguyen Anh Quynh
c52352d6d9 add new error code CS_ERR_MEMSETUP to report error when user-defined dynamic mem management is uninitialized 2014-01-06 09:06:30 +08:00
Nguyen Anh Quynh
1044c3e912 java: indentation fix 2014-01-06 00:06:25 +08:00
Nguyen Anh Quynh
57aa8eca05 change argument type of cs_support() API from cs_arch to int. this is to give us more flexibility to use this API to check other stuffs in future 2014-01-06 00:03:29 +08:00
Nguyen Anh Quynh
a60ed8b044 more instructions on CS_OPT_MEM 2014-01-05 23:52:30 +08:00
Nguyen Anh Quynh
ac9c076fdf minor fix for instruction on CS_OPT_MEM 2014-01-05 23:42:50 +08:00
Nguyen Anh Quynh
59492c2688 enable system's my_malloc/calloc/realloc/free via compile time option 2014-01-05 23:41:31 +08:00
Nguyen Anh Quynh
f122ae0629 tests: simplify some accesses to insn's details, and fix some typo bugs 2014-01-05 21:45:30 +08:00
Nguyen Anh Quynh
fa02175fba python: delete redundant .gitignore 2014-01-05 21:34:37 +08:00
Nguyen Anh Quynh
61e572b497 python: update to support PPC 2014-01-05 21:33:04 +08:00
Nguyen Anh Quynh
c7404075ff move internal memory management declarations from utils.h to cs_priv.h 2014-01-05 11:35:47 +08:00
Nguyen Anh Quynh
24bf0d9079 add new option CS_OPT_MEM for cs_option(): this enable user-defined dynamic memory management. idea proposed by Pancake 2014-01-05 11:19:04 +08:00
Nguyen Anh Quynh
2b14fcdf9b ppc: update ppc.bh in post-printer 2014-01-05 10:37:50 +08:00
Nguyen Anh Quynh
91e532d5ab print out ppc_bh information in test_ppc.c & TestPpc.java 2014-01-05 09:15:42 +08:00
Nguyen Anh Quynh
db4bcddb45 Merge pull request #61 from danghvu/next
Update Java binding with PPC arch
2014-01-04 17:10:51 -08:00
danghvu
c476765086 Update java binding for PPC arch 2014-01-05 03:36:35 +07:00
danghvu
5611de05a9 Fix const generator to account for PPC enum style 2014-01-05 03:35:43 +07:00
Nguyen Anh Quynh
5cd6b340c4 python: add PPC test to test.py & test_detail.py 2014-01-05 01:07:14 +08:00
Nguyen Anh Quynh
af6ca7e20a ppc: add branch hint support to cs_ppc struct 2014-01-05 01:05:22 +08:00
Nguyen Anh Quynh
f1d489b949 ppc: support details information 2014-01-05 00:00:05 +08:00
Nguyen Anh Quynh
5802e5e9a0 correct the last fix 2014-01-04 10:43:31 +08:00
Nguyen Anh Quynh
5ef633ce91 arm64 & arm: do not update details when detail option is off. bug reported by Pancake. 2014-01-04 10:41:17 +08:00
Nguyen Anh Quynh
35240566c6 copy all include files for install target. bug spotted by Pancake 2014-01-04 09:18:48 +08:00
Nguyen Anh Quynh
34f96389a9 add new API: cs_strerror() return a string describing a given error code. this should be used together with cs_errno() 2014-01-03 22:49:07 +08:00
Nguyen Anh Quynh
ee143c8c6c fix a crashed bug in cs_close(): call destroy function before freeing handle's memory 2014-01-03 21:51:59 +08:00
Nguyen Anh Quynh
42be2a6a75 Merge branch 'ppc' of https://github.com/aquynh/capstone into ppc 2014-01-03 18:12:34 +08:00
Nguyen Anh Quynh
017e0d71d7 Merge branch 'next' of https://github.com/aquynh/capstone into ppc 2014-01-03 18:12:18 +08:00
Nguyen Anh Quynh
b265406960 cache insns for fast lookup in mapping.c. based on the idea of Dang Hoang Vu 2014-01-03 17:08:58 +08:00
Nguyen Anh Quynh
e29eaf9cbb tests: use LDFLAGS to link test files - this is to make Gentoo happy 2014-01-03 12:14:32 +08:00
Nguyen Anh Quynh
7adb0bb969 tests: use LDFLAGS to link test files - this is to make Gentoo happy 2014-01-03 12:13:48 +08:00
Nguyen Anh Quynh
91679cdb60 tests: correct the dummy setup for LDFLAGS. suggested by Anton Bolshakov 2014-01-03 11:40:36 +08:00
Nguyen Anh Quynh
0d001bb1ef tests: correct the dummy setup for LDFLAGS. suggested by Anton Bolshakov 2014-01-03 11:40:00 +08:00
Nguyen Anh Quynh
b2adb18802 tests: dummy setup LDFLAGS for Gentoo 2014-01-02 14:47:14 +08:00
Nguyen Anh Quynh
34ce2a5325 tests: dummy setup LDFLAGS for Gentoo 2014-01-02 14:46:56 +08:00
Nguyen Anh Quynh
ae3649ff71 rename some C header guards to be without _ as prefix to follow naming convention of C language. suggested by Markus Elfring 2014-01-02 13:15:07 +08:00
Nguyen Anh Quynh
57ab21b558 rename some old header guards from SB to CS 2014-01-02 12:44:20 +08:00
Nguyen Anh Quynh
0b4c1237df ppc: change type @disp to int32_t, and add @update_cr0 to cs_ppc struct 2014-01-02 12:02:59 +08:00
Nguyen Anh Quynh
5f1f90c559 fix for the last commit, and make the test code no longer specify ppc code as 64bit 2014-01-01 23:28:05 +08:00
Nguyen Anh Quynh
5742b1b814 ppc: support for PPC32 was already in 2014-01-01 23:24:07 +08:00
Nguyen Anh Quynh
ce3ef95e9c python: simplify access to operand's information thanks to some getters for <ARCH>Ops classes 2014-01-01 22:31:14 +08:00
Nguyen Anh Quynh
e06b2d0868 python: simplify access to operand's information thanks to some getters for <ARCH>Ops classes 2014-01-01 22:30:53 +08:00
Nguyen Anh Quynh
c0b63dc42c Makefile: correctly set /usr/lib64 as installed dir for Gentoo 64-bit 2014-01-01 22:07:41 +08:00
Nguyen Anh Quynh
6950f21d9d Makefile: correctly set /usr/lib64 as installed dir for Gentoo 64-bit 2014-01-01 21:40:49 +08:00
Nguyen Anh Quynh
f4af98c0b5 refine insn_map structure to further reduce binary size: this makes .SO file around 120K smaller 2014-01-01 00:13:01 +08:00
Nguyen Anh Quynh
08a19ed5c7 refine insn_map structure to further reduce binary size: this makes .SO file around 120K smaller 2014-01-01 00:04:55 +08:00
Nguyen Anh Quynh
5e107abdd1 some minor fixes for Makefile 2013-12-31 23:38:28 +08:00
Nguyen Anh Quynh
cef6b27e95 remove -x from PPC files 2013-12-31 23:36:12 +08:00
Nguyen Anh Quynh
591d98cb24 python: cs_disasm*() now use generator rather than a list to return disassembled instructions. suggested by Mario Vilas. 2013-12-31 22:56:07 +08:00
Nguyen Anh Quynh
ef709f0272 python: cs_disasm*() now use generator rather than a list to return disassembled instructions. suggested by Mario Vilas. 2013-12-31 22:55:27 +08:00
Nguyen Anh Quynh
19b0de3c8d moving static doing_mem variable into cs_struct to guarantee thread-safe when handling memory operands 2013-12-31 22:40:04 +08:00