Commit Graph
25 Commits
Author SHA1 Message Date
Dean Galvin e76147bca9 Merge branch 'main' into fix/pngdec-large-image-info 2026-10-26 14:17:59 +13:00
Dean Galvin c932eff258 Merge branch 'main' into pr10451 2026-10-26 05:31:54 +13:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
Danigamer05 c7a611466a fix(pngdec): require image info for large dimensions 2026-10-24 03:12:33 +02:00
Danigamer05 38582fca52 fix(pngdec): honor the 16-bit input attribute 2026-10-24 02:59:36 +02:00
boykopovar 555fd66a5c fix(pngdec): restore work memory layout and validation errors 2026-10-21 21:49:33 +03:00
juanpimg 2f0ed638dc feat(prx): declare the missing PS5 3.20 system exports
AnyPS5 resolves a title's imports by NID, so a title that imports a system
function no library provides fails to load with an unresolved import. The
PS5 3.20 export inventory lists 193 such exports across 37 PS5 system
libraries AnyPS5 implements but does not provide.

Declare them as throwing stubs so those titles load and reach their next
blocker. Each declaration calls NotImplemented_nid_no_patch and returns 0;
none of them implements the function. Declarations with a credible
prototype use it and cite the source with a pinned commit, and the rest
are declared without parameters, which resolves the import without making
an ABI claim. The technical-debt files record the limitation per library.

libSceMbus and libSceSystemService are left out because pull request #7821
declares them. libSceAgc is left out because its exports are versioned, so
the 3.20 NID names a different symbol from the one AnyPS5 ships.
libSceAvPlayer.native is left out because it compiles libSceAvPlayer's
Export.cpp.

Names and NIDs come from the PS5 3.20 export inventory at
https://github.com/DNNDHH/PS5-3.20_Libs/tree/b2a77c09cd71c01f34c790cfbe98c751a13262ad
2026-10-19 23:16:55 +02:00
Dean bf2c63f853 Merge pull request #7864 from MarcZX10/codex/pngdec-output-alignment
fix(libScePngDec): reject misaligned output buffers
2026-10-20 09:52:51 +13:00
Dean a9970f75df Merge pull request #7863 from MarcZX10/codex/pngdec-alpha-value-validation
fix(libScePngDec): reject oversized alpha values
2026-10-20 09:52:37 +13:00
Dean e80325a4c7 Merge pull request #7860 from MarcZX10/codex/pngdec-pitch-validation
fix(libScePngDec): validate custom decode pitch
2026-10-20 08:52:59 +13:00
Dean b372f302f3 Merge pull request #7857 from MarcZX10/codex/pngdec-decode-width-limit
fix(libScePngDec): enforce decode width limit
2026-10-20 08:52:45 +13:00
MarcZX10 7fdfe4493a fix(libScePngDec): reject misaligned output buffers 2026-10-19 11:35:17 +00:00
MarcZX10 73e472b3c2 fix(libScePngDec): reject oversized alpha values 2026-10-19 11:33:45 +00:00
MarcZX10 d0119e5686 fix(libScePngDec): validate custom decode pitch 2026-10-19 11:30:20 +00:00
MarcZX10 0a6c3880f3 fix(libScePngDec): enforce decode width limit 2026-10-19 11:24:42 +00:00
KernelPanicNTandClaude Opus 5.5 ef897dc274 fix(libScePngDec): reject a maximum image width above 1000000
The PS5 module checks max_image_width - 1 > 999999 in
scePngDecQueryMemorySize and scePngDecCreate and returns
0x80690003 (INVALID_PARAM). This returned 0x80690002 (INVALID_SIZE)
and accepted a width of 1000001.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 10:36:50 +00:00
Nithishvelan M a479fcd737 fix(libScePngDec): validate this_size on create
- Return SCE_PNG_DEC_ERROR_INVALID_SIZE when PngDecCreateParam::this_size does not match sizeof(PngDecCreateParam), matching libSceJpegDec behavior.
- Add test coverage for invalid create parameter size.
2026-10-13 08:55:25 +05:30
Claude 121d9332b5 build(libs): strip the MinGW static runtime flags once for all libraries
Every library CMakeLists.txt ended with the same block removing -static,
-static-libgcc and -static-libstdc++ from CMAKE_EXE_LINKER_FLAGS on MinGW,
because core/libs/CMakeLists.txt only removed them after adding the library
directories. Remove them before the libc and library directories are added
so each directory inherits the stripped flags, and drop the 52 copies.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_017pTZqAyVSZy2FZmaqakPHZ
2026-10-07 10:10:38 +00:00
boykopovar a32715f71f refactor(cmake): require explicit runtime target for png and jpeg decoders 2026-10-01 12:38:06 +03:00
boykopovar 61ba4d661a refactor(cmake): place all test executables in build tests directory 2026-10-01 12:28:06 +03:00
boykopovar b22ede6c93 refactor(cmake): move some libs test definitions to local cmakelists 2026-10-01 12:21:46 +03:00
Qznad a0e2f88048 feat(pngdec): implement libScePngDec on the shared PNG decoder 2026-09-30 11:10:00 +01:00
boykopovar abc72da741 feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
boykopovar 6123893998 feat(libs): throw not impl ex in every stub 2026-09-06 15:05:04 +03:00
boykopovar 59bee8d187 feat(libs): add libs function signatures 2026-08-20 23:18:16 +03:00