refactor(prx): name 191 more LibreSsl3 parent-export aliases the NID databases resolve #17303

Merged
dkdhanda8 merged 11 commits from upstream-pr/17303 into main 2026-12-03 06:06:35 +00:00
dkdhanda8 commented 2026-11-08 17:28:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by dkdhanda8 on 2026-11-08T17:28:25Z.


What

The remaining 187 of the 387 parent-library aliases that libSceLibreSsl3's ParentExports.cpp forwards on Windows resolve in the pinned public symbol databases and are renamed from their libreSsl3Forward_* placeholder names to their real export names. This is the second half of the same rename series as #17299; the branch is stacked on it, and each half touches disjoint lines of ParentExports.cpp.

Every resolved name was verified by reproducing its NID with tools/nid_names.py's compute_nid and matching it against aerolib.csv and the ps5rs catalog. The 14 exports currently touched by other open PRs are left untouched, and sceLibreSslInitEx, sceLibreSslInitEx2, sceLibreSslTerm and sceLibreSslGetMemoryPoolStats keep their forwarding aliases because those names are already exported by the parent libSceLibreSsl. No behavior changes; the IAT tail-jump forwarding bodies are byte-identical.

Tested

  • tools/check_conventions.py --base origin/main passes; git diff --check is clean.
  • Compiles with -fsyntax-only (MinGW g++ 15); this environment cannot link standalone throw-using objects or build the full CMake tree, so test/CI execution is deferred to the project's rig.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); no silent stubs added
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #17299
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a (naming refactor)
  • AI-assisted: yes

