138 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
a5f0b1c3c3 mips: map register 9 to 'sp' rather than '29' 2013-12-03 20:13:48 +08:00
Nguyen Anh Quynh
6d552e5540 x86: fix bug in relative jump. reported by Joxean 2013-12-03 18:23:53 +08:00
Nguyen Anh Quynh
3fa53140b8 update CREDITS 2013-12-03 17:26:57 +08:00
Nguyen Anh Quynh
9cf170bcaa mips: correct the forgotten size_t address in the last API change 2013-12-03 15:17:41 +08:00
Nguyen Anh Quynh
5df9e4be91 tests: change variable address's type to uint64_t 2013-12-03 15:02:12 +08:00
Nguyen Anh Quynh
88db228cc9 bindings: do not delete constant files when on clean target of Makefile 2013-12-03 15:01:15 +08:00
Nguyen Anh Quynh
22fcba13f9 java: add some missing CS_MODE 2013-12-03 14:34:12 +08:00
Nguyen Anh Quynh
de53660109 java: quick fix to update it with latest API changes 2013-12-03 14:26:05 +08:00
Nguyen Anh Quynh
7999c1fe1f add capsone.pc to .gitignore 2013-12-03 13:40:11 +08:00
Nguyen Anh Quynh
75c4475462 bindings: auto generate constants with 'make' 2013-12-03 13:39:49 +08:00
Nguyen Anh Quynh
923d9262af python: update to reflect latest API change 2013-12-03 13:13:39 +08:00
Nguyen Anh Quynh
d330bf21b6 use PKG_{MAJOR|MINOR} to generate capstone.pc. besides, use dynamic lib rather than static lib for its 'Libs' 2013-12-03 12:34:56 +08:00
Nguyen Anh Quynh
5dbe12a85b bump API to 1.5 due to the change in cs_disasm*(), and add PKG_{MAJOR|MINOR} for package version 2013-12-03 12:27:46 +08:00
Nguyen Anh Quynh
7b7b40c879 tests: now @address is uint64_t, no need to typecast for PRIx64 anymore 2013-12-03 12:24:06 +08:00
Nguyen Anh Quynh
612b5d23e8 consistently use same param name @address rather than @offset in all cs_disasm*() API 2013-12-03 12:23:09 +08:00
Nguyen Anh Quynh
f2a649e1ef cs_insn.address also needs to be changed after the change on @offset of cs_disasm*() API 2013-12-03 12:21:01 +08:00
Nguyen Anh Quynh
7d5f96d3a7 merge Radare's pull request on API change on @address of cs_disasm*() 2013-12-03 11:53:42 +08:00
Nguyen Anh Quynh
029df200b4 add some comments referring to cs_errno() on failure of some APIs 2013-12-03 11:36:54 +08:00
Nguyen Anh Quynh
8db204e6fd java: clean up Test.java 2013-12-03 11:27:58 +08:00
Nguyen Anh Quynh
8eb689e4af python: update to reflect the last API change 2013-12-03 11:25:13 +08:00
pancake
44ce0fbe60 Generate and install capstone.pc pkg-config file 2013-12-03 04:11:37 +01:00
Nguyen Anh Quynh
f35e2ad35c add @regs_read_count, @regs_write_count, @groups_count to @cs_insn. bump API to 1.4 2013-12-03 11:10:26 +08:00
pancake
c04f873791 Use uint64_t instead of size_t for addresses 2013-12-03 02:51:46 +01:00
Nguyen Anh Quynh
25f5612d4d bindings: correct autogen constant files to reflect the change on arm64.h 2013-12-03 09:45:02 +08:00
Nguyen Anh Quynh
3582bc1b9b arm64: ARM64_GRP_JUMP is in the wrong place. move it to its place and also clarify some GRP comments 2013-12-03 09:43:27 +08:00
Nguyen Anh Quynh
b2ed4dcd69 update COMPILE and python README to reflect the last commit 2013-12-03 09:28:43 +08:00
Nguyen Anh Quynh
f4597083c2 bindings: add all autogen files. better to do this by committers, not users. thanks to this, users dont need to generate those constants themselves 2013-12-03 09:23:27 +08:00
Nguyen Anh Quynh
d57fa4f68e x86: added bunch of test insn (commented) 2013-12-03 00:45:39 +08:00
Nguyen Anh Quynh
9c950c15d6 x86: fix all the shift rotate insns with 1 as immediate: shl, shr, sar, ror, rol. thus, removed the hack on this insns. 2013-12-02 23:20:07 +08:00
Nguyen Anh Quynh
8fcec67893 x86: do not sign-extend immediate. this fixes the issues reported by LongLD 2013-12-02 22:03:30 +08:00
Nguyen Anh Quynh
2cd3370b8c some fixes for COMPILE 2013-12-02 20:32:41 +08:00
Nguyen Anh Quynh
68f2405814 java: update README 2013-12-02 20:25:54 +08:00
Nguyen Anh Quynh
e75f906831 python: update README 2013-12-02 20:25:35 +08:00
Nguyen Anh Quynh
210e94dbed python: add install target to Makefile 2013-12-02 20:24:38 +08:00
Nguyen Anh Quynh
676cabd565 update instructions in COMPILE about compiling/installing bindings before usage 2013-12-02 20:23:35 +08:00
Nguyen Anh Quynh
96a056d18b bindings: more flexible autogen on generating filenames containing constants 2013-12-02 18:37:46 +08:00
Nguyen Anh Quynh
bc1e2f4079 python: 'make' alone does not install python module 2013-12-02 18:08:07 +08:00
Nguyen Anh Quynh
99cfce9b1a bindings: add project info into autogen files 2013-12-02 18:07:08 +08:00
Nguyen Anh Quynh
d6ef46aa0f bindings: Makefile does nothing by default 2013-12-02 18:06:31 +08:00
Nguyen Anh Quynh
ac6d1da5b0 bindings: add author info to const_generator.py 2013-12-02 17:44:48 +08:00
Nguyen Anh Quynh
d1f1e87213 Merge branch 'master' of https://github.com/danghvu/capstone into autogen 2013-12-02 17:15:50 +08:00
Nguyen Anh Quynh
23bc1f356a fix some potential format string bugs in arm64, arm & mips 2013-12-02 16:24:56 +08:00
Nguyen Anh Quynh
b9b3d29ff5 x86: print segment register in some insns with memory references. This fixes the bug reported by Edgar & Attila 2013-12-02 16:21:55 +08:00
Nguyen Anh Quynh
ec0ed8ee94 semantics: add insn group JUMP, so now we can check if this insn is branching 2013-12-02 13:55:38 +08:00
Nguyen Anh Quynh
7c7a8bc523 arm: move static variable ITBlock to cs_struct, so make arm code truly thread-safe 2013-12-02 13:16:44 +08:00
Nguyen Anh Quynh
f1c2eee091 x86: clang still complains on unused enum type. this shuts it up 2013-12-02 12:29:07 +08:00
Nguyen Anh Quynh
0e3defb6f8 arm64: remove asprintf.c and use static buffer instead for SysRegMapper_toString(). this fixes the bug on MSR insn reported by Patroklos Argyroudis 2013-12-02 10:30:01 +08:00
danghvu
c698fb657f Add clean target for bindings/Makefile 2013-12-01 14:10:28 -06:00
danghvu
cfb0120936 Add support for python in const_generator.py 2013-12-01 14:10:28 -06:00
danghvu
2f66688c67 Modify java binding to use the auto-generated files 2013-12-01 14:10:28 -06:00