Commit graph

163 commits

Author SHA1 Message Date
Nguyen Anh Quynh
f48111db0e bindings: update after #1064 2017-12-21 09:14:05 +08:00
Nguyen Anh Quynh
ffbb083f31 bindings: update some consts 2016-10-22 23:32:13 +08:00
Keve Müller
2ef8ef79e5 return empty instead null 2015-11-14 09:56:20 +01:00
Keve Müller
4a098bbd5d Fix NPE when first instruction to disassemble is broken.
Return null instead.
2015-11-12 22:51:57 +01:00
Ammar Ben Khadra
b6c90b9bc0 Update README for Java Bindings
For better readability, OpenJDK installation has been separated from JNA installation.
2015-04-30 09:23:32 +02:00
Ammar Ben Khadra
828900645e Update README
Installation instructions for libjna on Ubuntu has been added, that would save new comers (like me) sometime figuring it out :)
2015-04-29 16:34:21 +02:00
Nguyen Anh Quynh
0ea529a6f3 java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME 2014-11-19 10:58:31 +08:00
Nguyen Anh Quynh
faa925ab8f fix bindings (python/java) and tests after the last change on the type of imm of cs_arm64_op 2014-11-17 11:39:36 +08:00
Nguyen Anh Quynh
e01fdfb94f java: add comments on hardware modes 2014-11-13 11:58:11 +08:00
Nguyen Anh Quynh
bf4723f970 java: update Mips modes to CS_MODE_MIPS32 & CS_MODE_MIPS64 2014-11-13 11:49:14 +08:00
Nguyen Anh Quynh
6f00a9827b Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-11-12 11:07:32 +08:00
Nguyen Anh Quynh
39785fb3d6 java: add CS_SUPPORT_X86_REDUCE 2014-11-12 11:05:14 +08:00
Nguyen Anh Quynh
5db983d8ec java: fix a wrong type for memBarrier in Arm.java 2014-11-12 10:43:59 +08:00
Nguyen Anh Quynh
0b3d95e4b3 java/ocaml/python: support the newly added mem_barrier field of cs_arm struct 2014-11-11 23:00:35 +08:00
Nguyen Anh Quynh
8e53890a8e ocaml/java: support CS_MODE_V8 for Arm 2014-11-10 22:06:23 +08:00
Nguyen Anh Quynh
a65d7ef5fa java/ocaml/python: update bindings after the last change on generic instruction groups 2014-10-31 15:47:17 +08:00
Nguyen Anh Quynh
69271ddf74 java/ocaml/python: add the missing generic instruction operand types 2014-10-31 14:32:34 +08:00
Nguyen Anh Quynh
b0464ef805 java/python/ocaml: update bindings after the last changes on operand types 2014-10-31 13:59:19 +08:00
Nguyen Anh Quynh
58086346bc java/python/ocaml: update after latest changes in x86.h 2014-10-18 06:16:26 +08:00
Nguyen Anh Quynh
bec9af7f6d java: update after the latest change on PPC in the core 2014-10-17 22:30:19 +08:00
Nguyen Anh Quynh
4d2c362aa6 python: update after the latest change on PPC in the core 2014-10-17 21:51:13 +08:00
Jay Oster
79e253c516 Remove CS_MODE_N64
- This mode is for the so-called MIPS "N64" ABI; it has nothing to do with the Nintendo 64 game platform.
- N64, O64, et al. are just different ABIs for the 64-bit MIPS architecture, so we replace CS_MODE_N64 with the existing CS_MODE_64
2014-10-12 16:03:12 -07:00
Nguyen Anh Quynh
b10418e79b java: a call to printf() in TestArm.java is missing a variable 2014-10-10 22:37:49 +08:00
Nguyen Anh Quynh
db8eaa3d0b bindings: remove MIPS_REG_PC constant following the change in the core 2014-10-10 21:13:30 +08:00
Nguyen Anh Quynh
b0cc71da59 bindings: update java/ocaml/python after the last change in Arm's core 2014-10-06 21:01:32 +08:00
Nguyen Anh Quynh
a3f87a54d9 java: add 'check' target to Makefile 2014-10-01 17:13:58 +08:00
Nguyen Anh Quynh
d7e42b7d36 rename all the constants marking ending from _MAX to _ENDING. this also updates Java/Python/Ocaml bindings accordingly 2014-09-29 17:15:25 +08:00
danghvu
3671d70429 Java binding: fix missing dependency 2014-09-28 16:20:15 -05:00
danghvu
ef92cdb918 Update java binding to v3 2014-09-27 17:53:49 -05:00
danghvu
53bbee32f9 Fix java binding tests 2014-09-27 16:09:44 -05:00
Nguyen Anh Quynh
3f9247d6a5 java: add interface for cs_group_name() API 2014-09-26 11:27:29 +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
5691dd4637 mips: fixed & added new instructions. also updated Ocaml/Python/Java bindings 2014-09-24 18:03:47 +08: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
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
Nguyen Anh Quynh
721d07f6b2 ppc: support alias instructions. update Python & Java bindings accordingly 2014-09-04 12:03:31 +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
Nguyen Anh Quynh
0beb0d494b api: get back the old API cs_disasm() & mark cs_disasm_ex() deprecated. cs_disasm_ex() will be removed in the future 2014-08-27 22:55:29 +08:00
Nguyen Anh Quynh
934e180e54 x86: more update to the core 2014-08-27 21:59:25 +08:00
Nguyen Anh Quynh
a7792ae488 systemz: update core. also update Python & Java bindings 2014-08-26 12:14:25 +08:00
Nguyen Anh Quynh
212a01712a java: update after the latest changes in the core on arm64 2014-08-25 17:39:14 +08:00
Nguyen Anh Quynh
c286b346c6 Merge branch 'arm64' into v3 2014-08-25 17:01:53 +08:00
Nguyen Anh Quynh
0efef5dd48 solve some conflicts when merging -next into -v3 2014-08-25 17:01:45 +08:00
Nguyen Anh Quynh
46a74e53b7 arm64: update core. this added a lot more details to cs_arm64_op struct 2014-08-25 16:47:12 +08:00
Nguyen Anh Quynh
73cde40ac7 python & java: add new error codes CS_ERR_X86_ATT & CS_ERR_X86_INTEL 2014-08-20 14:08:35 +08:00
Nguyen Anh Quynh
a726402513 sparc: update core. this added/removed some instructions & groups. updated Python & Java bindings accordingly 2014-08-15 18:29:17 +08:00
Nguyen Anh Quynh
91a64776a8 ppc: fix a mistake on interpreting CR registers by deleting CR8 -> CR31 2014-08-15 13:48:11 +08:00
Nguyen Anh Quynh
dd3deec1e9 ppc: update core. this added new instructions, groups & registers. updated Python & Java bindings accordingly 2014-08-15 13:26:12 +08:00