Summary by CodeRabbit

  • Refactor
    • Updated names for several LibreSSL API exports. Export IDs and behavior remain unchanged.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5213471183 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17303). Originally posted by [dkdhanda8](https://github.com/dkdhanda8) on 2026-11-08T17:28:25Z. --- ### What The remaining 187 of the 387 parent-library aliases that `libSceLibreSsl3`'s `ParentExports.cpp` forwards on Windows resolve in the pinned public symbol databases and are renamed from their `libreSsl3Forward_*` placeholder names to their real export names. This is the second half of the same rename series as #17299; the branch is stacked on it, and each half touches disjoint lines of `ParentExports.cpp`. Every resolved name was verified by reproducing its NID with `tools/nid_names.py`'s `compute_nid` and matching it against [aerolib.csv](https://github.com/zecoxao/sce_symbols/blob/2883963a0a514ba6e77407a08ef4730a65e88254/aerolib.csv) and the [ps5rs catalog](https://github.com/claimore22/ps5rs/blob/2304be5131221bae0dac24b9767cabffda33f747/data/nids.csv). The 14 exports currently touched by other open PRs are left untouched, and `sceLibreSslInitEx`, `sceLibreSslInitEx2`, `sceLibreSslTerm` and `sceLibreSslGetMemoryPoolStats` keep their forwarding aliases because those names are already exported by the parent `libSceLibreSsl`. No behavior changes; the IAT tail-jump forwarding bodies are byte-identical. ### Tested - `tools/check_conventions.py --base origin/main` passes; `git diff --check` is clean. - Compiles with `-fsyntax-only` (MinGW g++ 15); this environment cannot link standalone throw-using objects or build the full CMake tree, so test/CI execution is deferred to the project's rig. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); no silent stubs added - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #17299 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a (naming refactor) - [x] AI-assisted: yes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Refactor** * Updated names for several LibreSSL API exports. Export IDs and behavior remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
gabichuuuuu commented 2026-11-08 19:20:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-08T19:20:36Z.

Review: COMMENTED


Windows build of this head merged onto main 9fabd4aa7e, in one tree with the other open NID-naming PRs in this series (#17271, #17254, #17297, #17298 and #17303, which contains #17299); all merged cleanly. Setup: Windows 11, WinLibs GCC 15.2, Release, BUILD_TESTING=ON.

  • The library builds and links. All 138 guest_hmd2*, guest_user_service*, guest_icu*, guest_nkwebkit_requirements* and guest_libre_ssl* tests pass.
  • Same exports. I listed every NID the library exports before and after, using tools/nid_names.py's own rules: APS5_EXPORT literals, plus compute_nid of each APS5_VABI, assembly and data definition that isn't _nid_no_patch. The set is identical to main's, with no NID defined twice.
  • Together with #17299, 376 of the 387 ParentExports.cpp forwards are renamed. Each new assembly name equals the stem of the __imp_<name>_nid_postfix it jumps to, and the multiset of jump targets is unchanged from main. The 11 that keep a libreSsl3Forward_* placeholder are sceLibreSslInit, sceLibreSslInitEx, sceLibreSslInitEx2, sceLibreSslTerm, sceLibreSslGetMemoryPoolStats, UI_get_input_flags, EVP_aes_128_gcm, EVP_aes_128_ctr, BN_print, SSL_CTX_use_PrivateKey_ASN1 and SSL_CTX_set_alpn_select_cb. objdump -p on the built libSceLibreSsl3.prx lists SSL_shutdown and no longer libreSsl3Forward_SSL_shutdown_nid_no_patch.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5819297895 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17303#pullrequestreview-5819297895). Originally posted by [gabichuuuuu](https://github.com/gabichuuuuu) on 2026-11-08T19:20:36Z. **Review:** COMMENTED --- Windows build of this head merged onto `main` `9fabd4aa7e`, in one tree with the other open NID-naming PRs in this series (#17271, #17254, #17297, #17298 and #17303, which contains #17299); all merged cleanly. Setup: Windows 11, WinLibs GCC 15.2, Release, `BUILD_TESTING=ON`. - The library builds and links. All 138 `guest_hmd2*`, `guest_user_service*`, `guest_icu*`, `guest_nkwebkit_requirements*` and `guest_libre_ssl*` tests pass. - **Same exports.** I listed every NID the library exports before and after, using `tools/nid_names.py`'s own rules: `APS5_EXPORT` literals, plus `compute_nid` of each `APS5_VABI`, assembly and data definition that isn't `_nid_no_patch`. The set is identical to `main`'s, with no NID defined twice. - Together with #17299, 376 of the 387 `ParentExports.cpp` forwards are renamed. Each new assembly name equals the stem of the `__imp_<name>_nid_postfix` it jumps to, and the multiset of jump targets is unchanged from `main`. The 11 that keep a `libreSsl3Forward_*` placeholder are `sceLibreSslInit`, `sceLibreSslInitEx`, `sceLibreSslInitEx2`, `sceLibreSslTerm`, `sceLibreSslGetMemoryPoolStats`, `UI_get_input_flags`, `EVP_aes_128_gcm`, `EVP_aes_128_ctr`, `BN_print`, `SSL_CTX_use_PrivateKey_ASN1` and `SSL_CTX_set_alpn_select_cb`. `objdump -p` on the built `libSceLibreSsl3.prx` lists `SSL_shutdown` and no longer `libreSsl3Forward_SSL_shutdown_nid_no_patch`.
MarcZX10 commented 2026-11-17 16:10:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T16:10:09Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

What I ran

  • Head 64574ab80024aa2ef7b5f293a644ee5b48f499cd, base main. Read the PR description, the commit list, the manifest and the full diff.patch (1566 lines) covering all three reviewed files.
  • Read the export macro, the export-naming tool and the NID function at head with the reader. No build, no compile, no test run.
  • Reader commands (read-only):
Commands
python3 repo_read.py search "APS5_EXPORT"
python3 repo_read.py search "APS5_EXPORT" core/libs/prx/libSceLibreSsl3
python3 repo_read.py search "no_patch_cut" tools
python3 repo_read.py search "def compute_nid" tools
python3 repo_read.py cat core/libs/prx/libc/include/general/ExportMacros.hpp 1 21
python3 repo_read.py cat core/libs/prx/libSceLibreSsl3/ParentExports.cpp 1 6
python3 repo_read.py cat tools/check_conventions.py 218 240
python3 repo_read.py cat tools/export_gap.py 192 240
python3 repo_read.py cat tools/nid_names.py 1 50

Diff counts were taken with Grep on diff.patch. One inline NID recomputation was refused by the approval gate.

  • Files: 3 of 3 reviewed files read through their diff hunks. ParentExports.cpp at head was read only by search and its first six lines. Excluded by rule: none.

Results

Check Result Note
Diff of the 3 reviewed files passed All hunks read
Renames against removed exports passed 375 removed, 375 added, none re-added as libreSsl3Forward_
Export naming rule passed Plain names export under their computed NID
NID recomputation not run Sample check refused by approval gate
check_conventions.py --base origin/main not run Author reports a pass
Build and -fsyntax-only not run No build in this review
Hosted CI not run Not inspected

Findings

Blocking

None.

Non-blocking

  • docs/dev/debt/changes/libressl3-20171-inventory.md:25 says 386 exports, 375 resolved. The diff agrees with the totals: 375 renamed plus 11 unchanged APS5_EXPORT forwarders make 386. The title says "name 191 more", the body says "remaining 187", and the first commit subject says "name 190". The diff against main covers all 375 renames, so it includes the earlier half and is not only the second. Make the title and body state the count this PR changes.

Not verified

  • NIDs of the 375 renamed exports. Their NID now comes from the plain name, as tools/export_gap.py treats it. The description says each was checked with compute_nid against the pinned databases; I did not reproduce it. If one NID changed, imports by that NID would fail silently.
  • Symbol collisions. A plain name defined twice, or defined natively elsewhere in libSceLibreSsl3, would fail at link time. Not checked; no build.
  • The 14 exports the description says other open PRs touch and this PR leaves alone. At head, only six forwarders besides the five sceLibreSsl* names are unchanged here: UI_get_input_flags, EVP_aes_128_gcm, BN_print, EVP_aes_128_ctr, SSL_CTX_use_PrivateKey_ASN1, SSL_CTX_set_alpn_select_cb. Whether the other eight are among the 375 renames needs those PRs.
  • check_conventions.py --base origin/main, which the description reports as passing. Not run.
  • Windows COFF loading and runtime behaviour, which the inventory itself lists as unverified. Hosted CI state, not inspected.

To get this to a good state

Nothing is required.

Optional:

  • Reconcile the count in the title, the body and the first commit subject with the 375 renames in the diff.
  • Name the 14 exports the description means, and say which of them this PR leaves unchanged.
  • Post the NID comparison output so a reviewer can see the match for the renamed exports.

Sources

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5942064564 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17303#pullrequestreview-5942064564). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-17T16:10:09Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. ## What I ran - Head `64574ab80024aa2ef7b5f293a644ee5b48f499cd`, base `main`. Read the PR description, the commit list, the manifest and the full `diff.patch` (1566 lines) covering all three reviewed files. - Read the export macro, the export-naming tool and the NID function at head with the reader. No build, no compile, no test run. - Reader commands (read-only): <details> <summary>Commands</summary> ``` python3 repo_read.py search "APS5_EXPORT" python3 repo_read.py search "APS5_EXPORT" core/libs/prx/libSceLibreSsl3 python3 repo_read.py search "no_patch_cut" tools python3 repo_read.py search "def compute_nid" tools python3 repo_read.py cat core/libs/prx/libc/include/general/ExportMacros.hpp 1 21 python3 repo_read.py cat core/libs/prx/libSceLibreSsl3/ParentExports.cpp 1 6 python3 repo_read.py cat tools/check_conventions.py 218 240 python3 repo_read.py cat tools/export_gap.py 192 240 python3 repo_read.py cat tools/nid_names.py 1 50 ``` Diff counts were taken with Grep on `diff.patch`. One inline NID recomputation was refused by the approval gate. </details> - Files: 3 of 3 reviewed files read through their diff hunks. `ParentExports.cpp` at head was read only by search and its first six lines. Excluded by rule: none. ## Results | Check | Result | Note | | --- | --- | --- | | Diff of the 3 reviewed files | passed | All hunks read | | Renames against removed exports | passed | 375 removed, 375 added, none re-added as `libreSsl3Forward_` | | Export naming rule | passed | Plain names export under their computed NID | | NID recomputation | not run | Sample check refused by approval gate | | `check_conventions.py --base origin/main` | not run | Author reports a pass | | Build and `-fsyntax-only` | not run | No build in this review | | Hosted CI | not run | Not inspected | ## Findings **Blocking** None. **Non-blocking** - `docs/dev/debt/changes/libressl3-20171-inventory.md:25` says 386 exports, 375 resolved. The diff agrees with the totals: 375 renamed plus 11 unchanged `APS5_EXPORT` forwarders make 386. The title says "name 191 more", the body says "remaining 187", and the first commit subject says "name 190". The diff against `main` covers all 375 renames, so it includes the earlier half and is not only the second. Make the title and body state the count this PR changes. ## Not verified - NIDs of the 375 renamed exports. Their NID now comes from the plain name, as `tools/export_gap.py` treats it. The description says each was checked with `compute_nid` against the pinned databases; I did not reproduce it. If one NID changed, imports by that NID would fail silently. - Symbol collisions. A plain name defined twice, or defined natively elsewhere in `libSceLibreSsl3`, would fail at link time. Not checked; no build. - The 14 exports the description says other open PRs touch and this PR leaves alone. At head, only six forwarders besides the five `sceLibreSsl*` names are unchanged here: `UI_get_input_flags`, `EVP_aes_128_gcm`, `BN_print`, `EVP_aes_128_ctr`, `SSL_CTX_use_PrivateKey_ASN1`, `SSL_CTX_set_alpn_select_cb`. Whether the other eight are among the 375 renames needs those PRs. - `check_conventions.py --base origin/main`, which the description reports as passing. Not run. - Windows COFF loading and runtime behaviour, which the inventory itself lists as unverified. Hosted CI state, not inspected. ## To get this to a good state Nothing is required. Optional: - Reconcile the count in the title, the body and the first commit subject with the 375 renames in the diff. - Name the 14 exports the description means, and say which of them this PR leaves unchanged. - Post the NID comparison output so a reviewer can see the match for the renamed exports. ## Sources - [`APS5_EXPORT` defines a `<NID>_nid_no_patch_cut` alias](https://github.com/boykopovar/AnyPS5/blob/64574ab80024aa2ef7b5f293a644ee5b48f499cd/core/libs/prx/libc/include/general/ExportMacros.hpp#L10-L13) - [A plain assembly name provides the NID computed from it](https://github.com/boykopovar/AnyPS5/blob/64574ab80024aa2ef7b5f293a644ee5b48f499cd/tools/export_gap.py#L196-L212) - [`compute_nid` is SHA-1 over the name plus a fixed suffix](https://github.com/boykopovar/AnyPS5/blob/64574ab80024aa2ef7b5f293a644ee5b48f499cd/tools/nid_names.py#L33-L35)
MarcZX10 commented 2026-11-20 17:18:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T17:18:02Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this naming refactor; the changed forwarding bodies preserve their IAT tail jumps, and I found no concrete defect in the inspected changes.

What I ran

Read the prepared diff and changed files at head 1c46c5c1621353cad70a368de8a9b0dc5341f515. No commands or tests were run; the description reports convention checks and syntax-only compilation, which I did not verify.

Results

Check Result Note
Diff and forwarding source review passed Alias-name changes inspected
Documentation change review passed Debt note inspected
Automated checks not run Author-reported only

Findings

Blocking

None.

Non-blocking

None.

Not verified

core/libs/prx/libSceLibreSsl3/ParentExports.cpp and docs/dev/debt/libSceLibreSsl3.md were read. No files were excluded by files.json; that document was not available through the review reader, so its exclusions could not be checked directly. The complete 791-line source file was not read, and the NID database matches, all aliases, Windows loading/runtime behavior, and the reported checks were not independently verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5996629538 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17303#pullrequestreview-5996629538). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T17:18:02Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this naming refactor; the changed forwarding bodies preserve their IAT tail jumps, and I found no concrete defect in the inspected changes. ## What I ran Read the prepared diff and changed files at head `1c46c5c1621353cad70a368de8a9b0dc5341f515`. No commands or tests were run; the description reports convention checks and syntax-only compilation, which I did not verify. ## Results | Check | Result | Note | |---|---|---| | Diff and forwarding source review | passed | Alias-name changes inspected | | Documentation change review | passed | Debt note inspected | | Automated checks | not run | Author-reported only | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified `core/libs/prx/libSceLibreSsl3/ParentExports.cpp` and `docs/dev/debt/libSceLibreSsl3.md` were read. No files were excluded by `files.json`; that document was not available through the review reader, so its exclusions could not be checked directly. The complete 791-line source file was not read, and the NID database matches, all aliases, Windows loading/runtime behavior, and the reported checks were not independently verified. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-22 14:53:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T14:53:41Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change; the optional point below is informational.

What I ran

Reviewed head c841996ecab72d114bca54630cb65e9c646f7c2f against the prepared diff. No commands or tests were run.

Results

Check Result Note
Diff and changed lines passed Both changed files inspected
Tests and build not run Author-reported checks only

Findings

Blocking

None.

Non-blocking

  • The change adds a second parent-export debt entry while retaining the previous entry with a count of 384 (docs/dev/debt/libSceLibreSsl3.md:65). Consider updating the older entry or consolidating the two so the debt summary has one current count.

Not verified

No tests, build, Windows loading, or runtime behavior were verified. The description reports convention and syntax checks, but these were not run in this review. Read the changed lines in core/libs/prx/libSceLibreSsl3/ParentExports.cpp and docs/dev/debt/libSceLibreSsl3.md; no files were excluded according to the changed-file listing.

To get this to a good state

Nothing is required. The debt-entry consolidation is optional.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6012886905 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17303#pullrequestreview-6012886905). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T14:53:41Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change; the optional point below is informational. ## What I ran Reviewed head `c841996ecab72d114bca54630cb65e9c646f7c2f` against the prepared diff. No commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and changed lines | passed | Both changed files inspected | | Tests and build | not run | Author-reported checks only | ## Findings ### Blocking None. ### Non-blocking - The change adds a second parent-export debt entry while retaining the previous entry with a count of 384 (`docs/dev/debt/libSceLibreSsl3.md:65`). Consider updating the older entry or consolidating the two so the debt summary has one current count. ## Not verified No tests, build, Windows loading, or runtime behavior were verified. The description reports convention and syntax checks, but these were not run in this review. Read the changed lines in `core/libs/prx/libSceLibreSsl3/ParentExports.cpp` and `docs/dev/debt/libSceLibreSsl3.md`; no files were excluded according to the changed-file listing. ## To get this to a good state Nothing is required. The debt-entry consolidation is optional.
MarcZX10 commented 2026-11-22 15:09:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T15:09:04Z.

Review: DISMISSED


Reviewed — changes requested

Changes are required before merge: restore the NID export aliases for the renamed Windows parent forwarders.

What I ran

Reviewed head 746b6521cf7a7a4967e2ed0d685eb099bbe5a9d9 using repo_read.py reader tools. I ran no build or tests; the author reports convention, syntax-only, and diff checks, which I did not independently run.

Results

Check Result Note
Source review failed Windows NID export aliases were removed
Build and tests not run Author-reported checks only
Negative control not run No build environment available

Findings

Blocking

  • The renamed forwarders no longer get the NID-based export symbols needed for Windows PRX resolution. For example, the old APS5_EXPORT for ASN1_TIME_print is removed and replaced by a plain assembly function symbol at core/libs/prx/libSceLibreSsl3/ParentExports.cpp:11. APS5_ASM_FUNCTION only declares a COFF function symbol; APS5_EXPORT is what emits the <NID>_nid_no_patch_cut export alias. Without those aliases, callers resolving parent exports by NID cannot resolve these renamed entries. Restore an APS5_EXPORT for each renamed forwarder using its resolved name’s NID. Pinned source · Export macro · Assembly macro

Non-blocking

None.

Not verified

I read the complete changed ParentExports.cpp and docs/dev/debt/libSceLibreSsl3.md, plus the relevant export and assembly macros. Both changed files were listed as included; no changed file was reported excluded. I did not independently validate every claimed NID against the external databases, inspect a linked Windows PRX, or run the reported checks. The prepared bundle did not expose files.json through the reader.

To get this to a good state

Restore the NID export aliases for all renamed parent forwarders, then verify the Windows export table and rerun the relevant build and convention checks.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6012946349 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17303#pullrequestreview-6012946349). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T15:09:04Z. **Review:** DISMISSED --- # Reviewed — changes requested Changes are required before merge: restore the NID export aliases for the renamed Windows parent forwarders. ## What I ran Reviewed head `746b6521cf7a7a4967e2ed0d685eb099bbe5a9d9` using `repo_read.py` reader tools. I ran no build or tests; the author reports convention, syntax-only, and diff checks, which I did not independently run. ## Results | Check | Result | Note | |---|---|---| | Source review | failed | Windows NID export aliases were removed | | Build and tests | not run | Author-reported checks only | | Negative control | not run | No build environment available | ## Findings ### Blocking - The renamed forwarders no longer get the NID-based export symbols needed for Windows PRX resolution. For example, the old `APS5_EXPORT` for `ASN1_TIME_print` is removed and replaced by a plain assembly function symbol at `core/libs/prx/libSceLibreSsl3/ParentExports.cpp:11`. `APS5_ASM_FUNCTION` only declares a COFF function symbol; `APS5_EXPORT` is what emits the `<NID>_nid_no_patch_cut` export alias. Without those aliases, callers resolving parent exports by NID cannot resolve these renamed entries. Restore an `APS5_EXPORT` for each renamed forwarder using its resolved name’s NID. [Pinned source](https://github.com/boykopovar/AnyPS5/blob/746b6521cf7a7a4967e2ed0d685eb099bbe5a9d9/core/libs/prx/libSceLibreSsl3/ParentExports.cpp#L11) · [Export macro](https://github.com/boykopovar/AnyPS5/blob/746b6521cf7a7a4967e2ed0d685eb099bbe5a9d9/core/libs/prx/libc/include/general/ExportMacros.hpp#L10-L13) · [Assembly macro](https://github.com/boykopovar/AnyPS5/blob/746b6521cf7a7a4967e2ed0d685eb099bbe5a9d9/core/libs/prx/libc/include/general/AsmMacros.hpp#L4-L7) ### Non-blocking None. ## Not verified I read the complete changed `ParentExports.cpp` and `docs/dev/debt/libSceLibreSsl3.md`, plus the relevant export and assembly macros. Both changed files were listed as included; no changed file was reported excluded. I did not independently validate every claimed NID against the external databases, inspect a linked Windows PRX, or run the reported checks. The prepared bundle did not expose `files.json` through the reader. ## To get this to a good state Restore the NID export aliases for all renamed parent forwarders, then verify the Windows export table and rerun the relevant build and convention checks.
MarcZX10 commented 2026-11-22 19:36:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T19:36:51Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing in the inspected export renames indicates a forwarding behavior change; the review is incomplete for the required approval criteria because the full changed file was not read.

What I ran

  • Reviewed head da856b837755d7bd33e2684d3dbfdf6daad0d061 from the prepared bundle.
  • Read description.md, commits.md, manifest.json, diff.patch, and the changed ParentExports.cpp at lines 1–45 and 1110–1152 using repo_read.py.
  • No build or tests were run.

Results

Check Result Note
Diff inspection passed One changed file; 734 added lines
Build and tests not run Reported as deferred by the author
Full changed-file review not run Only selected ranges were read

Findings

Blocking

None verified in the inspected ranges.

Non-blocking

None.

Not verified

  • The remaining contents of ParentExports.cpp were not read; therefore the full set of renames, NID/name matches, duplicate exports, and forwarding bodies was not verified.
  • Author-reported NID database matching, convention check, syntax-only compilation, and diff check were not independently run.
  • Build, CI, and runtime behavior were not verified.
  • files.json was not available as a review-folder document; the reader’s listing identified ParentExports.cpp as the sole changed file.

To get this to a good state

Nothing is required. Optional: complete review of the remaining changed lines and run the project checks before merging.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6014069058 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17303#pullrequestreview-6014069058). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T19:36:51Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing in the inspected export renames indicates a forwarding behavior change; the review is incomplete for the required approval criteria because the full changed file was not read. ## What I ran - Reviewed head `da856b837755d7bd33e2684d3dbfdf6daad0d061` from the prepared bundle. - Read `description.md`, `commits.md`, `manifest.json`, `diff.patch`, and the changed `ParentExports.cpp` at lines 1–45 and 1110–1152 using `repo_read.py`. - No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff inspection | passed | One changed file; 734 added lines | | Build and tests | not run | Reported as deferred by the author | | Full changed-file review | not run | Only selected ranges were read | ## Findings ### Blocking None verified in the inspected ranges. ### Non-blocking None. ## Not verified - The remaining contents of `ParentExports.cpp` were not read; therefore the full set of renames, NID/name matches, duplicate exports, and forwarding bodies was not verified. - Author-reported NID database matching, convention check, syntax-only compilation, and diff check were not independently run. - Build, CI, and runtime behavior were not verified. - `files.json` was not available as a review-folder document; the reader’s listing identified `ParentExports.cpp` as the sole changed file. ## To get this to a good state Nothing is required. Optional: complete review of the remaining changed lines and run the project checks before merging.
MarcZX10 commented 2026-11-28 14:41:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-28T14:41:14Z.

Review: APPROVED


Reviewed — looks good

The reviewed change consistently replaces placeholder aliases with resolved export names while preserving the NIDs and tail-jump targets; the full reviewable diff contains only this file.

What I ran

  • Reviewed head f100e2d30fa492bf234fd070672bca7ef5c2d86e; base is main.
  • Read description.md, commits.md, manifest.json, diff.patch, and the changed core/libs/prx/libSceLibreSsl3/ParentExports.cpp (lines 1–30). The manifest shows that file is included; no files are excluded.
  • Used repository searches for a renamed symbol, its old placeholder, the export macro, and references to the changed file. No build or tests were run.

Results

Check Result Note
Diff and changed source review passed One changed file; naming-only edits inspected
Build and tests not run No checks run in this review

Findings

Blocking

None.

Non-blocking

None.

Not verified

  • The remaining contents of ParentExports.cpp were not read line by line. The supplied diff shows consistent name substitutions; a full compile and runtime forwarding behavior were not verified.
  • Author-reported convention, diff, and syntax checks were not run by this review.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6098434471 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17303#pullrequestreview-6098434471). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-28T14:41:14Z. **Review:** APPROVED --- # Reviewed — looks good The reviewed change consistently replaces placeholder aliases with resolved export names while preserving the NIDs and tail-jump targets; the full reviewable diff contains only this file. ## What I ran - Reviewed head `f100e2d30fa492bf234fd070672bca7ef5c2d86e`; base is `main`. - Read `description.md`, `commits.md`, `manifest.json`, `diff.patch`, and the changed `core/libs/prx/libSceLibreSsl3/ParentExports.cpp` (lines 1–30). The manifest shows that file is included; no files are excluded. - Used repository searches for a renamed symbol, its old placeholder, the export macro, and references to the changed file. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and changed source review | passed | One changed file; naming-only edits inspected | | Build and tests | not run | No checks run in this review | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified - The remaining contents of `ParentExports.cpp` were not read line by line. The supplied diff shows consistent name substitutions; a full compile and runtime forwarding behavior were not verified. - Author-reported convention, diff, and syntax checks were not run by this review. ## To get this to a good state Nothing is required.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!17303
No description provided.