Nguyen Anh Quynh
3808eec033
python: shared library can be unloaded from under our feet. issue reported by @joelpx
2015-06-04 11:37:45 +08:00
Nguyen Anh Quynh
1319f0c6d7
python: rename test.py to test_basic.py
2015-06-03 22:14:59 +08:00
Nguyen Anh Quynh
147729e8d7
python: change PpcOpValue.imm type to c_int64 after the recent change in the core
2015-05-16 09:29:02 +08:00
Nguyen Anh Quynh
38d3f661aa
python: update README.pypi-src
2015-05-15 17:02:47 +08:00
Nguyen Anh Quynh
87ba408aff
python: update PyPi packages installation doc
2015-05-15 16:59:09 +08:00
Zach Riggle
73537ceeaf
Add reverse lookup for top-level Capstone constants
2015-05-13 11:54:22 +08:00
Nguyen Anh Quynh
76e46d6e9b
Merge branch 'next' of https://github.com/aquynh/capstone into next
2015-05-12 09:26:18 +08:00
Nguyen Anh Quynh
4b7616183c
python: do not try to load libcapstone.so.3
2015-05-10 10:23:05 +08:00
Zach Riggle
1b293064f6
Fix error when _cs is None during teardown
2015-05-09 16:06:48 -04:00
Nguyen Anh Quynh
af416e2ff8
bindings: update newly added ARM groups CALL & INT
2015-05-08 23:59:15 +08:00
Nguyen Anh Quynh
34502fad7d
python: remove the leftover code in the last commit
2015-05-02 11:39:38 +08:00
Nguyen Anh Quynh
91a1cb4b03
arm: correct the alias instruction id for MOVsi instructions. bug reported by @joelpx
2015-05-02 11:38:34 +08:00
learn_more
3e915db782
give reg_name, insn_name, group_name a customizable default instead of returning something else for id 0
...
remove the check for self._raw.id on reg_name and group_name (in CsInsn, since the to_name functions don't operate on the current instruction)
Add reg_name, insn_name and group_name to Cs.
update test_group_name.py with the new api.
2015-04-28 19:29:51 +02:00
danghvu
60a7f422fd
Fix a bug in Cython due to renaming
2015-04-28 13:55:29 +08:00
Nguyen Anh Quynh
9554a4f318
python: a minor fix for test_customized_mnem.py
2015-04-27 12:56:31 +08:00
Nguyen Anh Quynh
03d1e1f86d
python: clean up test_*.py
2015-04-27 11:51:48 +08:00
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