Commit Graph

402 Commits

Author SHA1 Message Date
Nguyen Anh Quynh bbde6d5c63 python: support option CS_OPT_MNEMONIC 2015-04-27 11:34:44 +08:00
Nguyen Anh Quynh 44adb35f6a python: clean test_skipdata.py 2015-04-27 11:12:53 +08:00
Nguyen Anh Quynh 97eba89f3d python: correct a comment of method CsInsn.group_name() 2015-04-26 10:44:34 +08:00
Vincent Bénony d2f47d065f Remove enum for ASRS, LSRS, SUBS and MOVS
These instructions are now disassembled ASR, LSR, SUB and MOV, with the "update_flags" bit set.
2015-04-17 11:42:45 +02:00
Nguyen Anh Quynh cbbbac24c3 Merge branch 'next' of https://github.com/aquynh/capstone into next 2015-04-07 16:06:27 +08:00
Nguyen Anh Quynh c343a917fb python: revert to use distutils rather than setuptools 2015-04-07 16:03:01 +08:00
Hank Leininger 3feaa11cd9 Add DESTDIR support for the python binding.
Without this patch, DESTDIR is ignored, so build systems that use a
staging sandbox prior to installing in real-root, such as Gentoo,
cannot build the python binding.

Caveats:

1) I wrote/tested this against the 3.0.2 release, not current HEAD.

2) It might be preferable to do DESTDIR ?= / at the top of the Makefile,
   so that the if/else/fi can be squashed back out.

3) The install_cython target probably needs a similar change; untested.

4) Other bindings might need something similar.
2015-04-07 15:39:05 +08:00
Hank Leininger 1c0288043c Add DESTDIR support for the python binding.
Without this patch, DESTDIR is ignored, so build systems that use a
staging sandbox prior to installing in real-root, such as Gentoo,
cannot build the python binding.

Caveats:

1) I wrote/tested this against the 3.0.2 release, not current HEAD.

2) It might be preferable to do DESTDIR ?= / at the top of the Makefile,
   so that the if/else/fi can be squashed back out.

3) The install_cython target probably needs a similar change; untested.

