Commit Graph
8224 Commits
Author SHA1 Message Date
ptitSeb 2c72942fae [STEAM] Added libnettle as prefer emulated with gnutls when steam runtime is detected v0.4.3-1 2026-04-25 09:30:29 +02:00
ptitSeb 42ae8b818c [BOX32][WRAPPER] Added 1 more symbol to libxcb 2026-04-24 17:29:22 +02:00
Yang Liu 41054e4599 [LA64_DYNAREC] Fixed a typo (#3811) 2026-04-24 12:10:09 +02:00
ptitSeb 55e39c3c1f [RCFILE] Added 1 game profile 2026-04-24 11:50:10 +02:00
ptitSeb e11c10c1fa [WRAPPER] Added 1 more symbol to libxkbcommon 2026-04-23 17:28:24 +02:00
Yang Liu b579d23114 [WRAPPERHELPER] Added a new --check-only option (#3803)
* [WRAPPERHELPER] Added a new --check-only option

* Review
2026-04-23 16:10:34 +02:00
Yang Liu 790baf4460 [WRAPPER] Fixed more custom wrapping issues (#3810) 2026-04-23 13:31:24 +02:00
Yang Liu ce161a38f5 [WRAPPER] Fixed some gtk custom wrapping issues (#3809) 2026-04-23 10:13:10 +02:00
ptitSeb fb7cdd2c53 [WRAPPER] Fixed regressions introduced with #3806 2026-04-23 09:01:25 +02:00
Zane d118d6ac1a [WRAPPER] Added libpixman-1.so wrapping (#3805) 2026-04-23 08:45:11 +02:00
Yang Liu d021839d1d [WRAPPER] Duplicated libm wrappers to libc (#3806)
* [WRAPPER] Duplicated libm wrappers to libc

* gowm

* Fix static build

* Another try
2026-04-23 08:38:23 +02:00
Yang Liu 2b2f3043bf [ELFLOADER] Refined symbol not found error message (#3807) 2026-04-23 08:36:07 +02:00
Yang Liu f636f7e765 [WRAPPER] Fixed more wrapping issues (#3802)
* [WRAPPER] Fixed more wrapping issues

* Update

* Keep a comment

* Keep another comment
2026-04-23 08:34:31 +02:00
Chi-Kuan Chiu 96fc30b100 [MALLOCHOOK] Fix UAF and leak (#3804)
UAF at src/mallochook.c:763-778 and :811-826 where my_safer_scalable_aligned_realloc
/ my_scalable_aligned_realloc free p then return it (instead of new_p),
leaking the new allocation and handing the caller a freed pointer.
2026-04-22 13:47:44 +02:00
Yang Liu 2deb99ae4a [WRAPPER] Fixed various wrapping issues (#3799)
* [WRAPPER] Fixed various wrapping issues

* Fix build

* More fixes
2026-04-22 09:35:58 +02:00
Yang Liuandphorcys 5c6200059d [DYNAREC] Optimized native_pclmul functions with a 4bit table (#3797)
Co-authored-by: phorcys <[email protected]>
2026-04-22 09:35:09 +02:00
ptitSeb b85b7e5e2f Start of a new dev. cycle 2026-04-22 09:33:12 +02:00
ptitSeb 7eeb501649 Bumped version to v0.4.2 v0.4.2 2026-04-20 18:33:09 +02:00
Yang Liu fe6b9327d1 [DYNAREC] Fixed 69 IMUL opcode load immediate (#3795) 2026-04-20 14:33:45 +02:00
ptitSeb d43e64ee46 [WRAPPER] Added a few more symbols to libhoweed6 2026-04-20 12:06:12 +02:00
ptitSeb e477ccdb19 [WRAPPER] Fixed a potential issue with realpath wrapping 2026-04-20 10:11:35 +02:00
ptitSeb d0c1ec5c8c [TRACE] Fixed a potential issue with mkdirat trace 2026-04-20 10:08:52 +02:00
ptitSeb 274946acf5 [WRAPPER] Fixed an OpenGL extension 2026-04-20 09:53:52 +02:00
Yang Liu 3c976b1ffb [LA64_DYNAREC] Fixed amadd_db.b use in lock opcodes (#3793) 2026-04-18 20:57:22 +02:00
Yang Liu 48c1f8fb11 [LA64_DYNAREC] Fixed dec32 non-lbt path SF computation (#3792) 2026-04-18 20:56:43 +02:00
Yang Liu 599360ce07 [DYNAREC] Fixed callret=2 with always_test out-of-bounds read (#3790)
With callret=2 and always_test=1, CALLRET_RET in pass2 skips writing callret entries, thus callret_size=0. But CALLRET_GETRET in pass3 still reads callrets[0], which is an out-of-bounds read. The garbage offset becomes the native return address, causing RET to jump to a wrong
address. I had this issue on LoongArch with 16KiB page size kernel, but this seems universal so all three backends are changed.
2026-04-18 10:55:59 +02:00
Yang Liu b41c3f22be [TEST] Refactored arg parsing and allow to run single combo by number (#3789) 2026-04-18 10:50:41 +02:00
Yang Liu 13cb80d1b7 [LA64_DYNAREC] Fixed BSF/BSR pf computtation (#3788) 2026-04-18 09:26:24 +02:00
Yang Liu a4479a9ac0 [LA64_DYNAREC] Fixed PCMPESTRI opcode (#3787) 2026-04-17 20:28:27 +02:00
Yang Liu 7edd021c17 [LA64_DYNAREC] Fixed LOCK XADD opcode flags computation (#3786)
gd is a full width register, x5 should be used here.
2026-04-17 20:26:47 +02:00
a9ix f6beb4320e [BOX32] Add library path used by Debian "cross" packages (#3785) 2026-04-17 10:12:42 +02:00
ptitSeb 55e8ebf525 [WOWBOX64] Do not clobber return EAX on NT syscall (for #3782) 2026-04-16 09:15:20 +02:00
ptitSeb f388a8f493 [BOX32][WRAPPER] Added a few more wrapped symbols for SDL1 2026-04-13 13:47:01 +02:00
Yang Liu 3e71087a87 [TEST] Optimized combo with dynarec=0 (#3781)
Following config now has 4 combos instead of 6.
```
{
  "BOX64_DYNAREC": ["0", "1"],
  "BOX64_DYNAREC_CALLRET": ["0", "1", "2"]
}
```
2026-04-13 08:18:21 +02:00
Yang Liu 24e4039d1f [TEST][BOX32] Added proper handling for running 32-bit tests on non-Box32 builds (#3780) 2026-04-13 08:12:13 +02:00
ptitSeb fc8a05e693 [RV64_DYNAREC] Added FAR RET(N) with CALLRET support 2026-04-12 17:07:18 +02:00
ptitSeb ee99b5b167 [RV64_DYNAREC] Refactored IRET so it support CALLRET optimisation 2026-04-12 16:20:56 +02:00
ptitSeb 2f23572e02 [RV64_DYNAREC] Refactored RET/RETN opcodes 2026-04-12 15:57:35 +02:00
ptitSeb 21d66686da [RV64_DYNAREC] Added some workaround for gameoverui crashing 2026-04-12 15:39:03 +02:00
ptitSeb 01af6f3164 [RV64_DYNAREC] Added CALL FAR support 2026-04-12 15:33:03 +02:00
ptitSeb c845ab01c4 [RV64_DYNAREC] Added CALLRET=2 and SEP support 2026-04-12 12:23:55 +02:00
ptitSeb 13c9fdaa40 [WRAPPER][VULKAN] Added some more vulkan extensions 2026-04-11 14:03:37 +02:00
ptitSeb 0bc4d5b532 [CI] Hacking a way around termux-docker debloblification 2026-04-11 09:04:26 +02:00
Yang Liu 18a3f1b039 [ARM64_DYNAREC] Fixed LOCK NOT opcode non atomics path (#3777) 2026-04-11 08:39:12 +02:00
Yang Liu b99dde293d [ARM64_DYNAREC] Fixed uninitilized scratch registers for VCVTTPD2DQ opcode (#3776) 2026-04-10 20:07:39 +02:00
ptitSeb ff634b1e0c [RCFILE] Fine tuned 2 games profile 2026-04-10 14:08:08 +02:00
ptitSeb 657d69aa3b [WRAPPER] Added libgmp.so wrapping too (for #3747) 2026-04-09 17:00:28 +02:00
Yang Liu 913abd14f0 [TEST] Support array values in baked-in variables for combinatorial runs (#3774)
Following example will be ran 8 times (4x2) with all possible combinations.
```
%ifdef CONFIG
{
  "RegData": {
    "RAX": "1"
  },
  "Variables": {
    "BOX64_DYNAREC_BIGBLOCK": ["0", "1", "2", "3"],
    "BOX64_DYNAREC_NATIVEFLAGS": ["0", "1"]
  }
}
%endif

mov rax, 1
hlt
```
2026-04-09 14:02:59 +02:00
Yang Liu 1a7ea1c09a [TEST] Supported baking env variables settings into test (#3773)
Example:
```
%ifdef CONFIG
{
  "Variables": { "BOX64_LOG": "0" }
}
%endif

nop
hlt
```
2026-04-09 08:53:30 +02:00
Yang Liu 08934a3b0c [ARM64_DYNAREC] Better fix for #3762 (#3772)
* [ARM64_DYNAREC] Better fix for #3762

* Fixed more similar patterns
2026-04-08 21:24:10 +02:00