Commit graph

346 commits

Author SHA1 Message Date
Nguyen Anh Quynh
1685df6f88 python: tolerance of the build process in setup.py 2015-01-30 13:25:16 +08:00
Nguyen Anh Quynh
5115d6eebe python: installer now can compile Window core from source with CMake+MSVC 2015-01-30 11:55:16 +08:00
Nguyen Anh Quynh
36e8312646 python: rename variable 'result' to 'src' 2015-01-30 11:28:51 +08:00
Nguyen Anh Quynh
6b9b032081 python: fix setup.py, so we only copy the core with sdist, thus normal build/compile process does not build the core 2015-01-30 10:21:09 +08:00
Nguyen Anh Quynh
794a706b3e Makefile: rename BUILD_CORE_ONLY to CAPSTONE_BUILD_CORE_ONLY for consistency 2015-01-30 09:07:51 +08:00
Nguyen Anh Quynh
639a3f04ef python: fix README (libcapstone.dll -> capstone.dll) 2015-01-30 08:58:07 +08:00
Nguyen Tan Cong
dfe827e86a reverse -b option in Makefile; parse parameters with parse_known_args to ignore error when passing extra options; fixbug python3: use print statement 2015-01-30 00:25:08 +07:00
Nguyen Tan Cong
7c03cd88ed Edit Makefile to appropriate with new setup.py 2015-01-29 23:21:35 +07:00
Nguyen Tan Cong
17dfd3a1b6 add --do-not-build-core to setup.py to prevent it install core library 2015-01-29 17:06:14 +07:00
Nguyen Tan Cong
1947adb15c edit script to create Pypi package 2015-01-28 17:03:41 +07:00
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