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
Nguyen Anh Quynh
0f0eb9851a
mips: update core. this added bunch of new instructions & groups. updated Python & Java bindings accordingly
2014-08-14 18:26:39 +08:00
Nguyen Anh Quynh
7c089fd6c6
arm: add new mode CS_MODE_MCLASS for Cortex-M series. updated Python & Java bindings accordingly
2014-08-13 23:08:40 +08:00
Nguyen Anh Quynh
b52f11f636
arm: update core. this added a new instruction UDF. also updated Python+Java bindings accordingly
2014-08-13 22:38:15 +08:00
Nguyen Anh Quynh
fd0f798343
bump API & package version to 3.0
2014-08-13 14:15:27 +08:00
Nguyen Anh Quynh
0b690387b3
x86: update core with upstream. this added bunch of new instructions & groups. also updated Python & Java bindings after the core change
2014-08-13 13:01:50 +08:00
Nguyen Anh Quynh
3c0f43611d
python & java: update after the last change in core on PPC_BH_NO
2014-07-10 11:46:52 +08:00
Nguyen Anh Quynh
42c11bc98c
python & java: update constant symbols for SystemZ's groups & PPC_BC_INVALID
2014-07-10 08:02:23 +08:00
Nguyen Anh Quynh
9f6ed7155a
x86: add @rex to cs_x86 struct. updated python & java binding for this change
2014-07-01 10:13:28 +08:00
Nguyen Anh Quynh
1a66fecdbc
x86: support avx_sae & avx_rm in cs_x86 struct. this also updates Python & Java bindings following the core's change
2014-06-26 12:09:15 +08:00
Nguyen Anh Quynh
7de200afee
python & java: update after the last change in the core on avx_zero_opmask
2014-06-26 11:31:36 +08:00
Nguyen Anh Quynh
92a3d4c079
x86: add AVX's zero_opmask to cs_x86_op struct. updated Python & Java bindings for this change
2014-06-25 23:10:39 +08:00
Nguyen Anh Quynh
f1ec52628e
x86: provide size for X86_OP_IMM operand. thank Gabriel Quadros for some suggestions
2014-06-25 22:03:18 +08:00
Nguyen Anh Quynh
4c5eabc32b
x86: support SSE_CC & AVX_CC in cs_x86 struct. this also updates Python & Java bindings
2014-06-24 23:50:41 +08:00
Nguyen Anh Quynh
0d716450fc
x86: add avx_bcast to cs_x86_op to support AVX512 instructions. this also updates Python & Java binding
2014-06-24 22:51:56 +08:00
Nguyen Anh Quynh
eeb06902ed
java: update X86 after the last change in the core
2014-06-24 21:48:19 +08:00
Nguyen Anh Quynh
0467842205
java: update X86 binding after the last update in the core
2014-06-24 14:35:47 +08:00
Nguyen Anh Quynh
f3a9659cd5
python & java: update x86 following the last update in core
2014-06-20 13:46:53 +08:00
Nguyen Anh Quynh
83800cdc31
python & java: add comments on operand's size
2014-06-18 14:21:36 +08:00
Nguyen Anh Quynh
e68ce0ecc8
java: update after the last change in x86 core
2014-06-18 12:33:39 +08:00
Nguyen Anh Quynh
73bbbb3800
arm: add ASRS, LSRS, VCLE, VCLT instructions. update Python & Java bindings at the same time
2014-06-17 13:29:54 +08:00
Jay Oster
6f74ccc97a
Add new x86 instruction groups
...
- VM: Virtual Machine
- INT: Interrupts
- IRET: Interupt returns
- CALL: Subroutine call
- RET: Subroutine return
Includes a special case for writes to port 0xb2, which triggers an SMI
2014-06-02 22:21:41 -07:00
Nguyen Anh Quynh
cfc7ca6ace
python & java: update constants for Xcore after the last change in the core
2014-05-27 23:34:41 +08:00
Nguyen Anh Quynh
4d00986c6b
java: add Xcore support
2014-05-27 14:54:28 +08:00
Nguyen Anh Quynh
5a5d8a71cd
python & java: fix Sparc's CC constants after the last change in the core
2014-05-25 13:49:12 +08:00
Nguyen Anh Quynh
f260c2023e
fix some conflicts when merging msvc2 into next
2014-05-19 11:32:55 +08:00
Nguyen Anh Quynh
96934501fd
arm64: do not consider WZR & XZR alias registers
2014-05-18 00:07:24 +08:00
danghvu
461ab82ae8
Fix broken java binding
2014-05-14 02:37:08 -05:00
danghvu
0c478ab2f9
Fix Makefile to use && as well in bindings
2014-05-12 14:35:54 -05:00
Nguyen Anh Quynh
d7c2a651c2
java: delete dirs of generated binaries in clean target when BUILDDIR is defined
2014-05-01 21:49:52 +08:00
Ole André Vadla Ravnås
f4f305542f
Makefile: add support for building java binding out-of-tree
2014-05-01 01:38:01 +02:00
Nguyen Anh Quynh
0eefeb9335
java: add FSTPNCE instruction following the core update
2014-04-23 12:50:20 +08:00
Nguyen Anh Quynh
a542efe31b
java: add SAL instruction following the core udpate
2014-04-17 09:41:13 +08:00
Nguyen Anh Quynh
b5236ff33d
java: update after the last change to the core of systemz
2014-03-24 17:29:37 +08:00
Nguyen Anh Quynh
98726958fe
java: Sparc's operand array size = 4
2014-03-24 16:11:39 +08:00
Nguyen Anh Quynh
21bd3930e6
java: add SystemZ arch
2014-03-23 22:21:54 +08:00
Nguyen Anh Quynh
4321468245
java: fix Sparc to get correct CsSparc fields
2014-03-23 10:47:33 +08:00
Nguyen Anh Quynh
1a48ba3636
java: fix Sparc test
2014-03-10 22:31:14 +08:00
Nguyen Anh Quynh
1a39bb59e1
API: bump to 2.2 after the addition of Sparc support
2014-03-10 20:49:46 +08:00
Nguyen Anh Quynh
d067ebc697
java: support Sparc
2014-03-10 15:03:16 +08:00
Nguyen Anh Quynh
892729ca11
java: add error modes, version() & support diet engine
2014-03-03 15:14:22 +08:00
Nguyen Anh Quynh
66b33476aa
java: fix call to cs_close() following core's API change
2014-02-28 10:08:31 +08:00
Nguyen Anh Quynh
0ea1251f50
python & java: update instruction constants after the last core update
2014-02-25 14:44:32 +08:00
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