116 Commits

Author SHA1 Message Date
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
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
danghvu
9ed9d859c1 Name the target clearer in Makefile for testing binding 2013-12-01 14:10:28 -06:00
danghvu
8054c9e065 Add a script to generate constant for binding 2013-12-01 14:10:28 -06:00
Nguyen Anh Quynh
c881b0c650 update CREDITS 2013-12-01 23:47:11 +08:00
Nguyen Anh Quynh
524194acfb test: add few (commented out) arm instructions to test_arm.c 2013-12-01 23:23:37 +08:00
Nguyen Anh Quynh
bc38a28761 test: add some more insn to test_arm.c (commented out code) 2013-12-01 23:14:17 +08:00
Nguyen Anh Quynh
5ef8b2a7de arm: fix param of MCRegisterInfo_InitMCRegisterInfo() in ARM_init() 2013-12-01 23:13:30 +08:00
Nguyen Anh Quynh
257dfb6571 arm: fix wrong calculation on update_flags due to dropped support for cs_reg_write() with 0 as handle 2013-12-01 23:12:34 +08:00
Nguyen Anh Quynh
173ed2b1cb arm: upgrade core engine 2013-12-01 22:19:27 +08:00
Nguyen Anh Quynh
cc6cf65980 tests: add some test insn (commented) 2013-12-01 09:01:52 +08:00
Nguyen Anh Quynh
270d8ae712 Merge branch 'master' into x86 2013-12-01 00:28:38 +08:00
Nguyen Anh Quynh
3640f3cc73 clarify in capstone.h that no API accepts CS_ARCH_* as handle anymore 2013-12-01 00:26:27 +08:00
Nguyen Anh Quynh
45078f87f1 finally drop ugly support for using arch as handle in cs_reg_name(). this doesnt change API 2013-12-01 00:22:15 +08:00
Nguyen Anh Quynh
36d143b6d0 x86: update core engine 2013-12-01 00:05:22 +08:00
Nguyen Anh Quynh
ad61c49288 arm64: handle decomposer properly for alias insn 2013-11-30 16:23:31 +08:00
Nguyen Anh Quynh
e1611f0189 arm64: fix wrong calculation of arm64.update_flags with a tricky way of using cs_reg_write() 2013-11-30 12:37:26 +08:00
Nguyen Anh Quynh
6b9b6647c1 arm64: support more alias insn 2013-11-30 12:28:56 +08:00
Nguyen Anh Quynh
0fd5da2449 fixed bad disassembly mode definitions. by Daniel Godas-Lopez 2013-11-30 11:36:32 +08:00
danghvu
20b2d800a9 Improved performance of java binding 2013-11-29 15:23:37 -06:00
danghvu
f9dc082727 Merge remote-tracking branch 'upstream/master' 2013-11-29 11:32:19 -06:00
danghvu
bfd2de6493 Fix Arm64.java miss type 2013-11-29 18:27:28 +01:00
danghvu
a7d954f131 Adjust binding tests to match api changes 2013-11-29 10:57:45 -06:00
Nguyen Anh Quynh
6b7abe3c81 arm64: handle alias insn in a better way, and add support for MNEG. bug reported by Patroklos Argyroudis 2013-11-30 00:54:24 +08:00