Commit graph

71 commits

Author SHA1 Message Date
Nguyen Anh Quynh
9c715aa034 java: fix indentation 2014-02-23 13:09:38 +08:00
Nguyen Anh Quynh
bf723fa424 java: fix NULL pointr exception introduced by last commit. suggested by Dang Hoang Vu 2014-02-23 13:05:16 +08:00
Nguyen Anh Quynh
a25a7ad231 java: verify against core's version before doing anything 2014-02-23 12:04:37 +08:00
Nguyen Anh Quynh
0a8cbbe627 java: support 'diet' mode 2014-02-22 23:48:32 +08:00
Nguyen Anh Quynh
e7c5695807 java: fix memleak in disasm() 2014-02-20 14:49:31 +08:00
Nguyen Anh Quynh
046902a990 python & java: update constants following last change to PPC arch 2014-02-19 17:02:44 +08:00
Nguyen Anh Quynh
43a9a9d36f bump API version from 2.0 to 2.1 for core + Python & Java bindings 2014-02-19 15:18:44 +08:00
Nguyen Anh Quynh
748e4f8f1d python & java: update following last update to Mips core 2014-02-19 15:13:51 +08:00
Nguyen Anh Quynh
5bd0e2ea06 java & python: update instructions following the last x86 core update 2014-02-08 18:06:49 +08:00
Nguyen Anh Quynh
5d1244d194 java: update X86_const.java after last update to x86 core 2014-01-19 22:50:13 +08:00
Nguyen Anh Quynh
9eb9f539c2 python & java: update following the last change to @op_str 2014-01-15 17:52:43 +08:00
Nguyen Anh Quynh
0941042274 java: update Mips constants following the change in Mips' core 2014-01-14 23:10:59 +08:00
Nguyen Anh Quynh
44cebf2e0b python & java: pump API to 2.0 2014-01-14 09:33:00 +08:00
Nguyen Anh Quynh
a71a29922c java: update @opStr & ARM's @Operands following the changes in core 2014-01-13 23:33:27 +08:00
Nguyen Anh Quynh
6a1107c216 java: update following the change to detail mode in the core 2014-01-07 23:47:18 +08:00
Nguyen Anh Quynh
83dd67e405 java: OpenJDK 7 is also supported 2014-01-07 10:58:11 +08:00
Nguyen Anh Quynh
1044c3e912 java: indentation fix 2014-01-06 00:06:25 +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
danghvu
c476765086 Update java binding for PPC arch 2014-01-05 03:36:35 +07:00
Nguyen Anh Quynh
51a7710ed7 java: update cs_version() prototype following the changes to this API in the core 2013-12-28 14:05:33 +08:00
danghvu
80348ba5f7 Clean up unused code and some coding style 2013-12-26 23:16:29 -06:00
danghvu
ef9bd0ab48 Let jna handle alignment, reduce performance but more cross-platform 2013-12-26 22:55:01 -06:00
danghvu
8677ce756c Minor changes for x86 compatibility 2013-12-26 17:58:33 -06:00
danghvu
03be9f5820 Fix java binding for cs2 branch 2013-12-26 02:11:16 -06:00
Nguyen Anh Quynh
7008356bc5 change cs_insn struct to follow the commit 18103e4a. fixed Python & Java bindings accordingly. attn: bindings 2013-12-20 22:02:20 +08:00
Nguyen Anh Quynh
1bdb23a76d add CS_OPT_MODE option. this allows us to change engine's mode at run-time 2013-12-20 00:04:26 +08:00
Nguyen Anh Quynh
d06e2f5ac1 arm: expose alias registers SB, SL, FP & IP. attn: bindings 2013-12-19 16:50:57 +08:00
danghvu
36508ff69f Fixed size of regWrite, regRead nd group 2013-12-16 23:26:23 -06:00
danghvu
4ef20d54b0 Fixed naming convention 2013-12-16 23:25:57 -06:00
danghvu
13adb95e7e Fix java error when JNA attempts to readField(op) when op_count == 0 2013-12-16 18:03:47 -06:00
Nguyen Anh Quynh
7957ed1def arm64: add some alias registers. attn: bindings 2013-12-15 00:32:20 +08:00
Nguyen Anh Quynh
4994c587ad bindings: support new 'detail' option for java & python 2013-12-14 11:39:33 +08:00
Nguyen Anh Quynh
ad89d25d05 mips: optimize Mips_map_register() to O(1). suggested by Pancake 2013-12-11 23:20:34 +08:00
Nguyen Anh Quynh
66f6c2283e mips: fix NEGU alias instruction. bug reported by Pancake 2013-12-11 21:37:24 +08:00
Nguyen Anh Quynh
8940e5c5d0 java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 2013-12-10 14:44:45 +08:00
Nguyen Anh Quynh
aa036eebc2 bindings: add cs_version() back for python & java 2013-12-10 13:42:48 +08:00
Nguyen Anh Quynh
98bc9c3932 bindings: update java & python follow last API change 2013-12-10 08:06:56 +08:00
Nguyen Anh Quynh
3ff4ccbc5b bindings: update python & java following mips core engine 2013-12-08 20:19:05 +08:00
Nguyen Anh Quynh
bac111c257 bindings: update python & java following arm64 update 2013-12-08 15:29:08 +08:00
danghvu
0500691eb3 Update Java binding with cs_option 2013-12-05 19:33:38 -06:00
Nguyen Anh Quynh
d912f91390 add a newline between constant types in autogen constants 2013-12-05 00:02:37 +08:00
Nguyen Anh Quynh
a2f825ff07 support comments in autogen files, so constant files are more friendly 2013-12-04 23:56:24 +08:00
danghvu
b4b6fea875 Fix a bug const generator does not account for assigning number as enum const 2013-12-04 00:19:48 -06:00
Nguyen Anh Quynh
e60590baf1 fix bindings to reflect the last commit 2013-12-04 12:46:41 +08:00
Nguyen Anh Quynh
ea5b79d058 move some alias registers around to after REG_MAX. this seems to fix some issues of clang, which struggles with enum that assign value from other enum 2013-12-04 12:10:47 +08:00
Nguyen Anh Quynh
b39ef0bfa6 arm: added some alias registers 2013-12-04 11:52:28 +08:00
Nguyen Anh Quynh
67f1297b33 java: temporarily remove SYNTAX_ATT option due to the newly added cs_option() API. this will be fixed when cs_option() is supported in java 2013-12-04 10:27:50 +08:00
danghvu
2c37cd49fc Minor fix in java coding style 2013-12-03 12:28:10 -06:00
danghvu
9e51977205 Fix java binding to reflect new api 2013-12-03 19:21:08 +01: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