Commit Graph

383 Commits

Author SHA1 Message Date
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 faf368b656 Merge branch 'next' into opsize 2014-07-07 11:59:36 +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
Guillaume Jeanne 58fe9716d9 ocaml: simplification in ocaml.c: op_count variable 2014-06-30 16:18:55 +02:00
Guillaume Jeanne da1c2d0d7d ocaml: ppc test is working 2014-06-30 15:59:21 +02:00
Guillaume Jeanne e002ac7b10 ocaml: add support of ppc 2014-06-30 15:46:04 +02:00
Guillaume Jeanne 2147194e1f ocaml: add ppc.ml with all ppc const 2014-06-30 15:19:02 +02:00
Nguyen Anh Quynh af6825a480 Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-06-27 22:32:48 +08:00
Nguyen Anh Quynh e9476ae696 update bindings/README for C++ binding 2014-06-27 22:32:25 +08:00
Guillaume Jeanne 7ce90f1649 ocaml: update reg/inst/group const in x86 2014-06-27 13:41:25 +02:00
Guillaume Jeanne 0a50980831 ocaml: update reg/inst/group const in mips 2014-06-27 13:39:45 +02:00
Guillaume Jeanne e2cb91d866 ocaml: update reg/inst/group const in arm 2014-06-27 13:35:25 +02:00
Guillaume Jeanne d157775c20 ocaml: update reg/inst/group const in arm64 2014-06-27 13:30:26 +02:00
Nguyen Anh Quynh 7178cd0e6f Merge branch 'next' into opsize 2014-06-26 23:48:19 +08:00
Nguyen Anh Quynh 28b1f49b39 ocaml: update README 2014-06-26 22:29:46 +08:00
Guillaume Jeanne cece24e426 working OCaml bindings 2014-06-26 15:35:06 +02: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 eeb06902ed java: update X86 after the last change in the core 2014-06-24 21:48:19 +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 0467842205 java: update X86 binding after the last update in the core 2014-06-24 14:35:47 +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 e68ce0ecc8 java: update after the last change in x86 core 2014-06-18 12:33:39 +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 86064533e5 bindings: add README 2014-06-03 17:38:15 +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 4d00986c6b java: add Xcore support 2014-05-27 14:54:28 +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
Nguyen Anh Quynh fc3636a0b8 python: update test_all.py 2014-05-17 09:45:23 +08:00
danghvu 461ab82ae8 Fix broken java binding 2014-05-14 02:37:08 -05:00
danghvu cdf6b8222c Fix mismatch tests' output of python binding 2014-05-14 02:36:45 -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
Nguyen Anh Quynh e028ac542b Merge branch 'feature/java-out-of-tree' of https://github.com/frida/capstone into outoftree 2014-05-01 21:36:35 +08:00
Nguyen Anh Quynh 5ef2482af4 python: fix some Cython bugs introduced when X86_REDUCE option was added 2014-05-01 21:34:55 +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
Ole André Vadla Ravnås e3ef6659ed Makefile: add support for building python binding out-of-tree 2014-05-01 00:53: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 2ef89c6137 python: add FSTPNCE instruction following the core update 2014-04-23 12:49:48 +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 babb22e009 python: add SAL instruction following the core udpate 2014-04-17 09:40:38 +08:00
Nguyen Anh Quynh 2b2e11b789 python: make cs_disasm_lite() support Python3 2014-04-16 21:20:34 +08:00
Nguyen Anh Quynh 444d2bd3c3 python: expose cs_disasm_lite() 2014-04-16 20:00:06 +08:00
Nguyen Anh Quynh 2daab25891 python: python3 binding requires python3 installed 2014-04-14 16:34:30 +08:00
Nguyen Anh Quynh e5d30e6980 python: add install3 target for installing Python3 package 2014-04-14 16:33:04 +08:00
Nguyen Anh Quynh b1e14f913d python: optimize to_x() & to_x_32() for python3 2014-04-14 16:21:34 +08:00
Nguyen Anh Quynh 5a46c146b5 python: fix to_x() & to_x_32() in test.py 2014-04-14 16:13:25 +08:00
Nguyen Anh Quynh 4b9de0df04 python: change SKIPDATA's callback prototype after the last change in the core 2014-04-14 14:56:25 +08:00
Nguyen Anh Quynh 749046bbdc python: initial Python3 support 2014-04-12 01:15:10 +08:00
fenuks 110ab1debd Python 3 support 2014-04-11 11:00:33 +02:00
Nguyen Anh Quynh 669e329ec7 python: temprorarily comment out the code removing old package in setup.py & setup_cython.py. this should be moved somewhere later 2014-04-11 11:25:06 +08:00
Nguyen Anh Quynh b64d1cf193 refine the comments for Skipdata sample code 2014-04-10 23:05:28 +08:00
Nguyen Anh Quynh 301d740aa3 python: rename skipdata_opt to skipdata_setup & handle callback properly 2014-04-10 22:34:27 +08:00
Nguyen Anh Quynh 1eccbaba38 python: minor fix for test_skipdata.py 2014-04-10 17:48:19 +08:00
Nguyen Anh Quynh 49f8f22984 python: handle SKIPDATA mode properly in test code 2014-04-10 17:40:10 +08:00
Nguyen Anh Quynh c2638ce57f python: disable setup to skipdata_opt in test_skipdata.py 2014-04-10 16:10:57 +08:00
Nguyen Anh Quynh f0c577fd3d python: support SKIPDATA option. this also adds test_skipdata.py 2014-04-10 16:09:15 +08:00
Nguyen Anh Quynh 34456afdb1 python: temprorarily comment out the code removing old package in setup.py & setup_cython.py. this should be moved somewhere later 2014-04-10 12:06:55 +08:00
Nguyen Anh Quynh 59b5489d8e x86: rename X86_COMPACT to X86_REDUCE. suggested by Pancake 2014-03-27 10:54:44 +08:00
Nguyen Anh Quynh 0d9440ced2 python: expose CS_SUPPORT_X86_COMPACT 2014-03-26 14:03:42 +08:00
Nguyen Anh Quynh 9518148e6f add X86_COMPACT option. also add CS_SUPPORT_X86_COMPACT. made Python support this change 2014-03-25 23:20:41 +08:00
Nguyen Anh Quynh 965ebf8a25 python: add more information to debug() 2014-03-05 00:35:03 +08:00
Nguyen Anh Quynh 534b416d62 python: thanks to the last change in the core, tricky call to cs_open() is no longer needed for debug() 2014-03-05 00:25:32 +08:00
Nguyen Anh Quynh 7fc8121e6b python: rename cs_version_bind() to version_bind() 2014-03-04 23:56:42 +08:00
Nguyen Anh Quynh 9aff233a42 python: fix debug() for Cython 2014-03-04 23:46:36 +08:00
Nguyen Anh Quynh d0abe15081 python: add debug() function 2014-03-04 23:12:04 +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 548b6b535d cython: add comments for all API methods 2014-03-03 12:17:47 +08:00
Nguyen Anh Quynh 6f7e3a0c37 cython: add missing counters for CsDetail. this fixes some crashes when accessing related data. also fixes reg_read() & reg_write() for CsInsn 2014-03-03 11:27:30 +08:00
Nguyen Anh Quynh f4e2344401 cython: add __dealloc__ method to Cs class to free memory when destroying its object. this fixes a memleak bug 2014-03-02 22:26:05 +08:00