Commit graph

254 commits

Author SHA1 Message Date
Nguyen Anh Quynh
0efef5dd48 solve some conflicts when merging -next into -v3 2014-08-25 17:01:45 +08:00
Nguyen Anh Quynh
c1a44f1437 python: fix a typo in @propery skipdata.setter 2014-08-21 12:25:47 +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
b3dea5641a python: fix test_skipdata.py after the change in the core on SKIPDATA's callback prototype 2014-07-10 15:58:24 +08:00
Nguyen Anh Quynh
cbc7dd9392 python: fix test_skipdata.py after the change in the core on SKIPDATA's callback prototype 2014-07-10 15:57:42 +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
245cac58fa python: support newly added API cs_group_name() 2014-07-08 10:23:34 +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
0de6783d49 python: print instruction's basic info from print_detail() of test_detail.py 2014-06-24 23:00:16 +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
bb6440c5ef x86: extend cs_x86.opcode to 4 bytes to contain EVEX opcode. this also updates Python binding following this interface change 2014-06-24 21:46:54 +08:00
Nguyen Anh Quynh
14ba46bfab x86: add segment to x86_op_mem struct. this fixes a bug in generating detail for instructions with segment override. bug reported by Sean Heelan. 2014-06-24 14:32:01 +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
e792451cce python: update after the last change in x86 core 2014-06-18 12:27:54 +08:00
Nguyen Anh Quynh
4fe59955d6 python: test_detail.py print groups with space delimiter 2014-06-17 13:59:08 +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
Nguyen Anh Quynh
02f817680b python: fix an use-after-free issue. bug reported by Luis Miras 2014-06-12 13:00:40 +07:00
Nguyen Anh Quynh
4aacbea1b6 Merge branch 'next' into cmake2 2014-06-04 21:42:22 +07:00
Nguyen Anh Quynh
98bce0f172 python: rename libcapstone.dll to capstone.dll. also load versioning SO (using version 3 for the next API) 2014-06-04 21:19:37 +07:00
Nguyen Anh Quynh
a19d3f0b60 Merge branch 'feature/x86-groups' of https://github.com/parasyte/capstone into test 2014-06-04 13:35:12 +07:00
Nguyen Anh Quynh
7e22936c0a python: expose print_detail() in test_detail.py to make it reusable 2014-06-03 13:14:34 +07: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
c54b7ac907 python: add test_xcore.py 2014-05-27 23:37:33 +08: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
d0f3e15d90 python: fix Xcore bug 2014-05-27 00:05:16 +08:00
Nguyen Anh Quynh
553bb488d7 python: support XCore 2014-05-26 23:47:45 +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
0ebbf1e49c python: ArmOpValue.imm uses int32 type after the last change in the core 2014-05-24 13:33:14 +08:00
Nguyen Anh Quynh
e96e34df9a python: test_x86.py print prefixes with a space between consecutive bytes 2014-05-22 12:33:29 +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
Nguyen Anh Quynh
cb2c4f90bf test_x86: output sib_base, sib_index, sib_scale separately 2014-05-17 13:12:29 +08:00
Nguyen Anh Quynh
688efe3018 python: properly handle SIB's registers on irrelevant cases (zero value) of test_x86.py 2014-05-17 11:08:08 +08:00
Nguyen Anh Quynh
1aa60d0921 python: handle invalid argument (zero) for reg_name() & insn_name() of class CsInsn 2014-05-17 11:06:44 +08:00
Nguyen Anh Quynh
1098329f40 python: refactor tests, so it is possible to reuse print_insn_detail() of all archs 2014-05-17 09:51:15 +08:00