feat(libSceNKWebKit): expose two scalar data exports #13515

Closed
kyon-eth wants to merge 9 commits from upstream-pr/13515 into main
kyon-eth commented 2026-10-30 17:29:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kyon-eth on 2026-10-30T17:29:18Z.


What

Expose two libSceNKWebKit scalar data exports: the signed BlobDataItem::toEndOfFile sentinel and the writable WebCoreHas3DRendering flag. Their sizes and initial values agree in both version-labelled images. The image labels do not independently authenticate retail firmware provenance.

The flag's initial value does not implement browser rendering. No game unblock is claimed. This change depends on #13452 for the public-header audit's data-alias support. #13500 also edits the WebKit export source and debt file, so its landing order may require reconciliation.

Tested

  • macOS x86-64: compiled the production export source, linked a standalone dynamic library with dynamic lookup, loaded both data aliases and checked their initial values and the flag's writability. This does not exercise the full guest loader or a production library build.
  • Public-header audit, conventions, whitespace, and NID test suite passed. The tests that print download messages use loopback fixtures or mocks.
  • Open-PR overlap scan completed across 1,576 other PRs and found no matching exports.
  • No Linux, Windows, console or game run was performed.

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 notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #13452
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5088444779 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13515). Originally posted by [kyon-eth](https://github.com/kyon-eth) on 2026-10-30T17:29:18Z. --- ### What Expose two `libSceNKWebKit` scalar data exports: the signed `BlobDataItem::toEndOfFile` sentinel and the writable `WebCoreHas3DRendering` flag. Their sizes and initial values agree in both version-labelled images. The image labels do not independently authenticate retail firmware provenance. The flag's initial value does not implement browser rendering. No game unblock is claimed. This change depends on #13452 for the public-header audit's data-alias support. #13500 also edits the WebKit export source and debt file, so its landing order may require reconciliation. ### Tested - macOS x86-64: compiled the production export source, linked a standalone dynamic library with dynamic lookup, loaded both data aliases and checked their initial values and the flag's writability. This does not exercise the full guest loader or a production library build. - Public-header audit, conventions, whitespace, and NID test suite passed. The tests that print download messages use loopback fixtures or mocks. - Open-PR overlap scan completed across 1,576 other PRs and found no matching exports. - No Linux, Windows, console or game run was performed. ### 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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`) - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #13452 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-19 04:47:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T04:47:15Z.

Review: COMMENTED


Reviewed — no blocking findings

The changed export declarations and public header audit appear consistent at head 4446a7d7e547f79411bac77f8f83fb077209f3cd; I could not run the reported checks in this review environment.

What I ran

Read the prepared description, commits, manifest, diff, and all six changed files at the pinned head using repo_read.py. No tests or builds were run.

Results

Check Result Note
Source review passed All changed files read
Reported checks not run Reported by the author
Build and runtime checks not run No local execution available

Findings

Blocking

None.

Non-blocking

None.

Not verified

The author reports macOS x86-64 standalone data-alias checks and public-header, convention, whitespace, and NID test checks; these were not independently verified. Linux, Windows, console, and game behavior were not run, as stated in the description. review/README.md and repository files not listed as changed were not read.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5969465884 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13515#pullrequestreview-5969465884). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T04:47:15Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The changed export declarations and public header audit appear consistent at head `4446a7d7e547f79411bac77f8f83fb077209f3cd`; I could not run the reported checks in this review environment. ## What I ran Read the prepared description, commits, manifest, diff, and all six changed files at the pinned head using `repo_read.py`. No tests or builds were run. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | All changed files read | | Reported checks | not run | Reported by the author | | Build and runtime checks | not run | No local execution available | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The author reports macOS x86-64 standalone data-alias checks and public-header, convention, whitespace, and NID test checks; these were not independently verified. Linux, Windows, console, and game behavior were not run, as stated in the description. `review/README.md` and repository files not listed as changed were not read. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 13:36:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T13:36:30Z.

Review: COMMENTED


Compiled the branch export source as a Linux object. Both explicit NID aliases resolve to the intended scalar data symbols. A trial merge against main 13aa5703b390 reports a conflict in libSceNKWebKit.hpp. The debt update also needs a change fragment under docs/dev/debt/changes/.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6170837992 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13515#pullrequestreview-6170837992). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T13:36:30Z. **Review:** COMMENTED --- Compiled the branch export source as a Linux object. Both explicit NID aliases resolve to the intended scalar data symbols. A trial merge against main `13aa5703b390` reports a conflict in `libSceNKWebKit.hpp`. The debt update also needs a change fragment under `docs/dev/debt/changes/`. AI-assisted: yes.

Pull request closed

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!13515
No description provided.