Commit Graph
7981 Commits
Author SHA1 Message Date
Josip Parlov 606fa2ef91 fix(relinker): take red-zone framing's function bounds from .eh_frame FDEs
Function starts were direct call targets plus 16-byte-aligned code after
int3 padding. A function reached only through a pointer and not preceded
by int3 then ended up inside the previous region, and its pop rbp; ret
exit could get the epilogue lea without a matching prologue.

The bounds now come from the executable's .eh_frame FDEs (the existing
EhFrameReader), each function is decoded from its FDE start to its FDE
end, and code outside every FDE is not framed. Conversion stops with an
error when the executable has no FDE. Sites added in one pass also count
as taken for the next function.
2026-10-23 05:19:10 +00:00
Federico Marras 0477c9c3f2 Merge remote-tracking branch 'upstream/main' into feat/ngs2-atrac9-module-loops 2026-10-23 07:18:26 +02:00
Federico Marras 6660dd080d fix(libSceNgs2.native): throw for ATRAC9 loops inside the decoder delay and blocks past the data chunk 2026-10-23 07:18:26 +02:00
Federico Marras f77f61ec7a Merge remote-tracking branch 'upstream/main' into tmp-9141 2026-10-23 07:12:32 +02:00
Federico Marras f73a4e8133 feat(libkernel_sys): implement the scePthread scope, atfork and setconcurrency forms 2026-10-23 07:12:32 +02:00
Federico Marras cf06f64c29 Merge remote-tracking branch 'upstream/main' into feat/audio-out-mastering
# Conflicts:
#	docs/dev/debt/libSceAudioOut.md
2026-10-23 07:11:02 +02:00
klosixgaming-arch 191dddae77 feat(agc): apply the color logic operation of CB_COLOR_CONTROL
The driver refused every ROP3 code but copy, so a draw that asks for a
logic operation stopped the process. The code is decoded into the draw
state, keyed in the pipeline cache and the pipeline journal, and applied
through the Vulkan logic operation of the color blend state.

The field accepts the 28 codes of the source and destination form and of
the brush and destination form, where the brush is the shader color; both
keep their function in bits 0, 1, 6 and 7. A code that combines source and
brush, blending together with a logic operation, a device without the
logicOp feature, and a color target that is not a normalized or integer
format throw.

The pipeline journal format moves to 7.

AI-assisted: yes. Written with AI assistance and reviewed by me.
2026-10-23 00:03:03 -05:00
Yunus Shaikh 542cb30f70 docs(relinker): describe the operand stubs and refused patches of --frame-red-zone
The debt entry no longer says that a leaf with an rsp operand that
cannot move in place is skipped. A new entry says that such an operand
moves to a stub, when the leaf is still skipped, and that a game patch
over a framed site or a moved displacement is refused. The USAGE row
says the same in short.
2026-10-23 04:50:13 +00:00
Arnab Ghosh 1f1ddc9e3a feat(libSceNgs2): implement sceNgs2VoiceGetMatrixInfo and sceNgs2CustomRackGetModuleInfo 2026-10-23 10:50:00 +06:00
Emanuele 75fdf64721 fix(shader): route a loop's back edge through an empty continue block when its latch holds instructions 2026-10-23 06:46:55 +02:00
thuanquangandClaude 0a3ea213e1 fix(shader): read a 2D MSAA T# through DIM 2D as its sample 0
A DIM 2D image_load or image_sample of a 2D MSAA T# returns sample 0 on
RDNA2 (RX 6700 XT, measured through HIP; bilinear blends sample-0 texels).
The recompiler now reads such a direct sampled access as a 2D image, and
the driver binds a one-sample copy of the target's sample 0, refreshed by
a fragment pass before each binding. Peace Walker (PPSA18216) stops on
this read at the end of its opening movie.

