feat(libSceAddressSanitizer): add skeleton library and 301 ps5rs-listed stubs #12106
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12106"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-10-27T20:45:42Z.
What
libSceAddressSanitizerdeclaring 301 export stubs derived from claimore22/ps5rs (data/stubs/by_library/libSceAddressSanitizer_nosubmission.txt, commit5f252a658ff470bcb2b6cd15205fd8ca64ae4477).tools/nid_names.pycompute_nid.core/libs/prx/libSceAddressSanitizer/libSceAddressSanitizer.hppandcore/libs/prx/libSceAddressSanitizer/include/Api.hpp) satisfyingtest_public_headers.py.docs/dev/debt/libSceAddressSanitizer.md; each stub throwsNotImplemented_nid_no_patch.Tested
python core/libs/tests/test_public_headers.py --audit-onlyon Windows 11.python tools/check_conventions.py --base origin/main.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T20:52:30Z.
Review: COMMENTED
Reviewed exact head
312c586d8b931cc42efc5ba4544809fb4c08cf68. Independent checks: the pinnedps5rslist andExport.cppeach contain exactly 301 names;tools/nid_names.pycomputes every listed NID with zero mismatches; the public-header audit reports 369 libraries and 13,120 exports with unique declarations and umbrella coverage;Export.cpppasses C++20 syntax-only compilation; and the merge preview against currentmainis clean. Hosted policy checks pass; the Windows build is still running.\n\nOne scope question before treating this as a resolution of #12063: that issue nameslibSceDbgAddressSanitizer, while this PR addslibSceAddressSanitizerand does not add aModuleTable.hppmapping. The seven exports identified in the issue overlap this inventory, but the 301 throwing stubs do not provide usable ASan behavior: even__asan_initand instrumented load/store calls throw. That is consistent with the repository’s rule for unknown exports, but it only helps import resolution if this exact library name is what the loader expects. Could you clarify the evidence tying this library name to the target import/module path, and whether this PR is intended to address any part of #12063? The issue’s proposed silent or functional runtime paths are separate from the throwing skeleton here.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T21:56:18Z.
Review: COMMENTED
Follow-up on the scope clarification: I agree this is an import-resolution skeleton for
libSceAddressSanitizer, separate from thelibSceDbgAddressSanitizerruntime work in #12063. I independently rechecked the exact head312c586d8b931cc42efc5ba4544809fb4c08cf68: all 301 declarations have matching definitions, both name sets are unique, the public-header audit passes (368 libraries / 12,822 exports), conventions andgit diff --checkpass, the current-main merge preview is clean, and hosted Windows succeeds. I did not independently rerun the pinned ps5rs NID computation in this pass; the PR body records it as checked. No blocking issue found in this scope. The only hosted build job shown is Windows; Linux and macOS build jobs were skipped by workflow selection, so this is not a claim of cross-platform validation.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T17:27:58Z.
Review: APPROVED
Reviewed — looks good\n\nThe change is scoped to the AddressSanitizer skeleton and its declared stub exports; the inventory and generated NID declarations were checked on this head. Windows hosted configure/link and convention, intake, eligibility, and report checks pass; CTest and Linux were skipped.\n\nReviewed head against base ; no blocking finding. This approval covers this exact diff only.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T17:29:02Z.
Review: APPROVED
Reviewed — looks good
The change is scoped to the AddressSanitizer skeleton and its declared stub exports; the inventory and generated NID declarations were checked on this head. Windows hosted configure/link and convention, intake, eligibility, and report checks pass; CTest and Linux were skipped.
Reviewed head
312c586d8bagainst base4a6005955f; no blocking finding. This approval covers this exact diff.