Commit Graph

2969 Commits

Author SHA1 Message Date
lazymio 78ea3c8301
Fix m1 defines 2024-02-13 11:52:10 +08:00
lazymio a4ba7c9dd5
Add inline 2024-02-13 11:48:24 +08:00
lazymio 591b562721
Fix defined 2024-02-13 11:38:49 +08:00
lazymio a6fb2a6870
Save jit state before/after callback 2024-02-13 11:13:01 +08:00
lazymio f3323469d0
Format 2024-02-12 00:10:58 +08:00
lazymio 822bb527f3
M1 W^X fully supported 2024-02-12 00:10:44 +08:00
lazymio e915e18987
Add .cache 2024-02-12 00:10:08 +08:00
lazymio f09f488356
Add macos aarch64 2024-02-11 13:19:25 +08:00
lazymio f1e913d229
Fix python version 2024-02-11 12:58:58 +08:00
lazymio 48287d0675
Fix python aarch64 2024-02-11 12:50:59 +08:00
lazymio 3b5d1dfb4c
python aarch64 2024-02-11 12:41:53 +08:00
lazymio 23303994e7
Fix naming 2024-02-11 11:37:00 +08:00
lazymio 92175c2698
Fix macos actions 2024-02-11 11:35:03 +08:00
lazymio 98777f2801
m1 runner 2024-02-11 11:33:43 +08:00
lazymio 5e901baa06
Merge pull request #1922 from redoste/fix-do_nonatomic_op-signed
Backport from qemu : fix do_nonatomic_op_* vs signed operations
2024-01-25 11:11:39 +08:00
redoste a070ea95af
Backport qemu/qemu@852f933
tcg: Fix do_nonatomic_op_* vs signed operations

The smin/smax/umin/umax operations require the operands to be
properly sign extended.  Do not drop the MO_SIGN bit from the
load, and additionally extend the val input.
2024-01-24 23:41:30 +01:00
lazymio 97beeb6fa1
Merge pull request #1920 from PhilippTakacs/fix_cow2
fix uc_mem write with cow when using upper half of the address
2024-01-16 20:29:02 +08:00
Takacs, Philipp d9d2c4e581 fix uc_mem write with cow when using upper half of the address
uc->target_page_align is a uint32_t. When the binary not will only
invert the 32 bit of the value. Used this in a binary and operator with
a uint64_t will case the upper 32bit of the address to be 0. Therefor
the bug only appears when the upper 32bit of the address are used.

Now a local uint64_t variable is used for the alignemend and the test
uses a not page alligned address which does not fit in 32bit.
2024-01-15 14:20:29 +01:00
lazymio 5e39cc602a
Merge pull request #1919 from PhilippTakacs/fix_cow
fix cow when using uc_mem_write
2024-01-11 14:52:21 +08:00
Takacs, Philipp 8d3bf02041 fix cow when using uc_mem_write
memory_cow expect the address and size to be aligned on pagesize.
2024-01-10 15:54:46 +01:00
mio e0eeda2362
Add arm for bad assert implementation 2024-01-03 18:07:04 +08:00
mio 3c64e9a9e7
Revert previous wrong fixes 2024-01-03 18:06:09 +08:00
mio 02e3cba4c4
HAVE_ATOMIC128 is defined as a number 2024-01-03 17:45:04 +08:00
mio 3cff3eb2d5
Don't rely on dead code elimination 2024-01-03 16:50:28 +08:00
lazymio 0406407213
Told QEMU configure to use atomic 2023-12-29 00:55:32 +08:00
lazymio e5fa037aeb
Also add atomic to samples lib linkage 2023-12-28 23:38:33 +08:00
lazymio 60cf9eba40
Reflect in pkg-config 2023-12-28 23:18:13 +08:00
lazymio e3163ccda1
Refine -latomic fix 2023-12-28 23:14:10 +08:00
lazymio db0acd5ace
Add -latomic to samples and tests 2023-12-28 22:50:48 +08:00
lazymio f389666ea6
Fix typo 2023-12-28 22:05:44 +08:00
lazymio 55560a2474
Add -latomic for arm and riscv64 2023-12-28 22:02:39 +08:00
lazymio 53da7c5e1d
Merge pull request #1897 from marameref/dello
I Created CI that automatically attaches builds to releases
2023-12-25 21:00:37 +08:00
lazymio 612fb4e804
Always create drafts 2023-12-25 20:59:56 +08:00
lazymio 43597af0ed
Merge pull request #1833 from nneonneo/rework-java-api
Rework the Java bindings
2023-12-25 19:53:45 +08:00
lazymio d17810ff39
Merge pull request #1910 from dotCirill/ppc32_fix_time_spr
Fix PPC32 fault when timer-spr access
2023-12-10 23:43:46 +08:00
dotcirill b0ea433772 Fix PPC32 fault when timer-spr access
Access to TB, DEC registers was lead to crash
spr_read_decr and others are changed to spr_read_generic
spr_write_decr and others are changed to spr_write_generic
2023-12-06 01:58:50 +03:00
lazymio c0adcfb5e5
Merge pull request #1907 from StalkR/ubsan
qemu: fix UBSAN errors in tcg and arm translation
2023-11-14 21:16:34 +08:00
StalkR db63f2d9d7 qemu: fix UBSAN errors in tcg and arm translation 2023-11-14 10:23:50 +01:00
lazymio 6db5d1a036
Merge pull request #1900 from dglynos/fix-fxsave-fpip
fix fxsave fpip value, provide tests
2023-10-31 16:51:22 +08:00
Dimitris Glynos 9d8e639c69 fix fxsave fpip value, provide tests 2023-10-26 08:42:58 +03:00
Amarachi Omereife fbbfb1e800 prelease set 2023-10-20 23:06:34 +01:00
Amarachi Omereife 6afd867e4a Update 2023-10-20 10:40:54 +01:00
Amarachi Omereife d46729732d pre-release 2023-10-20 10:21:39 +01:00
Amarachi Omereife ce60d2539d token 2023-10-20 08:27:09 +01:00
Amarachi Omereife f987da1875 github token 2023-10-20 07:54:58 +01:00
Amarachi Omereife dfb8e9bb3f release 2023-10-20 07:41:05 +01:00
Amarachi Omereife 16f9730477 prerelease 2023-10-20 07:24:24 +01:00
Amarachi Omereife 7d3de2bea1 release 2023-10-19 21:33:16 +01:00
Amarachi Omereife 9cbe2a1492 prelease 2023-10-19 14:52:35 +01:00
Amarachi Omereife 35029283cb release 2023-10-18 21:58:54 +01:00