feat(libSceLibreSsl3): implement numeric object identifier text parsing #12315
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12315"
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 Ninot1Quyi on 2026-10-28T09:15:12Z.
What
Implements
OBJ_txt2objin libSceLibreSsl3 using the contracts and object metadata from LibreSSL 4.0.0 at ce488b78e0bd994780569df718596b9776ff681a.Public destruction depends on #10461, which is still open. The focused parser test releases its allocations directly and does not establish constructor/destructor interoperability through
ASN1_OBJECT_free. PS5 object layout, cross-module error-queue sharing and allocator/ABI interoperability remain unverified and are recorded indocs/dev/debt/libSceLibreSsl3.md.Submission-time
python3 tools/pr_overlap.py --repo boykopovar/AnyPS5 --base main --branch feat/libressl3-object-textcompleted against 1,383 open PRs at maina57567928d2c0bac40aaf81f3ad4b189d49d0b8f. It found no duplicate export or new file, and shared-line edits with #10452, #10461, #10490, #10491, #10493, #10557, #10631 and #10960, principally in CMake and the debt record; #10631 also changes the adjacentOBJ_cmpdeclaration/stub. #9970 conflicts with main and could not be automatically compared; manual inspection of its shared-file diff confirms it implementsOpenSSL_versionand adjusts its test/debt entries, without implementingOBJ_txt2obj. The subsequent main updates through284a487cd978824f442955918ec0f99ab9c556d3do not change these library files or the contribution/CI rules. Shared-file merge order remains to be coordinated with their authors; #10461 is the functional lifecycle prerequisite and declares its own dependencies on #9970 and #10452.Tested
The cloud validation below applies to commit
56f4e91f047af073b6b282bb48f66f4cd6d8b6e3, based on upstreamb99bbebacd1d19e5be08f7858ac48527452bc4ba. For submission, the branch was rebased without conflicts onto284a487cd978824f442955918ec0f99ab9c556d3;git range-diffconfirms the patch is unchanged at3636321d09342a04fe4bff55ccd6f6a8dfcf612a. The full build/runtime suite has not been rerun on the rebased commit.libsbuild: passed.autorun_exit_statuspassed a separate rerun after normalizing the build-environment permissions and addingumask 022to its setup script. The original full-run totals remain unchanged; 129 failures still have no passing result.guest_crypto_memcmp, all fourguest_libressl3_*tests (includingguest_libressl3_object_parser) andpublic_headers: passed.python3 tools/check_test_registration.py --scripts) found all 209 test scripts registered;git diff --check origin/main...HEADpassed;python3 tools/check_conventions.py --base origin/mainreported 0 errors and one debt-entry-length warning. The original Linux logs are retained in the cloud workspace; they are not attached here.An independent self-process syscall probe in the cloud environment returned
ENOSYS (38)forprocess_vm_readv,process_vm_writevanduserfaultfd. The outstanding failures were classified as follows:check_skips.py --require-testsrejected 15 of the 117 skips; these also require the missing write-tracking capability. The other skips being allowed by policy does not mean those tests ran successfully. These findings explain the environment blocker, but do not guarantee that every assertion will pass in CI. No tests were disabled and no product behavior was changed to hide these failures.Windows, PS5 hardware, actual game execution, physical GPUs and cross-module ABI interoperability have no passing result from this work.
Original cloud commands and log locations
Cloud workspace records:
/workspace/.onboarding/full-build.log/workspace/.onboarding/full-libs-build.log/workspace/.onboarding/full-ctest.log/workspace/.onboarding/full-ctest.xml/workspace/.onboarding/full-failures.txt/workspace/.onboarding/autorun-recheck.xmlMaintainer CI request: please run the upstream Build workflow for this PR's merge with current main, with
full=true,linux=trueandselect=false, so both full Linux and Windows jobs run without PR-based test selection. This account has no upstream write permission; the Linux job requires the upstream self-hostedanyps5runner.Please verify the tested head/merge commit, that both jobs actually execute, and their CTest and skip-policy results. A partial set of green checks does not establish full validation. Any subsequent commits require another full run. Please also confirm #10461 is satisfied before merging.
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-28T09:18:02Z.
Review: CHANGES_REQUESTED
The PR identifies
obj_dat.canda_object.cas implementation references, and the cited LibreSSL revision's files carry Eric Young's BSD license notice. The newObjectParser.cpphas no source notice. Please retain the applicable upstream notice for any derived implementation, or clarify the independent provenance and license handling; verify the generated table's source metadata as well. This is a source-redistribution requirement, not a functional objection. The PR's hosted checks are still queued, so I have not assessed those as passing.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-18T15:42:28Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
2ed4f784045b3bd2489fe99dae67be0004a27dda. Read the prepared diff and changed source, test, and build-registration lines; no commands or tests were run.Results
Findings
Blocking
None.
Non-blocking
The implementation deliberately leaves name lookup unimplemented and throws for nonnumeric text when
noName == 0(core/libs/prx/libSceLibreSsl3/src/NumericObject.cpp:118). This is recorded in the debt entry; consider keeping the PR title and user-facing scope clear that it provides numeric parsing only.The submission description reports that the full build and runtime suite was not rerun on this rebased head and requests full Linux and Windows CI. Those results should be checked before merging; the supplied results are author-reported, not run in this review.
Not verified
No tests or build checks were run. PS5 layout, cross-module error-queue sharing, allocator and ABI interoperability,
ASN1_OBJECT_freelifecycle behavior, and Windows or console behavior remain unverified as described by the author. Read all changed-line ranges forCMakeLists.txt,Api.hpp,NumericObject.cpp,tests/ObjectParser.cpp,docs/dev/debt/libSceLibreSsl3.md, andtools/observe_libressl3_oid.py;Export.cpphas no added lines. No changed files were excluded by the supplied manifest.To get this to a good state
Nothing is required.
Optional: confirm the requested full Linux and Windows CI on the exact merge head, and retain the disclosed numeric-only scope until name lookup and lifecycle compatibility are verified.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T22:56:34Z.
Review: COMMENTED
Current
mainalready routes this NID toLibreSsl3::ObjectFromTextinObjects.cpp, introduced infbfc42d7a3. The trial merge conflicts inCMakeLists.txt,Export.cppandApi.hppat that boundary. Please compare the numeric encoding and error-queue assertions here with the shipped implementation and carry forward only distinct compatibility coverage. The numeric-only implementation in this branch still throws for named inputs when lookup is enabled, so restoring that export would lose behavior already onmain. Please put any retained debt update in a fragment.AI-assisted: yes.
Pull request closed