Commit Graph

3110 Commits

Author SHA1 Message Date
851914c8d0 Fix segfault if tlb is flushed in the hooks 2024-10-06 23:31:46 +08:00
Eli
ac4872be4c 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-06 23:14:03 +08:00
mio
05e29b4507 Implement UC_ARM64_REG_WSP 2024-10-02 16:03:59 +08:00
mio
d30ba77c71 Refine warning 2024-10-02 16:03:58 +08:00
mio
9f935f505e Revert previous break changes that return UC_ERR_ARG for non-existing registers
But print a warning instead
2024-10-02 16:03:58 +08:00
mio
a637368122 Add .gdb_history 2024-10-02 16:03:58 +08:00
mio
07e67c6570 Remove gdb history 2024-10-02 16:03:57 +08:00
d9b66c4b74 Merge pull request #2017 from elicn/fix-sparc
Fix SPARC I0-7 registers write
2024-10-01 00:03:09 +08:00
elicn
ff06b145e1 Fix I0-7 registers write 2024-09-30 18:52:37 +03:00
35a6b14f1e Merge pull request #2014 from elicn/more-x86-regs
Add support for more Intel registers
2024-09-29 14:13:13 +08:00
elicn
9af1df6543 Add read and write support for i386 ZMM0-31 2024-09-28 22:17:06 +03:00
elicn
5164dbd609 Add read and write support for i386 YMM8-31 2024-09-28 22:16:45 +03:00
elicn
e3675162ba Add read and write support for i386 XMM16-31 2024-09-28 22:15:00 +03:00
elicn
6cb9bfe5c0 Avoid updating CR3 when writing CR1 and CR2 2024-09-28 22:11:54 +03:00
elicn
433bb163d9 Add read and write cases for i386 CR8 2024-09-28 22:11:01 +03:00
mio
91122b6a68 Fix compatibility of 3.8 2024-09-26 23:02:03 +08: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
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
Andrei Warkentin
d01035767e notdirty_write: fix store-related performance problems
Every store would always cause the tb_invalidate_phys_page_fast path to be invoked,
amounting to a 40x slowdown of stores compared to loads.

Change this code to only worry about TB invalidation for regions marked as
executable (i.e. emulated executable).

Even without uc_set_native_thunks, this change fixes most of the performance
issues seen with thunking to native calls.

Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
2024-09-21 20:50:43 +08:00
mio
9f21566b53 Also update macos 2024-09-21 20:48:51 +08:00
mio
7fb38e0e66 Avoid failure of pushing to github 2024-09-21 20:48:51 +08:00
0d26efd07e Merge pull request #2003 from elicn/dev
Misc. Python binding re-arrangements
2024-09-21 18:43:02 +08:00
9427f0a553 Merge pull request #1991 from apparentlymart/b-riscv-invalidinsn-pcadj
riscv: Invalid 32-bit instruction should not decrement pc
2024-09-21 18:26:59 +08:00
mio
96bf47dd7a Update CI 2024-09-21 18:24:46 +08:00
22d6febff1 Merge pull request #1985 from atipls/dev
Update zig bindings to 0.13.0
2024-09-21 18:01:11 +08:00