74 Commits

Author SHA1 Message Date
null-cell 2a611d9a8c adds documentation for porting, resolves PR comments 2023-05-15 11:05:31 +02:00
null-cell 796d0c0f35 cleanup and formatting 2023-03-28 14:09:12 +02:00
null-cell bc980f071e local build cleanup 2023-03-28 13:35:27 +02:00
null-cell d1eee1b6b1 adds support for relaxation, compression, code cleanup 2023-03-28 12:01:25 +02:00
null-cell 508a57ae20 adds a root DESTDIR to Makefile for global install 2023-03-23 14:40:33 +01:00
null-cell db85c1e08a updates extra version of keystone, updated generated consts with RISCV 2023-03-23 12:18:11 +01:00
chfl4gs e1547852d9 Fixing python binding build and installation on cygwin (#478)
* Travis-CI build & nmake batch file updates

* Fixed zip_safe and cygwin setup
2020-09-01 22:49:55 +08:00
Michael Mohr 1597c894ed Update Debian packaging for 0.9.2 (#476)
* Update Debian packaging for 0.9.2.

Signed-off-by: Michael Mohr <akihana@gmail.com>

* Fix the Python package version declaration

Signed-off-by: Michael Mohr <akihana@gmail.com>
2020-07-27 12:44:31 +08:00
Nguyen Anh Quynh 4c4f956e94 python: ready to release 0.9.2 2020-06-18 22:24:10 +08:00
Nguyen Anh Quynh 137d4aa063 python: 0.9.2rc1.post2 2020-06-14 11:05:25 +08:00
Nguyen Anh Quynh ceb5df4ec4 Merge branch 'master' of github.com:keystone-engine/keystone 2020-06-14 11:04:15 +08:00
chfl4gs e405f7b1a1 PyPI updates (#469)
* Travis-CI build & nmake batch file updates

* pypi fix
2020-06-14 01:45:32 +08:00
Nguyen Anh Quynh 9d36a3992f python: update MANIFEST.in 2020-06-13 22:11:03 +08:00
Nguyen Anh Quynh 56315660eb version 0.9.2rc1p1 2020-06-13 22:00:28 +08:00
Nguyen Anh Quynh 4eaa68b34d version 0.9.2rc1p1 2020-06-13 21:45:09 +08:00
Nguyen Anh Quynh e099a0bad4 python: hard code long description 2020-06-13 21:10:08 +08:00
Nguyen Anh Quynh e1517c1381 python: fix status 2020-06-13 19:52:16 +08:00
Nguyen Anh Quynh b98e48fa3d python: set status to Stable in setup.py 2020-06-13 18:32:32 +08:00
Nguyen Anh Quynh 6ed6474c1a python: set version to 0.9.2rc1 2020-06-13 18:28:03 +08:00
Nguyen Anh Quynh 4cff500eff python: update classifier for setup.py 2020-06-13 18:01:08 +08:00
Bet4 274a3d5b05 Remove import of keystone in setup.py (#467) 2020-06-13 12:06:41 +08:00
Nguyen Anh Quynh e02e86c583 python: fix library versioning 2020-06-13 02:00:40 +08:00
Andrew Benson a5d2b15eef bindings/python: attempt to load versioned library (#466)
Some platforms split *.so into -devel, which then requires the python library
to be patched to load libkeystone.so.0 instead of libkeystone.so.
2020-06-12 15:56:54 +08:00
Nguyen Anh Quynh 5bb69e2f63 update binding consts 2020-06-10 16:09:50 +08:00
Nguyen Anh Quynh ed496084de Merge branch 'master' of github.com:keystone-engine/keystone 2020-06-10 16:02:36 +08:00
Nguyen Anh Quynh 1162af7b1f bump version to 0.9.2 2020-06-10 16:02:14 +08:00
chfl4gs 219547dcfc PyPI packaging workflow and setup.py fix (#465)
* Travis-CI build & nmake batch file updates

* PyPI packaging
2020-06-10 15:51:48 +08:00
Nguyen Anh Quynh 9972c80e09 python: update README files 2020-06-10 15:48:10 +08:00
kj.xwings.l 23b54ce749 quick fix for pip and python binding installation (#456)
* quick fix for pip and python binding isntall

* better fix
2020-05-07 16:57:06 +08:00
Nguyen Anh Quynh 644b64c9c0 python: attempt to load libkeystone.so from /usr/local for Linux, too 2019-12-31 10:07:19 +08:00
Michael Mohr 105761ffe7 Update the Python binding's Debian packaging to build for Python 3 (#442) 2019-11-22 09:15:38 +08:00
Jinmo 13b13d99df add suite/ directory for suite/fuzz, fix python build (#414) 2019-08-02 21:41:00 +08:00
Nguyen Anh Quynh 80d46cee40 add Ethereum VM architecture 2018-03-31 00:08:28 +08:00
Michael Mohr 6eefe77b4e Add Debian packaging (#341) 2018-03-12 19:57:39 +07:00
Segev Finer 1123976377 Add asm(..., as_bytes=True) to Python bindings (#327)
When enabled, the assembled code will be returned as bytes (str on
Python 2) instead of a list of integers, this is more memory efficient,
faster (It's created using ctypes.string_at instead of a loop in
Python), and more convenient since that's the type that most code that
works with bytes in Python expects (That includes capstone).

Defaults to `False` for backwards compatibility, since changing the
return type is a breaking change.
2017-11-29 22:29:04 +08:00
hongxu 5bcff118bb fix python bindings shared library directory issue (#301)
using `data_files` dict prefixed with
`SITE_PACKAGES = os.path.join(get_python_lib(), "keystone")` is not
portable, see #235 and #297 for details. Regular setup configuration does
not work, e.g., specifying `package_data` etc, since that only affects
`sdist`.

The fix is a hack: customize `install_lib` to explicitly copy the file
into keystone install dir.
2017-10-24 09:41:53 +08:00
Nguyen Anh Quynh ba96155275 add KS_VERSION_{MAJOR, MINOR, EXTRA} 2016-10-25 14:52:19 +08:00
Nguyen Anh Quynh f7f71f6318 python: delay import distutils until really need that 2016-10-13 22:54:27 +08:00
Nguyen Anh Quynh 40c477a79d update bindings to add KS_OPT_SYM_RESOLVER. Python binding now supports this option. see sample.py for example 2016-10-02 13:56:10 +08:00
Nguyen Anh Quynh 43899e8389 python: add sample for KS_OPT_SYNTAX_RADIX16 2016-09-10 09:18:16 +08:00
Nguyen Anh Quynh 0c56ef96eb bindings: support RADIX16 syntax added to the core in the last commit 2016-09-10 02:05:57 +08:00
Nguyen Anh Quynh 3664a62666 bindings: fix a debug print in keystone.py 2016-09-01 20:21:47 +08:00
Nguyen Anh Quynh ae0795c254 python: added few notes on PyPi upload to setup.py 2016-08-01 08:16:20 +08:00
Nguyen Anh Quynh 63ca7d039b python: 0.9.1-3 with recent change on make-share.sh 2016-08-01 08:14:25 +08:00
Nguyen Anh Quynh f19be804a9 python: PyPi setup 2016-07-28 04:30:46 +08:00
Nguyen Anh Quynh 1f9e383c1c python: cleanup 2016-07-27 00:27:49 +08:00
Nguyen Anh Quynh 3aadf88ff3 python: add a sample code to get back @stat_count when ks_asm() fails. see issue #228 2016-07-27 00:25:15 +08:00
Nguyen Anh Quynh 961c2c869d python: expose stat_count returned from ks_asm() when error occur. see issue #228 2016-07-27 00:24:33 +08:00
Nguyen Anh Quynh 2678d30b85 python: extra version info 2016-07-17 09:57:46 +08:00
Nguyen Anh Quynh 7dc48f50a9 python: remove redundant Windows dependency 2016-07-14 16:00:03 +08:00