Commit Graph

3117 Commits

Author SHA1 Message Date
lazymio
dccba3f445
Format code 2024-10-13 15:22:49 +08:00
lazymio
b860629595
Fix segfault if tlb is flushed in the hooks 2024-10-13 15:22:49 +08:00
Eli
22591634ec
Support additional API on Python 3 bindings (#2016)
* Styling and commets fixes

* Add errno API support

* Improve OOP approach by adjusting the way reg types are selected

* Leverage new approach to deduplicate reg_read and reg_write code

* Adjust reg_read_batch

* Add support for reg_write_batch

* Adjust x86 MSR accessors

* Turn asserts into descriptive exceptions

* Improve comments and styling

* Fix ARM memcpy neon regression test

* Modify canonicals import

* Introduce ARM CP reg accessors
2024-10-13 15:22:48 +08:00
mio
28dcf7c29f
Implement UC_ARM64_REG_WSP 2024-10-13 15:22:48 +08:00
mio
c20d196316
Refine warning 2024-10-13 15:22:47 +08:00
mio
92bd175b4c
Revert previous break changes that return UC_ERR_ARG for non-existing registers
But print a warning instead
2024-10-13 15:22:47 +08:00
mio
be2b45bd49
Add .gdb_history 2024-10-13 15:22:47 +08:00
elicn
5b8c5885c8
Fix I0-7 registers write 2024-10-13 15:22:46 +08:00
elicn
3c84dd399a
Add read and write support for i386 ZMM0-31 2024-10-13 15:22:46 +08:00
elicn
f645fd087b
Add read and write support for i386 YMM8-31 2024-10-13 15:22:45 +08:00
elicn
69c5a707c8
Add read and write support for i386 XMM16-31 2024-10-13 15:22:45 +08:00
elicn
0626d4799a
Avoid updating CR3 when writing CR1 and CR2 2024-10-13 15:22:45 +08:00
elicn
2181f187ba
Add read and write cases for i386 CR8 2024-10-13 15:22:44 +08:00
Antelox
b978b09d66 Python bindings: Specify SYSTEM_VERSION_COMPAT=0 env var for macos-13 x86_64 runner as per cibuildwheel warning message 2024-10-11 18:22:33 +02:00
Antelox
bbb238ec43 Replaced macos-12 runner with macos-13 since it will be removed soon 2024-10-11 17:56:56 +02:00
Antelox
5a1c8ea8b5 Python bindings:
- Replaced old PyPI-publishing.yml workflow with brand-new one based on cibuildwheel
- Removed old building scripts
2024-10-11 10:14:21 +02:00
Antelox
f90429db72 Python bindings:
- Moved project package settings to the new TOML format
- Refactored setup.py to cleanup/improve the code and make it ready for cibuildwheel
- Updated README.md with the package long description part
- Removed setup.cfg since universal wheel building will be deprecated soon
2024-10-11 10:03:23 +02:00
Antelox
683b97497b Python bindings: Update CMakeLists.txt in order to set CMAKE_OSX_ARCHITECTURES var 2024-10-11 09:33:15 +02:00
Antelox
16fa9ed521 Update .gitignore to exclude PyCharm-related files/folders 2024-10-11 09:30:36 +02:00
Antelox
4e18047c8a Python bindings: Update MANIFEST.in with new paths 2024-10-11 09:29:41 +02:00
Antelox
c9a51ccf43 Python bindings: Remove .gdb_history 2024-10-11 09:27:43 +02:00
Antelox
8d21f262e0 Python bindings: Make the test scripts handy for pytest 2024-10-11 09:27:03 +02:00
mio
8b8126cb75 Fix compatibility of 3.8 2024-10-11 09:23:33 +02:00
mio
d568885d64
Re-add muls_wheel.sh
Thanks to @Antelox

Co-authored-by: @Antelox <anteloxrce@gmail.com>
2024-09-26 19:15:03 +08:00
mio
050f2fbcaf
temp remove 2024-09-26 19:13:57 +08:00
mio
9e0addd682
Still add plat-name for Linux 2024-09-26 19:11:53 +08:00
mio
2ccdc08237
Fix musl build script 2024-09-26 18:47:20 +08:00
mio
867770c7ef
Tag and release 2.1.1 2024-09-26 18:44:51 +08:00
mio
4fa34d43ef
Fix arm64 wheel
93542c397c/cibuildwheel/macos.py (L247-L260)

We shall really migrate to cibuildwheel
2024-09-26 18:38:23 +08:00
mio
9f89428abf
Update changelog for 2.1.1 2024-09-26 18:15:48 +08:00
mio
869968a96f
Only publish when tagging 2024-09-26 18:13:43 +08:00
mio
8bd254c6f5
Update changelog 2024-09-26 17:28:54 +08:00
mio
d645848fd3
Fix macos wheels 2024-09-26 17:26:16 +08:00
mio
08e14abf70
Remove hacks for bdist_wheel 2024-09-26 17:18:36 +08:00
mio
1e04dbf83b
Remove pkg-packages 2024-09-26 17:15:53 +08:00
mio
f164769a9a
Update logging 2024-09-22 00:14:03 +08:00
mio
f8a1e3e695
Update changelog 2024-09-22 00:13:20 +08:00
mio
ed37d2561d
Update release.yml 2024-09-21 23:31:51 +08:00
mio
cdd451a0de
Update prerelease.yml 2024-09-21 23:12:02 +08:00
mio
3f230f3a96
Update README to reflect dev branch 2024-09-21 23:02:38 +08:00
mio
67f08b1c27
Bump version and generate bindings 2024-09-21 23:00:57 +08:00
lazymio
6c4a3fd84b
Merge pull request #2005 from omer54463/dev
Add py.typed to the Python binding package
2024-09-21 23:00:41 +08:00
mio
78cb4affda
Fix uccallback 2024-09-21 22:48:32 +08:00
mio
d87791329f
Add a cmake option 2024-09-21 22:16:02 +08:00
mio
80f0898740
Merge remote-tracking branch 'bits/revive-qemu-logs' into dev 2024-09-21 22:09:07 +08:00
mio
920d076e51
Remove page-collection-locs 2024-09-21 22:03:44 +08:00
mio
6cc7e1d431
Also only reset if hooks are installed 2024-09-21 21:52:38 +08:00
mio
8816883bb3
Fix TLB for snapshots 2024-09-21 21:49:01 +08:00
mio
2cd227f804
Update symbols for tlb_reset_dirty_by_vaddr 2024-09-21 20:54:24 +08:00
mio
8f74405031
Update symbols 2024-09-21 20:51:35 +08:00