Co-Authored-By: Claude <[email protected]>
2026-10-23 11:38:12 +07:00
xXPBSXxandClaude Sonnet 5.5 f73c71563a docs(debt): note what a title call of sceKeyboardGetKey2Char shows about the output buffer
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 06:37:00 +02:00
Felipe Arce 6f401fe667 feat: run the common-dialog state machine in the Facebook and game custom data dialogs 2026-10-23 01:18:59 -03:00
Arnab Ghosh 5dfa258d9f feat(libSceNet): implement sceNetIoctl 2026-10-23 10:07:18 +06:00
Adrià 9d6adeb550 Merge pull request #10011 from xXPBSXx/docs/debt-appcontent-space-call-site
docs(debt): add call-site evidence for sceAppContentDownloadDataGetAvailableSpaceKb
2026-10-23 06:03:19 +02:00
Adrià 2259f05307 Merge pull request #10009 from xXPBSXx/docs/debt-npauth-v3-call-sites
docs(debt): add call-site evidence for the libSceNpAuth V3 parameter layouts
2026-10-23 06:02:17 +02:00
Yunus Shaikh 96c21c0d09 Merge main into feat/libkernel-sys-libthr-names
# Conflicts:
#	core/libs/CMakeLists.txt
2026-10-22 20:56:19 -07:00
Yunus Shaikh 6b75fb99f6 Merge main into fix/libkernel-udp-unreachable-port
# Conflicts:
#	docs/dev/debt/libkernel.md
2026-10-22 20:53:20 -07:00
Yunus Shaikh a665ef2dfb docs(relinker): describe the per-leaf shift and sub allocations of --frame-red-zone 2026-10-23 03:45:27 +00:00
MarcZX10 6a13704d3d fix(libc): follow msun for acoshf 2026-10-23 03:45:26 +00:00
Dean 9a030c2d50 Merge pull request #8537 from elieh999/fix/setrlimit-nproc
fix(libkernel): store the process resource limit
2026-10-23 16:44:35 +13:00
Dean f94f4c63bb Merge pull request #9517 from xdCloudy/feat/ps5-json2-inventory-74
feat(libSceJson2): declare 74 PS5 pending exports
2026-10-23 16:44:03 +13:00
Dean 96481a6392 Merge pull request #9294 from YossiYad/feat/kernel-sys-module-internal
feat(libkernel_sys): implement sceKernelGetModuleInfoInternal and sceKernelGetModuleListInternal
2026-10-23 16:43:43 +13:00
Dean 0291694f29 Merge pull request #9538 from Ondra97/codex/feat-freetype-outline-orientation
feat(libSceFreeType): implement outline orientation
2026-10-23 16:43:06 +13:00
SwagandClaude Opus 5.5 0402b58db8 Merge upstream/main into feat/libressl-error-queue
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 23:41:33 -04:00
MarcZX10 0f35e7b176 fix(libc): follow msun for coshf 2026-10-23 03:35:47 +00:00
Federico Marras 04884d6784 Merge branch 'feat/ngs2-system-option-codes' into feat/ngs2-system-rate-grain-codes 2026-10-23 05:26:42 +02:00
Federico Marras ad5df50d6d Merge branch 'feat/ngs2-system-option-codes' into feat/ngs2-system-create-arguments
# Conflicts:
#	core/libs/prx/libSceNgs2.native/include/Ngs2Types.hpp
2026-10-23 05:25:39 +02:00
Federico Marras e03475e92f Merge remote-tracking branch 'upstream/main' into feat/ngs2-system-option-codes
# Conflicts:
#	core/libs/prx/libSceNgs2.native/src/System.cpp
2026-10-23 05:23:59 +02:00
Dean Galvin e51d8c57f0 Merge main into feat/ngs2-render-buffer-codes 2026-10-23 16:23:20 +13:00
xXPBSXxandClaude Sonnet 5.5 1487e95234 docs(debt): add call-site evidence for sceAppContentDownloadDataGetAvailableSpaceKb
One disassembled title ignores the return value and multiplies the output by
1024 (static reading only).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 05:22:49 +02:00
xXPBSXxandClaude Sonnet 5.5 f8f1a4a193 docs(debt): add call-site evidence for the libSceNpAuth V3 parameter layouts
Three disassembled titles show the parameter layouts and how titles drive
sceNpAuthGetAuthorizationCodeV3 and sceNpAuthGetIdTokenV3 (static reading only).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 05:22:22 +02:00
Dean 01f99305be Merge pull request #8341 from KernelPanicNT/fix/ngs2-system-option-flag-bit1
fix(libSceNgs2): accept system option flag bit 1
2026-10-23 16:21:15 +13:00
Ondra97 217df9a44c build(libSceFreeType): keep list registration independent of pending features 2026-10-23 05:18:52 +02:00
Ondra97 5ad029659f feat(libSceFreeType): implement guest list operations 2026-10-23 05:18:31 +02:00
xdCloudy 12a14ac1a5 feat(libSceAgcVsh): declare 150 pending exports 2026-10-23 04:17:52 +01:00
xandClaude Sonnet 5.5 c0024158db fix(libSceFont): measure glyphs through a zero-extent render surface
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

Claude-Session: https://claude.ai/code/session_01QLz9JYSXCPssYHgRW1CxJH
2026-10-22 22:16:45 -05:00
Dean 8fbafb82b0 Merge pull request #9224 from YossiYad/feat/vrtracker-lifecycle-devices
feat(libSceVrTracker): implement memory queries, init and term, device registration and recalibration checks
2026-10-23 16:14:00 +13:00
Yunus Shaikh ff16118b63 Merge branch 'main' into feat/relinker-frame-frameless-leaves-next 2026-10-23 03:13:53 +00:00
Dean 3875f8c8ff Merge pull request #9846 from Felipebmaitan/feat/freetype-request-size
feat(libSceFreeType): implement FT_Request_Size
2026-10-23 16:10:09 +13:00
Swag 096d93f5ec Merge upstream/main into feat/libressl-error-queue
Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	core/libs/prx/libSceLibreSsl/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl.md
2026-10-22 23:08:29 -04:00
Dean ee8a7349b5 Merge pull request #9265 from HQasper/claude/project-thread-6o4na3
feat(libkernel): implement pthread_rwlock_reltimedrdlock_np and pthread_rwlock_reltimedwrlock_np
2026-10-23 16:05:37 +13:00
JJenkxandClaude Opus 5.5 1352329e45 docs(debt): list the NGS2 custom modules of PPSA33655
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 23:02:15 -04:00
Dean Galvin ae913751f0 Merge main into codex/ngs2-userfx-module-id 2026-10-23 15:53:12 +13:00
Dean a2d750122b Merge pull request #9192 from simonbronk/feat/common-dialog-state-machines
feat: run the common-dialog state machine in four dialog libraries
2026-10-23 15:52:05 +13:00
Dean Galvin 88b0b798ed Merge main into feat/libSceCesCs-japanese-scalar 2026-10-23 15:51:39 +13:00
Dean Galvin 2f45a312d0 Merge main into fix/setrlimit-nproc 2026-10-23 15:50:49 +13:00
Dean 4d57821d47 Merge pull request #8923 from nikowolf123/feat/cescs-sbc-profiles
feat(libSceCesCs): add 27 single-byte code page profiles
2026-10-23 15:47:11 +13:00
frankea 958f3f960d Merge branch 'perf/structurizer-split-search' into perf/structurizer-construct-walk 2026-10-22 22:40:29 -04:00
frankea 969aadab62 Merge branch 'fix/structurizer-scc-iterative' into perf/structurizer-split-search 2026-10-22 22:40:28 -04:00