4) Other bindings might need something similar.
2015-04-07 13:16:55 +08:00
Nguyen Anh Quynh 2a36c1631b python: fix test_arm.py (indentation on output) 2015-04-07 13:09:16 +08:00
Nguyen Anh Quynh 8fa48fbd8a bindings: update java/ocaml/python bindings after the last change on Arm core 2015-04-07 12:22:51 +08:00
Nguyen Anh Quynh 4544ba1f02 cython: support cs_regs_access() API 2015-04-02 22:54:52 +08:00
Nguyen Anh Quynh a9015396eb python: X86Op.avx_zero_mask should have c_bool type 2015-04-01 01:10:27 +08:00
Nguyen Anh Quynh 076dc6f124 Merge branch 'newapi' into next 2015-03-26 00:40:57 +08:00
Nguyen Anh Quynh 95d4e9fd00 python: fix access info of test_x86.py (CS_AC_READ|CS_AC_WRITE) 2015-03-26 00:27:19 +08:00
Nguyen Anh Quynh 10647aef58 bindings: update java/ocaml/python after the latest changes in the core for the new API 2015-03-25 17:35:59 +08:00
Richo Healey 3c862d5c11 python: Use setuptools if avilable 2015-03-22 23:05:58 -07:00
Nguyen Anh Quynh 88a95535d0 python: simplify setup.py 2015-03-19 16:57:47 +08:00
Nguyen Tan Cong e830b75d94 python: properly build the core in Cygwin environment for setup.py 2015-03-19 16:09:38 +08:00
Mario Vilas 0950943392 Fixed #289 2015-03-18 07:43:53 +07:00
Nguyen Anh Quynh 85120cce23 bindings: add ARM64_GRP_CALL & ARM64_GRP_RET groups after the related change in the core 2015-03-16 23:53:59 +07:00
Nguyen Anh Quynh 197fe1c14c bindings: add {ARM|ARM6}GRP_PRIVILEGE 2015-03-12 18:18:24 +08:00
Nguyen Anh Quynh cac770a0cb bindings: support QPX mode & QPX alias instructions 2015-03-12 17:03:33 +08:00
Nguyen Anh Quynh 4dd0dcb9d4 add CS_GRP_PRIVILEGE group, and also add X86_GRP_PRIVILEGE group for bunch of X86 privileged instructions 2015-03-09 00:04:45 +08:00
Nguyen Anh Quynh e4ca35d561 x86: delete the fiction instruction X86_INS_VPCOM 2015-03-07 16:05:06 +08:00
Nguyen Anh Quynh 7a94483452 x86: remove another fiction instruction VCMP 2015-03-07 14:37:59 +08:00
Nguyen Anh Quynh e402e021b8 x86: remove unreal instruction VPCMP 2015-03-07 14:33:40 +08:00
Nguyen Anh Quynh 825a228a0f python: make Cython binding support X86's @xop_cc 2015-03-07 13:49:14 +08:00
Nguyen Anh Quynh debaa2eefc bindings: support newly added field @xop_cc in the last commit (Java, Ocaml, Python) 2015-03-07 13:46:21 +08:00
Nguyen Anh Quynh ad42f16b14 mips: remove the confusing mode CS_MODE_MIPSGP64 2015-03-07 00:48:06 +08:00
Nguyen Anh Quynh 54d5071288 x86: update core. also update all the bindings Java, Ocaml & Python 2015-03-06 00:52:49 +08:00
Nguyen Anh Quynh 18336b7039 bindings: update Java, Ocaml & Python bindings after the last Mips update 2015-03-02 18:16:56 +08:00
Nguyen Anh Quynh ff3a29e6ac python: fix Version of PKG-INFO.win 2015-02-28 09:30:15 +08:00
Nguyen Anh Quynh 72d3c4fb81 bindings: change include dir after the patch of @pancake 2015-02-28 08:42:40 +08:00
Nguyen Anh Quynh 764112d144 python: fix a bug in test_arm.py 2015-02-15 09:53:39 +08:00
StalkR 0822c3459f python bindings: rename member struct to _csh to avoid conflict with typedef csh 2015-02-11 22:16:13 +08:00
Nguyen Anh Quynh d7c0f5dcae python: indentation for README.TXT 2015-02-04 10:35:17 +08:00
Nguyen Anh Quynh f5cc2cea10 python: add instructions for PyPi packages 2015-02-04 10:35:04 +08:00
Nguyen Anh Quynh 9cb73a01fb python: typo in setup.py 2015-02-04 10:34:50 +08:00
Nguyen Anh Quynh a87c0b01ad python: rename Windows package from capstone-win to capstone-windows 2015-02-04 10:34:38 +08:00
Nguyen Anh Quynh 42e8388b61 python: do not include msvcr120.dll because we can static compile it 2015-02-04 10:34:28 +08:00
Nguyen Anh Quynh df5f908a4a python: setup.py builds Windows core with cmake in release mode 2015-02-04 10:34:06 +08:00
Nguyen Anh Quynh 59bc84de1d python: distribute msvcr120.dll for Windows installer 2015-02-04 10:33:55 +08:00
Nguyen Anh Quynh 58a8369067 python: clean prebuilt core in install targets of Makefile 2015-02-04 10:33:43 +08:00
Nguyen Anh Quynh 35ceed7b8f python: fix installer 2015-02-04 10:33:29 +08:00
Nguyen Anh Quynh 0498085a1c python: add README.pypi* 2015-02-04 10:31:54 +08:00
Nguyen Anh Quynh 00eb3dea4f python: setup.py only copies source if prebuilt libs are not existent 2015-02-04 10:31:28 +08:00
Nguyen Anh Quynh e00bb43e25 python: add dummy prebuilt/ dir to keep Windows binaries 2015-02-04 10:31:18 +08:00
Nguyen Anh Quynh 1585d88406 python: make setup.py support pre-built Windows core 2015-02-04 10:31:02 +08:00
Nguyen Anh Quynh e62c6ce467 python: rename README to README.TXT 2015-02-04 10:30:51 +08:00
Nguyen Tan Cong f392901fa5 add prebuilt setup for Windows system 2015-02-04 10:30:36 +08:00