Commit graph

336 commits

Author SHA1 Message Date
Nguyen Anh Quynh
fdffe2b048 python: setup.py should use make.sh for non-Windows systems, so all the *nix systems are supported 2015-01-28 13:48:51 +08:00
Nguyen Anh Quynh
decc0d3d02 python: make setup.py support other *nix systems (i.e non-Windows) 2015-01-28 13:46:49 +08:00
Nguyen Tan Cong
36d293a19b prevent Windows system copying *nix core library to Python library directory 2015-01-28 12:33:06 +07:00
Nguyen Tan Cong
d4b00ae3cd config distutils setup to automate copying shared library to Python library directiory; fixbug: prevent make.sh running on windows system 2015-01-28 11:54:02 +07:00
Nguyen Anh Quynh
1de34c1aef python: setup.py should not install the core, and no need to put BUILD_CORE_ONLY into config.mk 2015-01-28 05:05:12 +08:00
Nguyen Tan Cong
39fd154139 Edit setup.py to build python binding with make.sh 2015-01-28 00:35:44 +07:00
Nguyen Tan Cong
ead10b7a60 fixbug: wrong library extension on Mac OS X 2015-01-27 11:25:33 +07:00
Michael Cohen
b9d3f1b833 Fix the extesion built on osx. 2015-01-26 18:03:14 +01:00
Michael Cohen
f601fddc53 Merge branch 'next' of https://github.com/aquynh/capstone into python 2015-01-26 17:33:21 +01:00
Michael Cohen
4cefabec8e Merge branch 'pypi' into python 2015-01-26 17:30:28 +01:00
Michael Cohen
f217d2872f Update building script to copy source files to build directory if missing. 2015-01-26 17:29:54 +01:00
Michael Cohen
8ad6f02884 Merge branch 'pypi' of https://github.com/aquynh/capstone into python 2015-01-26 10:33:57 +01:00
Michael Cohen
223967bb5b Merge branch 'master' of https://github.com/aquynh/capstone into python 2015-01-26 10:33:28 +01:00
Aidan Hobson Sayers
05ab290f73 Set _detail in a dummy Cs, closes #251 2015-01-21 06:48:06 +08:00
Aidan Hobson Sayers
dbeeaf7d64 Set _detail in a dummy Cs, closes #251 2015-01-20 20:04:52 +00:00
Josh
50c3823f50 - Fixed memory leak for cython disasm functions 2015-01-16 22:15:35 +08:00
Josh
90eb5ff592 - Fixed memory leak for cython disasm functions 2015-01-16 07:39:07 -05:00
Nguyen Anh Quynh
42d11f7dd3 python: fix test_arm.py 2015-01-13 20:43:23 +08:00
Nguyen Anh Quynh
b3e26fdaa6 x86: add prefix constant REPE 2015-01-13 12:03:15 +08:00
Nguyen Anh Quynh
2951e640a4 Merge branch 'next' of https://github.com/aquynh/capstone into next 2015-01-12 15:28:22 +08:00
Nguyen Anh Quynh
590b1de14b python: update Python binding for ARM after the latest change in the core 2015-01-12 15:28:03 +08:00
Nguyen Anh Quynh
78d640045c cython: fix incomplete array of bytes returned by CsInsn.bytes. bug reported by @secretsquirrel 2015-01-07 22:08:35 +08:00
Nguyen Anh Quynh
4de9de683d cython: fix incomplete array of bytes returned by CsInsn.bytes. bug reported by @secretsquirrel 2015-01-07 22:07:42 +08:00
Maciej Szawlowski
2c24d88f89 fixed bug that prevented using md.detail = true and md.skipdata = true together 2014-12-31 10:33:05 +08:00
Nguyen Anh Quynh
dc101c25b3 Merge branch 'master' of https://github.com/mszawlow/capstone into next 2014-12-31 10:32:12 +08:00
Maciej Szawlowski
9b0221f229 fixed bug that prevented using md.detail = true and md.skipdata = true together 2014-12-30 22:37:04 +01:00
Nguyen Anh Quynh
61ab00718a x86: remove dead code & dead SSE_CC constants. issue reported by Coverity 2014-12-27 15:42:13 +08:00
Nguyen Anh Quynh
1038fdb038 x86: add new registers DR8-DR15 2014-12-27 15:33:12 +08:00
Nguyen Anh Quynh
59c72afe7a x86: add 3 new undocumented instructions fdisi8087_nop, feni8087_nop & ffreep 2014-12-26 23:59:35 +08:00
Nguyen Anh Quynh
534b948661 bump version to 4.0 2014-12-26 23:14:53 +08:00
Nguyen Anh Quynh
2537cfd669 python: fix a memory leak issue when we stop enumeration over the disassembled instructions prematurely. patch by Jan Newger 2014-12-16 00:09:40 +08:00
Nguyen Anh Quynh
8ab01369d7 python: export generic operand types & groups 2014-11-19 22:12:40 +08:00
Nguyen Anh Quynh
89460299c3 python: python2.6 does not understand sys.versionn_info.major 2014-11-19 14:37:08 +08:00
Nguyen Anh Quynh
05522dcb8c python: add some missing source files of sdist (setup.py) 2014-11-18 14:22:51 +08:00
Nguyen Anh Quynh
4e3b933b76 python: fix setup.py for possible failure on dir_util.remove_tree() if src/ is not empty 2014-11-18 11:06:31 +08:00
Nguyen Anh Quynh
7f6d4a932f python: add Python 3 support into classifiers of setup.py 2014-11-18 10:45:21 +08:00
Nguyen Anh Quynh
f32d08a7ec Merge branch 'next' into pip 2014-11-18 10:43:46 +08:00
Nguyen Anh Quynh
faa925ab8f fix bindings (python/java) and tests after the last change on the type of imm of cs_arm64_op 2014-11-17 11:39:36 +08:00
Michael Cohen
4c1384fa31 Updated setup.py so it can build the capstone library by itself.
This is a requirement for an automated install via pip. After this change it
should be possible to depend on captone in pip and have it built automatically.
2014-11-15 22:15:12 +01:00
Nguyen Anh Quynh
75c9b6a45c python: fix comments on hardware modes 2014-11-13 11:55:56 +08:00
Nguyen Anh Quynh
143a494ae7 python: add CS_MODE_MIPS32/64 2014-11-13 11:45:57 +08:00
Nguyen Anh Quynh
ec58a02c6d python: update Mips modes to CS_MODE_MIPS32 & CS_MODE_MIPS64 2014-11-13 11:42:38 +08:00
Nguyen Anh Quynh
7e75ca6d21 python: CS_MODE_MIPS32R6 is independent from CS_MODE_32 2014-11-13 11:17:38 +08:00
Nguyen Anh Quynh
6782cbf5fd cython: support the newly added field mem_barrier in cs_arm 2014-11-12 11:22:16 +08:00
Nguyen Anh Quynh
128124c995 python: typo on README 2014-11-12 11:13:39 +08:00
Nguyen Anh Quynh
bd8543152a cython: add XCore to debug string 2014-11-12 11:04:39 +08:00
Nguyen Anh Quynh
9ba1906470 python: test_ppc.py prints crx.scale & crx.cond as integers 2014-11-12 10:13:11 +08:00
Nguyen Anh Quynh
0b3d95e4b3 java/ocaml/python: support the newly added mem_barrier field of cs_arm struct 2014-11-11 23:00:35 +08:00
Nguyen Anh Quynh
2e40e69207 arm: add sample code for ARM's CS_MODE_MCLASS & CS_MODE_V8 2014-11-11 21:54:22 +08:00
Nguyen Anh Quynh
c942f22a09 arm: support new mode CS_MODE_V8 for Armv8 A32 encodings 2014-11-10 21:52:09 +08:00