* Remove deprecated packaging and cython
* Fix some issues after cherry-picking
* Fix CI issues
* Remove test files added for v6
* Also remove test_alpha.py
* Add Python bindings for WASM
* Update Python bindings for m68k
* Update Python bindings for mos65xx
* Update Python bindings for x86
* Add Python bindings for SH
* Update CS_* constants in Python bindings
* Update constants from ARM auto-sync patch
* Fixing TriCore disasm instructions (#2088)
* allow absolute CMAKE_INSTALL_*DIR (#2134)
This patch fixes Capstone 5 build on NixOS.
NixOS's build infrastructure sets CMAKE_INSTALL_{LIB,INCLUDE}DIR to
absolute paths. If you append it to ${prefix}, you get the wrong path.
NixOS automatically detects it and links this issue:
https://github.com/NixOS/nixpkgs/issues/144170
* Disable swift binding const generate
* update bindings const
* update capstone version
* update ChangeLog
---------
Co-authored-by: Peace-Maker <peace-maker@wcfan.de>
Co-authored-by: Bastian Koppelmann <bkoppelmann@users.noreply.github.com>
Co-authored-by: chayleaf <chayleaf@protonmail.com>
* Add Python bindings for WASM
* Update Python bindings for m68k
* Update Python bindings for mos65xx
* Update Python bindings for x86
* Add Python bindings for SH
* Update CS_* constants in Python bindings
* Update constants from ARM auto-sync patch
* Fixing TriCore disasm instructions (#2088)
* allow absolute CMAKE_INSTALL_*DIR (#2134)
This patch fixes Capstone 5 build on NixOS.
NixOS's build infrastructure sets CMAKE_INSTALL_{LIB,INCLUDE}DIR to
absolute paths. If you append it to ${prefix}, you get the wrong path.
NixOS automatically detects it and links this issue:
https://github.com/NixOS/nixpkgs/issues/144170
---------
Co-authored-by: Peace-Maker <peace-maker@wcfan.de>
Co-authored-by: Bastian Koppelmann <bkoppelmann@users.noreply.github.com>
Co-authored-by: chayleaf <chayleaf@protonmail.com>
#2034 changed the `regs_read` array size and added a new `writeback`
element to the cs_detail struct.
Those changes weren't reflected in the Python bindings causing details
to be missing.
The library ctypes has shipped with the python standard library since
Python 2.5, however this was still added via the `requires` keyword in
setuptools.setup. This results in a spurious requirement being created
in the .whl METADATA file, causing warnings when packaged via tools like
pex:
```
$ python3 -m pex capstone -o capstone.pex
/Users/ott/.venv/lib/python3.9/site-packages/pex/dist_metadata.py:397: PEXWarning: Ignoring 1 `Requires` field in /Users/ott/.pex/installed_wheels/2a4c7a0d4c87aceed3134ae20997a764af1811fee8e151cf5da90e0462822893/capstone-4.0.2-py3-none-macosx_12_arm64.whl metadata:
1.) Requires: ctypes
You may have issues using the 'capstone' distribution as a result.
More information on this workaround can be found here:
https://github.com/pantsbuild/pex/issues/1201#issuecomment-791715585
```
Since this requirement is outdated, it can just be removed.