Commit Graph

1590 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
bf23075e32 ocaml: activate test_xcore.ml's non-class test 2014-09-26 23:57:08 +08:00
Nguyen Anh Quynh
c7fa8fa6fc Merge branch 'v3' of https://github.com/aquynh/capstone into v3 2014-09-26 23:48:17 +08:00
Nguyen Anh Quynh
81a97c6c5c ocaml: ocaml.c is wrongly implemented in various places. this fixes all the issues, and all test_<arch> works as expected now 2014-09-26 23:38:53 +08:00
Nguyen Anh Quynh
3f9247d6a5 java: add interface for cs_group_name() API 2014-09-26 11:27:29 +08:00
Nguyen Anh Quynh
770cf6dfd7 cython: update to v3. still need more tests 2014-09-26 11:25:03 +08:00
Nguyen Anh Quynh
d442fbc06e arm: t2BXJ also belongs to groups ARM_GRP_NOTMCLASS & ARM_GRP_PREV8 2014-09-26 10:38:29 +08:00
Nguyen Anh Quynh
443af14b52 ocaml: make some calls on Store_field() in ocaml.c to be in order 2014-09-26 00:48:05 +08:00
Nguyen Anh Quynh
fbaedfbb1d ocaml: fix an warning on test_arm64.ml 2014-09-26 00:46:26 +08:00
Nguyen Anh Quynh
77d93e9062 ocaml: update to work with v3 core 2014-09-25 23:03:36 +08:00
Nguyen Anh Quynh
aa58f7fca5 typo fix for capstone.h 2014-09-25 16:56:31 +08:00
Nguyen Anh Quynh
acbafc6d75 ocaml/python/java: fix some broken arm64 constants generated by const_generator.py 2014-09-25 12:46:17 +08:00
Nguyen Anh Quynh
54f8cef449 mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings 2014-09-24 22:53:54 +08:00
Nguyen Anh Quynh
7ac7d4e245 mips: on BEQZL, printAlias() should return instruction string. also cleanup some redundant code 2014-09-24 22:29:03 +08:00
Nguyen Anh Quynh
240e1c75be mips: print absolute target address for relative branch instructions: BEQL, BGEZALL, BGEZL, BGTZL, BLEZL, BLTZALL, BLTZL, BNEL, BNEZL, BEQZL, BC1F, BC1FL, BC1TL 2014-09-24 18:16:23 +08:00
Nguyen Anh Quynh
5691dd4637 mips: fixed & added new instructions. also updated Ocaml/Python/Java bindings 2014-09-24 18:03:47 +08:00
Nguyen Anh Quynh
4e87675c54 arm: relative branch should not be negative. bug reported by @acez 2014-09-23 16:49:12 +08:00
Nguyen Anh Quynh
a4da8951e7 x86: relative CALL should print out absolute addresses. bug reported by @acez 2014-09-23 15:24:19 +08:00
Nguyen Anh Quynh
b339297eac Merge pull request #181 from yegord/v3
Fixed a typo in a CMake option name
2014-09-22 16:44:59 +08:00
Yegor Derevenets
ebc4ced3cf Fixed a typo in a CMake option name 2014-09-22 10:43:03 +02:00
Nguyen Anh Quynh
e483c6e31d ocaml: update constants 2014-09-22 00:07:58 +08:00
Nguyen Anh Quynh
7e181fb509 merge PR of @yegord 2014-09-21 23:46:03 +08:00
Nguyen Anh Quynh
a301cad09d Merge branch 'v3' of https://github.com/aquynh/capstone into v3 2014-09-21 23:37:01 +08:00
Nguyen Anh Quynh
0e755cff51 Merge branch 'next' into test 2014-09-21 23:36:24 +08:00
Nguyen Anh Quynh
a22d300c57 ocaml: add missing ARM64 instructions to arm64_const.ml. also handle arithmetic operations |, << properly for Ocaml in const_generator.py 2014-09-21 23:35:00 +08:00
Yegor Derevenets
ced9d24e35 Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
Nguyen Anh Quynh
586be76d73 ocaml: separate constants into separate files, which are actually autogen by const_generator.py 2014-09-21 23:23:38 +08:00
Nguyen Anh Quynh
323114680e Merge pull request #178 from yegord/install-platform-h
platform.h must be also installed
2014-09-21 22:23:53 +08:00
Yegor Derevenets
17176cd838 platform.h must be also installed 2014-09-21 16:11:34 +02:00
Nguyen Anh Quynh
7e57e79800 ppc: handle branch condition for alias instructions. this also updates Python & Java bindings 2014-09-21 13:04:50 +08:00
Nguyen Anh Quynh
9d6383973f ppc: move our own alias instructions to PPCInstPrinter.c to isolate them from auto-gen code of LLVM 2014-09-20 12:02:19 +08:00
Nguyen Anh Quynh
d37b0df762 merge PR of @kratolp 2014-09-20 11:27:07 +08:00
Nguyen Anh Quynh
9cb4d8b8cb correct COMPILE_CMAKE.TXT after the last change to names of CMake options 2014-09-20 10:59:01 +08:00
Nguyen Anh Quynh
8f67ec29e5 Added CAPSTONE prefix to CMake options 2014-09-20 10:55:50 +08:00
Yegor Derevenets
b4d78d916e Added CAPSTONE prefix to CMake options 2014-09-19 18:39:22 +02:00
Nguyen Anh Quynh
1738a3e6bf sparc: handle some alias instructions & more details for some special instructions. update Python & Java bindings accordingly with new instructions & registers 2014-09-17 00:01:04 +08:00
Nguyen Anh Quynh
7a9d19eaff python & java: update after the last PPC core update 2014-09-16 23:22:16 +08:00
kratolp
05d4b83391 Extend sign of the branch destination operand 2014-09-16 17:15:50 +02:00
kratolp
87736c1e5e Update alias of PPC branch instructions 2014-09-16 17:13:39 +02:00
Nguyen Anh Quynh
eaecfa4925 ppc: add PPC_INS_BNE for alias instruction BNE 2014-09-16 23:13:14 +08:00
Nguyen Anh Quynh
bd85448c2d update CREDITS.TXT 2014-09-16 08:42:20 +08:00
Nguyen Anh Quynh
36567558b7 mips: cleanup 2014-09-15 15:25:19 +08:00
Nguyen Anh Quynh
41de05ca50 x86: correct x86_16_bit_eq_tbl[] & x86_16_bit_eq_lookup[]. idea & code provided by @obs1dium 2014-09-15 15:24:05 +08:00
Nguyen Anh Quynh
72bbcacb88 x86: temporarily solve conflicts caused by the last merge 2014-09-15 14:17:49 +08:00
Nguyen Anh Quynh
f46ef2e0fe ppc: alias instruction for 'gBC 4, 2, target' to 'bne target'. issue reported by @kratolp 2014-09-15 12:12:10 +08:00
Nguyen Anh Quynh
1f196d12ea x86: CALLpcrel32 should be outputed as 'callq' in 64bit mode in AT&T syntax. ported from upstream 2014-09-10 00:00:55 +08:00
Nguyen Anh Quynh
9728200d1d x86: cpuid, xsetbv, xgetbv involve 32bit registers, not 64bit registers. 2014-09-09 11:30:20 +08:00
Nguyen Anh Quynh
2c425fcbe2 correct an incorrect comment on default value of skipdata mnem: .db -> .byte. bug reported by Ben Nagy 2014-09-07 09:46:54 +08:00
Nguyen Anh Quynh
721d07f6b2 ppc: support alias instructions. update Python & Java bindings accordingly 2014-09-04 12:03:31 +08:00
Nguyen Anh Quynh
25538b04bb python: test_arm.py should handle SYSREG operand. issue reported by Ben Nagy 2014-09-03 11:22:18 +08:00
Nguyen Anh Quynh
04d9f8ee17 arm: update core with a lot more details provided in detail mode now. update Python & Java bindings to reflect the core's changes 2014-09-01 23:27:24 +08:00