Commit Graph

3899 Commits

Author SHA1 Message Date
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
Nguyen Anh Quynh 81d35e6105 Merge branch 'master' of https://github.com/aquynh/capstone 2013-11-29 23:41:53 +08:00
Nguyen Anh Quynh 723687ea0e tests: typecast size_t to uint64_t for printf, since MingW doesnt support zu specifier 2013-11-29 22:36:45 +08:00
Nguyen Anh Quynh 56398be052 Merge pull request #14 from d1g1t4l/clean_all
clean all binaries
2013-11-29 05:19:53 -08:00
Daniel Godas-Lopez 9286504347 now the clean target deletes all binaries from all targets 2013-11-29 12:56:13 +00:00
Nguyen Anh Quynh f1656de40a reduce the size of @operands for arm & arm64 2013-11-29 20:26:34 +08:00
Nguyen Anh Quynh bbd4131889 python: more fixes, so this works on x86 2013-11-29 18:46:03 +08:00
Nguyen Anh Quynh 774f54f570 python: fix capstone.py to reflect new change in cs_disasm_dyn() 2013-11-29 18:30:37 +08:00
Nguyen Anh Quynh affea2f7e1 python: fix code to reflect last API changes 2013-11-29 18:07:02 +08:00
Nguyen Anh Quynh 90acea3530 fix arm64_op_mem & arm64_op_type structures: int32_t is enough for imm & disp 2013-11-29 17:54:17 +08:00
Nguyen Anh Quynh 402f3fcfb4 bump API to 1.3 2013-11-29 17:40:49 +08:00
Nguyen Anh Quynh b42a657873 change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API 2013-11-29 17:40:07 +08:00
Nguyen Anh Quynh 0b6f1bd544 x86: fix SHR, SHL, SAR insn when second op is 1 (Intel syntax). reported by Edgar Barbosa 2013-11-29 11:06:46 +08:00
Nguyen Anh Quynh b8394a47d7 add a note on gcc-multilib requirement for cross-compile to 'nix32' 2013-11-29 10:26:43 +08:00
Daniel Godas-Lopez cf05e118d5 added cygwin targets to the script and made cross-win* targets explicit 2013-11-29 10:09:50 +08:00
Daniel Godas-Lopez 0f7c4325dd unified the targets for *nix and windows 2013-11-29 10:09:37 +08:00
danghvu 7545b9b2b6 Correct main Makefile back 2013-11-28 10:18:02 -06:00
danghvu 4891dba953 Merge remote-tracking branch 'upstream/master' 2013-11-28 10:17:22 -06:00