JWWTSL
bb716a2a65
Fix typos in comments and documentation ( #1072 )
...
Correct "adressing", "constains", "informations", "Aleady" and
"interpretor".
2026-10-20 15:45:11 +02:00
ptitSeb
7dec0819b5
[WRAPPER] Added 1 wrapped function to libxml2 (for #1061 )
2026-09-27 08:26:24 +02:00
SpongeBob
b05cb3ab54
Fix LOCK 16-bit INC/DEC using 32-bit primop in interpreter path ( #1070 )
...
RunF066 handles F0 66 FF /0,/1 (LOCK INC/DEC Ew). The non-DYNAREC path applied inc32/dec32 to ED->dword[0], corrupting the upper 16 bits and computing OF/SF/ZF/AF/PF at the wrong operand width. The DYNAREC path just above correctly uses inc16/dec16, as does the non-LOCK Grp5 Ew handler in x86run66.c (EW->word[0] = inc16/dec16). Narrow the interpreter LOCK path to ED->word[0] with inc16/dec16.
2026-09-11 09:45:03 +02:00
SpongeBob
dea645b38d
Fix aligned_realloc returning freed pointer (use-after-free) ( #1069 )
...
my_safer_scalable_aligned_realloc and my_scalable_aligned_realloc grew the allocation via box_memalign+memcpy+box_free(p), then returned p instead of new_p. Callers received a dangling pointer while the live copy leaked, causing double-ownership, heap corruption, and crashes on TBB aligned growth. Return new_p.
2026-09-11 09:44:05 +02:00
SpongeBob
707a141e0d
Fix CVTTPS2PI low lane using high lane for lower-bound check ( #1068 )
...
Case 0x2C (CVTTPS2PI Gm,Ex) validated GM.sd[0] against EX->f[1] for the negative-overflow test instead of EX->f[0]. The high lane just above correctly tests f[1] twice, and CVTPS2PI just below loops per-lane with f[i]. A low lane in range paired with an out-of-range high lane (e.g. f0=1.0, f1=-3e9) wrongly produced the 0x80000000 indefinite value, and a truly underflowing low lane could slip through. Test the low lane against itself.
2026-09-11 09:42:51 +02:00
SpongeBob
14181b503b
Fix atfork parent/child loop decrement causing infinite loop and OOB ( #1067 )
...
x86emu_fork ran parent/child atfork handlers with 'for (i=0; i<sz; --i)'. With sz>0, i goes 0,-1,-2... staying <sz forever: infinite loop plus out-of-bounds atforks[i] access. The prepare loop just above correctly iterates reverse with '--i' from sz-1. Change parent/child loops to '++i' for forward iteration.
2026-09-10 09:18:54 +02:00
SpongeBob
9a67cb9355
Fix 16-bit disp16 precedence bug in getecommon16o ( #1066 )
...
In C, == binds tighter than &, so 'm&7==6' parsed as 'm&(7==6)' = 'm&0' = always false. Disp16 was never fetched for mod==00,rm==110 16-bit addressing (GET_EW16_OFFS), leaving a wrong effective address and unadvanced EIP. Parenthesize as '(m&7)==6' to match getecommon16.
2026-09-10 08:54:49 +02:00
ptitSeb
39d3ed2033
[INTPER] Added 64 66 8D opcode (for #1064 )
2026-08-12 22:27:32 +02:00
ptitSeb
646fc2d3a8
[INTERP] Added 66 8D opcode (for #1064 )
2026-08-12 19:35:09 +02:00
ptitSeb
0579f8b9c4
[PANDORA] Fix build
2026-01-07 18:00:58 +01:00
docgalaxyblock
50a2603027
Fix typo 'Snapragon' in CMakeLists.txt ( #1057 )
2025-11-22 15:21:33 +01:00
ptitSeb
10224524df
[ELFLOADER] Fixed regression from previous commit (for #1055 )
2025-11-11 13:29:51 +01:00
ptitSeb
0886bb79c4
[ELFLOADER] Added support for IFUNC in PltResolver
2025-11-06 16:26:48 +01:00
Loyalburrito
fa14e0ab14
Add comments to systemd-binfmt restart script ( #1050 )
...
This script checks for the presence of systemd and restarts the binfmt_misc service
2025-09-20 18:37:35 +02:00
ptitSeb
ac48800fbb
Added 64/65 F7 opcode (for #1048 )
2025-07-28 13:58:03 +02:00
ptitSeb
b197194e2d
[CI] Changed TAGRA build to use ubunt 22.04 as 20.04 has been removed
2025-06-22 13:41:26 +02:00
ptitSeb
2796d6ef92
[WRAPPER] Added 1 more wrapped function to libgobject2 (used by steam)
2025-06-22 13:23:14 +02:00
ptitSeb
d60937b1ac
[WRAPPER] Added wrapped libGLX (backported from box64)
2025-04-28 12:02:52 +02:00
ptitSeb
d0aad67ba0
[WRAPPER] Add libm to the libc collection of libs
2025-03-07 16:59:22 +01:00
ptitSeb
66fc843ae8
[WRAPPER] Fixed ld-linux.so.2 being an essential (not emulated) lib
2025-03-07 16:21:08 +01:00
ptitSeb
7e56375859
[WRAPPER] Some fixes to bsd wrapper and essential libs handling
2025-03-07 15:54:03 +01:00
Hugh Cole-Baker
c13b3cc9cd
[DEBIAN] exclude x86 libunwind from shlibdeps ( #1032 )
2025-02-22 22:22:32 +01:00
ptitSeb
ba5b9e9954
Fixed a potential issue with findBlockHinted (for #1031 )
2025-02-21 15:10:56 +01:00
ptitSeb
fa59e748f9
[DYNAREC] Added a test for optimized REP MOVSB to avoid optim on overlapping addresses move
2025-02-12 12:49:37 +01:00
ptitSeb
c467c05112
[CI] Update to upload-artifact v4
2025-02-10 09:18:51 +01:00
ptitSeb
bb164a299f
[DYNAREC] Optimized REP MOVSB opcode
2025-02-10 09:05:52 +01:00
ptitSeb
eaf2e84e19
[INTERPRETER] Removed some useless tests on x87 comp
2025-01-08 15:54:50 +01:00
ptitSeb
7dcba89c71
[DYNAREC] Removed some bloated x87 code, improved test19 (backported from box64)
2025-01-08 15:31:14 +01:00
ptitSeb
5c5639be09
Trace program break to not allocate memory over there (backported from box64)
2025-01-07 15:39:44 +01:00
ValdikSS
ee0c949bc2
Document BOX86_ARG0 argv[0] rewriting variable ( #1021 )
2025-01-04 17:00:37 +01:00
ValdikSS
d9402213f6
Fix crash with incorrect argv[0]: rewrite it only if "box86" is present ( #1020 )
2025-01-04 16:58:17 +01:00
ValdikSS
efe8bb4e6c
Bumped version to v0.3.8 ( #1019 )
2025-01-04 13:27:06 +01:00
ptitSeb
ec278bd784
Bumped version to v0.3.8
v0.3.8
2024-12-06 15:04:39 +01:00
ptitSeb
f1559b066c
[DYNAREC] Improved x87 comparison (backporteed from Box64)
2024-12-04 11:13:17 +01:00
ptitSeb
c9d20f60c8
[TRACE] Improved x87 trace (backported from Box64)
2024-12-04 11:12:45 +01:00
ptitSeb
512f0a6c92
[INTERPRETER] Improve x87 comparison (backported from Box64)
2024-12-04 10:25:46 +01:00
ptitSeb
1c280bd8a0
[INTERPRETER] Fixed x87 long double store that would loose sign on negative 0.0
2024-12-04 10:09:56 +01:00
ptitSeb
20432122de
[INTERPRETER] Fixed D9 F4 opcode ([DYNAREC] too) (backported from box64)
2024-12-03 14:36:23 +01:00
ptitSeb
e754df0fb1
[INTERPRETER] Fixes some longdoub / double conversion cases (on nan/infinites/0.0) (backported from Box64)"
2024-12-03 14:26:46 +01:00
ptitSeb
b9d565f444
[INTERPRETER] Added 0F 20..23 opcodes
2024-11-23 14:32:29 +01:00
theofficialgman
58f1b5d1e3
[X86LIBS] Changed x86 libs install directory to prevent conflicts ( #1014 )
2024-11-20 17:52:53 +01:00
ptitSeb
f921c0cdbe
[WRAPPER] Added 1 wrapped function to fontconfig (for hl2)
2024-11-16 14:02:22 +01:00
ptitSeb
1e749beb2e
Added BOX86_NOCRASHHANDLER to ignore crashhandler.so (for #1012 )
2024-11-09 09:53:48 +01:00
ptitSeb
4caece4c0c
Improved syscall 120 and added syscal 26 (for #1012 )
2024-11-08 17:54:27 +01:00
ptitSeb
d6b76922e7
Yet another adjustment to getcontext / setcontext wrapped functons
2024-11-08 16:46:12 +01:00
ptitSeb
69a021454a
Adjusted getcontext / setcontext wrapped functons (should help #1012 )
2024-11-08 16:19:58 +01:00
ptitSeb
336dc5b676
[VULKAN] Added 1 more extention
2024-11-07 16:50:08 +01:00
Mike Wang
450347f099
Fixed some typos: BOX64 -> BOX86 ( #1011 )
2024-11-06 17:12:55 +01:00
ptitSeb
30c72e23bd
Added some new functions and a few fixes (for Steam)
2024-11-06 16:06:13 +01:00
ptitSeb
ce0b4d1884
[CMAKE] Fixed SD865 profile, as a77.a55 is not supported in current build chain
2024-11-06 11:52:31 +01:00