feat(libSceNKWebKit): implement 87 branching leaf functions translated from the module #23757

Closed
RiverWhy wants to merge 19 commits from upstream-pr/23757 into main
RiverWhy commented 2026-11-19 15:58:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by RiverWhy on 2026-11-19T15:58:58Z.


What

Implements 87 more libSceNKWebKit leaf functions, ones whose module body has forward conditional branches (null checks, flag tests, early returns). All 87 throw NotImplemented on main today. Stacked on #23755 (it adds src/LiftedAbi.hpp); only the last commit is new.

Source and method are the same as #23755: the libSceNKWebKit.sprx with SHA-256 3af992253665387feeb5df90ff27dff683e3aa270cc4d92a0535b46ab18fa20d, translated instruction by instruction. Each forward jcc becomes an if around the taken path, with the register and flag state copied on entry. A forward jmp continues at its target, and every ret returns that path's value. The return width is chosen across all paths. Backward branches (loops) are rejected, and those functions stay stubs.

Left out:

  • JSFunction::sourceCode and JSFunction::isHostFunctionNonInline follow a pointer only after clearing its low tag bit (and rax,-2). The test generator never builds tagged pointers, so that path was only ever exercised on garbage. A mutation of the mask went undetected, so I left both out rather than claim they were checked.
  • JSDocument, JSElement, JSEvent and JSNode ::toWrapped reach their wrapped-pointer load only when the cell's JSType byte has one exact value (or range). Random memory rarely produces that, and a mutation of that load went undetected, so they are left out too.
  • Exports claimed by open PRs, and the #23468 exclusions.

Debt: the fragment docs/dev/debt/changes/feat-nkwebkit-lifted-branching-functions.md adds the Functional entry and removes the 77 inventory rows.
Overlap: I checked every open PR head that touches libSceNKWebKit; none removes these stubs.

How it was checked (offline)

Same differential harness as #23755 (the module's bytes against the C++ on randomized memory, with return value, all memory and fault parity compared): 1,500 trials per function, all 87 pass, 0 mismatches. The mutation results for both PRs are in #23755. Seeds are kept only when the digest is the same in 27 arena placements.

Tested

Linux Mint 22.3, GCC 13.3, Release:

  • The new nkwebkit_liftedbranchingfunctions test replays 1,044 recorded seeds (12 per function) against digests recorded from the module's code, and checks that 74 functions throw on a null object. It contains no module code. Runtime 0.3 s.
  • Negative control: changing one field offset in src/LiftedBranchingFunctions.cpp makes the test fail.
  • Full NKWebKit suite: 152/152 nkwebkit_* tests pass.
  • tools/check_conventions.py passes.
  • Not run on Windows locally.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • 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: #23755
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5398332718 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23757). Originally posted by [RiverWhy](https://github.com/RiverWhy) on 2026-11-19T15:58:58Z. --- ### What Implements 87 more `libSceNKWebKit` leaf functions, ones whose module body has **forward conditional branches** (null checks, flag tests, early returns). All 87 throw `NotImplemented` on `main` today. **Stacked on #23755** (it adds `src/LiftedAbi.hpp`); only the last commit is new. Source and method are the same as #23755: the `libSceNKWebKit.sprx` with SHA-256 `3af992253665387feeb5df90ff27dff683e3aa270cc4d92a0535b46ab18fa20d`, translated instruction by instruction. Each forward `jcc` becomes an `if` around the taken path, with the register and flag state copied on entry. A forward `jmp` continues at its target, and every `ret` returns that path's value. The return width is chosen across all paths. Backward branches (loops) are rejected, and those functions stay stubs. Left out: - `JSFunction::sourceCode` and `JSFunction::isHostFunctionNonInline` follow a pointer only after clearing its low tag bit (`and rax,-2`). The test generator never builds tagged pointers, so that path was only ever exercised on garbage. A mutation of the mask went undetected, so I left both out rather than claim they were checked. - `JSDocument`, `JSElement`, `JSEvent` and `JSNode` `::toWrapped` reach their wrapped-pointer load only when the cell's JSType byte has one exact value (or range). Random memory rarely produces that, and a mutation of that load went undetected, so they are left out too. - Exports claimed by open PRs, and the #23468 exclusions. Debt: the fragment `docs/dev/debt/changes/feat-nkwebkit-lifted-branching-functions.md` adds the Functional entry and removes the 77 inventory rows. Overlap: I checked every open PR head that touches `libSceNKWebKit`; none removes these stubs. ### How it was checked (offline) Same differential harness as #23755 (the module's bytes against the C++ on randomized memory, with return value, all memory and fault parity compared): 1,500 trials per function, all 87 pass, 0 mismatches. The mutation results for both PRs are in #23755. Seeds are kept only when the digest is the same in 27 arena placements. ### Tested Linux Mint 22.3, GCC 13.3, Release: - The new `nkwebkit_liftedbranchingfunctions` test replays 1,044 recorded seeds (12 per function) against digests recorded from the module's code, and checks that 74 functions throw on a null object. It contains no module code. Runtime 0.3 s. - Negative control: changing one field offset in `src/LiftedBranchingFunctions.cpp` makes the test fail. - Full NKWebKit suite: 152/152 `nkwebkit_*` tests pass. - `tools/check_conventions.py` passes. - Not run on Windows locally. ### 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) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [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: #23755 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
PrivacyOnion commented 2026-11-19 16:13:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T16:13:22Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 1548201c46:

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_liftedbranchingfunctions_tests, nkwebkit_liftedleaffunctions_tests built cleanly.
  • CTest (nkwebkit_liftedbranchingfunctions, nkwebkit_liftedleaffunctions):
    1/2 Test #4672: nkwebkit_liftedbranchingfunctions ...   Passed    4.20 sec
    2/2 Test #4673: nkwebkit_liftedleaffunctions ........   Passed    5.89 sec
    100% tests passed, 0 tests failed out of 2
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/Api.hpp, core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp, core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp, core/libs/prx/libSceNKWebKit/src/LiftedBranchingFunctions.cpp, core/libs/prx/libSceNKWebKit/src/LiftedLeafFunctions.cpp reverted to main and the new tests kept, the suite fails:
    1/2 Test #4672: nkwebkit_liftedbranchingfunctions ...Subprocess aborted***Exception:   1.34 sec
    2/2 Test #4673: nkwebkit_liftedleaffunctions ........Subprocess aborted***Exception:   1.45 sec
    0% tests passed, 2 tests failed out of 2
    
    Restoring the change makes it pass again.
  • Code reading:
    • Verified that all 87 stub implementations removed from core/libs/prx/libSceNKWebKit/Export.cpp are properly declared via LiftedBranchingFunctionsExports.hpp included in libSceNKWebKit.hpp
    • Inspected LiftedAbi dispatch and return widths against x86_64 SysV ABI conventions for branching leaf functions
    • Verified that mechanical checks tools/check_conventions.py and CTest test suites (nkwebkit_liftedbranchingfunctions and nkwebkit_liftedleaffunctions) passed cleanly on Linux x86_64
    • Confirmed technical debt documentation fragment docs/dev/debt/changes/feat-nkwebkit-lifted-branching-functions.md properly tracks implemented exports in accordance with AGENTS.md
    • Checked pointer dereference safety, null checks, and forward branch structures translated from module binary libSceNKWebKit.sprx

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5978815218 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23757#pullrequestreview-5978815218). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-19T16:13:22Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `1548201c46`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_liftedbranchingfunctions_tests`, `nkwebkit_liftedleaffunctions_tests` built cleanly. - **CTest** (`nkwebkit_liftedbranchingfunctions`, `nkwebkit_liftedleaffunctions`): ``` 1/2 Test #4672: nkwebkit_liftedbranchingfunctions ... Passed 4.20 sec 2/2 Test #4673: nkwebkit_liftedleaffunctions ........ Passed 5.89 sec 100% tests passed, 0 tests failed out of 2 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/Api.hpp`, `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp`, `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp`, `core/libs/prx/libSceNKWebKit/src/LiftedBranchingFunctions.cpp`, `core/libs/prx/libSceNKWebKit/src/LiftedLeafFunctions.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/2 Test #4672: nkwebkit_liftedbranchingfunctions ...Subprocess aborted***Exception: 1.34 sec 2/2 Test #4673: nkwebkit_liftedleaffunctions ........Subprocess aborted***Exception: 1.45 sec 0% tests passed, 2 tests failed out of 2 ``` Restoring the change makes it pass again. - **Code reading**: - Verified that all 87 stub implementations removed from core/libs/prx/libSceNKWebKit/Export.cpp are properly declared via LiftedBranchingFunctionsExports.hpp included in libSceNKWebKit.hpp - Inspected LiftedAbi dispatch and return widths against x86_64 SysV ABI conventions for branching leaf functions - Verified that mechanical checks tools/check_conventions.py and CTest test suites (nkwebkit_liftedbranchingfunctions and nkwebkit_liftedleaffunctions) passed cleanly on Linux x86_64 - Confirmed technical debt documentation fragment docs/dev/debt/changes/feat-nkwebkit-lifted-branching-functions.md properly tracks implemented exports in accordance with AGENTS.md - Checked pointer dereference safety, null checks, and forward branch structures translated from module binary libSceNKWebKit.sprx Looks Good To Me
MarcZX10 commented 2026-11-19 17:06:47 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — no blocking findings

The sampled translated branch paths and supporting ABI helpers show no verified defect, but the full change was not reviewed, so a formal approval is not justified.

What I ran

  • Inspected the prepared diff and selected source and test ranges at head 1548201c46bcbab376eebada68af48131e4e9f58.
  • No build or tests were run.

Results

Check Result Note
Diff inspection passed Prepared diff inspected
Build and tests not run No commands run
Full file review not run Only selected files and ranges read

Findings

Blocking

None verified in the inspected ranges.

Non-blocking

None.

Not verified

The review was partial. Read: review/description.md, review/commits.md, review/manifest.json, selected ranges of review/diff.patch, and selected ranges of core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp, core/libs/prx/libSceNKWebKit/tests/LiftedBranchingFunctions.cpp, and core/libs/prx/libSceNKWebKit/include/LiftedBranchingFunctionsExports.hpp. The changed files core/libs/prx/libSceNKWebKit/Export.cpp and core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp were excluded from the review folder because they were too large. Other changed files and uninspected portions of read files were not reviewed. No build, test suite, negative control, Windows run, or physical console behavior was verified.

To get this to a good state

Nothing is required. Optional: complete the source and test review and run the project checks before relying on this review as a merge decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5979698617 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23757#pullrequestreview-5979698617). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T17:06:47Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The sampled translated branch paths and supporting ABI helpers show no verified defect, but the full change was not reviewed, so a formal approval is not justified. ## What I ran - Inspected the prepared diff and selected source and test ranges at head `1548201c46bcbab376eebada68af48131e4e9f58`. - No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff inspection | passed | Prepared diff inspected | | Build and tests | not run | No commands run | | Full file review | not run | Only selected files and ranges read | ## Findings ### Blocking None verified in the inspected ranges. ### Non-blocking None. ## Not verified The review was partial. Read: `review/description.md`, `review/commits.md`, `review/manifest.json`, selected ranges of `review/diff.patch`, and selected ranges of `core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp`, `core/libs/prx/libSceNKWebKit/tests/LiftedBranchingFunctions.cpp`, and `core/libs/prx/libSceNKWebKit/include/LiftedBranchingFunctionsExports.hpp`. The changed files `core/libs/prx/libSceNKWebKit/Export.cpp` and `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` were excluded from the review folder because they were too large. Other changed files and uninspected portions of read files were not reviewed. No build, test suite, negative control, Windows run, or physical console behavior was verified. ## To get this to a good state Nothing is required. Optional: complete the source and test review and run the project checks before relying on this review as a merge decision.
PrivacyOnion commented 2026-11-19 19:26:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T19:26:29Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 32d0478a0c:

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_liftedbranchingfunctions_tests, nkwebkit_liftedleaffunctions_tests built cleanly.
  • CTest (nkwebkit_liftedbranchingfunctions, nkwebkit_liftedleaffunctions):
    1/2 Test #4694: nkwebkit_liftedbranchingfunctions ...   Passed    4.99 sec
    2/2 Test #4695: nkwebkit_liftedleaffunctions ........   Passed    6.55 sec
    100% tests passed, 0 tests failed out of 2
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/Api.hpp, core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp, core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp, core/libs/prx/libSceNKWebKit/src/LiftedBranchingFunctions.cpp, core/libs/prx/libSceNKWebKit/src/LiftedLeafFunctions.cpp reverted to main and the new tests kept, the suite fails:
    1/2 Test #4695: nkwebkit_liftedleaffunctions ........Subprocess aborted***Exception:   0.54 sec
    2/2 Test #4694: nkwebkit_liftedbranchingfunctions ...Subprocess aborted***Exception:   0.73 sec
    0% tests passed, 2 tests failed out of 2
    
    Restoring the change makes it pass again.
  • Code reading:
    • Verified 87 lifted branching leaf functions against disassembly translation patterns and LiftedAbi in libSceNKWebKit
    • Audited Export.cpp and Api.hpp removals ensuring proper declaration in LiftedBranchingFunctionsExports.hpp and libSceNKWebKit.hpp
    • Checked x86_64 SysV ABI calling convention compliance and register/return value width handling across branch paths
    • Audited technical debt tracking in docs/dev/debt/changes/feat-nkwebkit-lifted-branching-functions.md complying with AGENTS.md rules
    • Verified Linux GCC 13.3 test execution results and negative control suite behavior

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5981840202 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23757#pullrequestreview-5981840202). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-19T19:26:29Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `32d0478a0c`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_liftedbranchingfunctions_tests`, `nkwebkit_liftedleaffunctions_tests` built cleanly. - **CTest** (`nkwebkit_liftedbranchingfunctions`, `nkwebkit_liftedleaffunctions`): ``` 1/2 Test #4694: nkwebkit_liftedbranchingfunctions ... Passed 4.99 sec 2/2 Test #4695: nkwebkit_liftedleaffunctions ........ Passed 6.55 sec 100% tests passed, 0 tests failed out of 2 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/Api.hpp`, `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp`, `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp`, `core/libs/prx/libSceNKWebKit/src/LiftedBranchingFunctions.cpp`, `core/libs/prx/libSceNKWebKit/src/LiftedLeafFunctions.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/2 Test #4695: nkwebkit_liftedleaffunctions ........Subprocess aborted***Exception: 0.54 sec 2/2 Test #4694: nkwebkit_liftedbranchingfunctions ...Subprocess aborted***Exception: 0.73 sec 0% tests passed, 2 tests failed out of 2 ``` Restoring the change makes it pass again. - **Code reading**: - Verified 87 lifted branching leaf functions against disassembly translation patterns and LiftedAbi in libSceNKWebKit - Audited Export.cpp and Api.hpp removals ensuring proper declaration in LiftedBranchingFunctionsExports.hpp and libSceNKWebKit.hpp - Checked x86_64 SysV ABI calling convention compliance and register/return value width handling across branch paths - Audited technical debt tracking in docs/dev/debt/changes/feat-nkwebkit-lifted-branching-functions.md complying with AGENTS.md rules - Verified Linux GCC 13.3 test execution results and negative control suite behavior Looks Good To Me
MarcZX10 commented 2026-11-19 19:55:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T19:55:37Z.

Review: COMMENTED


Reviewed — no blocking findings

This review covers head 32d0478a0cde7adc8b1933d5964480096cefb403; I found no verified blocking defect, but did not run the reported checks or read every changed file.

What I ran

No commands or tests were run. I inspected the prepared diff and selected source and test ranges through repo_read.py.

Results

Check Result Note
Diff and selected source review passed Inspected prepared bundle and targeted ranges
Reported differential checks not run Results are author-reported
Local test suite and conventions not run No execution environment available

Findings

Blocking

None verified in the code inspected.

Non-blocking

None.

Sources

Not verified

The description reports 1,500 differential trials per function, recorded-seed tests, a negative control, the NKWebKit suite and convention checks; these were not run during this review. Windows behavior was also not verified. I read description.md, commits.md, manifest.json, and diff.patch; targeted ranges of LiftedAbi.hpp, LiftedBranchingFunctions.cpp, LiftedBranchingFunctionsExports.hpp, tests/LiftedBranchingFunctions.cpp, Api.hpp, LegacyExports.hpp, and libSceNKWebKit.hpp; and a section of the diff around Export.cpp. The full text of Export.cpp and InventoryExports.hpp was excluded from the review folder; I did not read their full text. I did not read all other changed files listed as reviewed in the manifest, including the leaf implementation, leaf tests, and debt documents.

To get this to a good state

Nothing is required. Optional: run the reported checks on this head and review the remaining changed files before treating this as a complete approval.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5982280374 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23757#pullrequestreview-5982280374). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T19:55:37Z. **Review:** COMMENTED --- # Reviewed — no blocking findings This review covers head `32d0478a0cde7adc8b1933d5964480096cefb403`; I found no verified blocking defect, but did not run the reported checks or read every changed file. ## What I ran No commands or tests were run. I inspected the prepared diff and selected source and test ranges through `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Diff and selected source review | passed | Inspected prepared bundle and targeted ranges | | Reported differential checks | not run | Results are author-reported | | Local test suite and conventions | not run | No execution environment available | ## Findings ### Blocking None verified in the code inspected. ### Non-blocking None. ## Sources - [Branching function implementation at reviewed head](https://github.com/boykopovar/AnyPS5/blob/32d0478a0cde7adc8b1933d5964480096cefb403/core/libs/prx/libSceNKWebKit/src/LiftedBranchingFunctions.cpp) - [Lifted ABI helpers at reviewed head](https://github.com/boykopovar/AnyPS5/blob/32d0478a0cde7adc8b1933d5964480096cefb403/core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp) - [Branching function tests at reviewed head](https://github.com/boykopovar/AnyPS5/blob/32d0478a0cde7adc8b1933d5964480096cefb403/core/libs/prx/libSceNKWebKit/tests/LiftedBranchingFunctions.cpp) ## Not verified The description reports 1,500 differential trials per function, recorded-seed tests, a negative control, the NKWebKit suite and convention checks; these were not run during this review. Windows behavior was also not verified. I read `description.md`, `commits.md`, `manifest.json`, and `diff.patch`; targeted ranges of `LiftedAbi.hpp`, `LiftedBranchingFunctions.cpp`, `LiftedBranchingFunctionsExports.hpp`, `tests/LiftedBranchingFunctions.cpp`, `Api.hpp`, `LegacyExports.hpp`, and `libSceNKWebKit.hpp`; and a section of the diff around `Export.cpp`. The full text of `Export.cpp` and `InventoryExports.hpp` was excluded from the review folder; I did not read their full text. I did not read all other changed files listed as reviewed in the manifest, including the leaf implementation, leaf tests, and debt documents. ## To get this to a good state Nothing is required. Optional: run the reported checks on this head and review the remaining changed files before treating this as a complete approval.
MarcZX10 commented 2026-11-19 22:09:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T22:09:07Z.

Review: COMMENTED


Reviewed — no blocking findings

The reviewed head is bad30791d1651868f86e4c023cd2507a11d819f5; inspected code supports the described lifting, but this review did not run the reported checks and did not read every changed file.

What I ran

Read the prepared description, commits, diff, manifest, and review-folder README. Read selected changed code and the test harness through repo_read.py; no commands or tests were run. The PR description reports offline differential checks and Linux test results; those results were not independently verified.

Results

Check Result Note
Prepared artifacts passed Read description, commits, diff, manifest
Code inspection not run Selected ranges only
Reported tests not run Author-reported results only

Findings

Blocking

None identified in the selected code.

Non-blocking

None.

Not verified

The full text of core/libs/prx/libSceNKWebKit/Export.cpp and core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp was excluded as too large. The review folder lists all changed files, but only selected ranges of changed files were read; many changed lines and the full bodies of LiftedBranchingFunctions.cpp, LiftedLeafFunctions.cpp, both test files, and debt documents were not inspected. Reported Linux tests, differential harness, negative control, convention check, build behavior, and Windows behavior were not run or confirmed. The files listed as reviewed in the manifest were not all read, so approval is not justified.

To get this to a good state

Nothing is required. Optional: independently run the reported test and convention checks and review the remaining changed lines before relying on the translated functions.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5984199359 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23757#pullrequestreview-5984199359). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T22:09:07Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The reviewed head is `bad30791d1651868f86e4c023cd2507a11d819f5`; inspected code supports the described lifting, but this review did not run the reported checks and did not read every changed file. ## What I ran Read the prepared description, commits, diff, manifest, and review-folder README. Read selected changed code and the test harness through `repo_read.py`; no commands or tests were run. The PR description reports offline differential checks and Linux test results; those results were not independently verified. ## Results | Check | Result | Note | |---|---|---| | Prepared artifacts | passed | Read description, commits, diff, manifest | | Code inspection | not run | Selected ranges only | | Reported tests | not run | Author-reported results only | ## Findings ### Blocking None identified in the selected code. ### Non-blocking None. ## Not verified The full text of `core/libs/prx/libSceNKWebKit/Export.cpp` and `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` was excluded as too large. The review folder lists all changed files, but only selected ranges of changed files were read; many changed lines and the full bodies of `LiftedBranchingFunctions.cpp`, `LiftedLeafFunctions.cpp`, both test files, and debt documents were not inspected. Reported Linux tests, differential harness, negative control, convention check, build behavior, and Windows behavior were not run or confirmed. The files listed as reviewed in the manifest were not all read, so approval is not justified. ## To get this to a good state Nothing is required. Optional: independently run the reported test and convention checks and review the remaining changed lines before relying on the translated functions.
MarcZX10 commented 2026-11-20 13:52:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T13:52:44Z.

Review: APPROVED


Reviewed — looks good

The implementations and declarations I inspected are consistent, and the review bundle and pinned source support merging; I did not run the project checks.

What I ran

  • Inspected the prepared diff and repository source at head b2e5c6a2d7e7005d210efb31f3bedcb4e1ee4512 using repo_read.py tools.
  • No build, test, or negative control was run by me.

Results

Check Result Note
Diff and targeted source review passed Lifted implementations and declarations inspected
Build and tests not run Author reports Linux test results
Negative control not run Author reports an offset mutation failed the test

Findings

Blocking

None.

Non-blocking

None.

Not verified

  • I did not review every changed file. Read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch, core/libs/prx/libSceNKWebKit/src/LiftedBranchingFunctions.cpp, core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp, core/libs/prx/libSceNKWebKit/include/LiftedBranchingFunctionsExports.hpp, core/libs/prx/libSceNKWebKit/tests/LiftedBranchingFunctions.cpp, and selected ranges of core/libs/prx/libSceNKWebKit/Export.cpp.
  • core/libs/prx/libSceNKWebKit/Export.cpp was excluded from the review bundle for size; only selected head ranges were read. Other changed files listed in review/manifest.json were not read in full.
  • Build integration, Windows behavior, console behavior, and the reported differential and suite results were not independently verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5993749939 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23757#pullrequestreview-5993749939). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T13:52:44Z. **Review:** APPROVED --- # Reviewed — looks good The implementations and declarations I inspected are consistent, and the review bundle and pinned source support merging; I did not run the project checks. ## What I ran - Inspected the prepared diff and repository source at head `b2e5c6a2d7e7005d210efb31f3bedcb4e1ee4512` using `repo_read.py` tools. - No build, test, or negative control was run by me. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted source review | passed | Lifted implementations and declarations inspected | | Build and tests | not run | Author reports Linux test results | | Negative control | not run | Author reports an offset mutation failed the test | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified - I did not review every changed file. Read: `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`, `core/libs/prx/libSceNKWebKit/src/LiftedBranchingFunctions.cpp`, `core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp`, `core/libs/prx/libSceNKWebKit/include/LiftedBranchingFunctionsExports.hpp`, `core/libs/prx/libSceNKWebKit/tests/LiftedBranchingFunctions.cpp`, and selected ranges of `core/libs/prx/libSceNKWebKit/Export.cpp`. - `core/libs/prx/libSceNKWebKit/Export.cpp` was excluded from the review bundle for size; only selected head ranges were read. Other changed files listed in `review/manifest.json` were not read in full. - Build integration, Windows behavior, console behavior, and the reported differential and suite results were not independently verified. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-20 20:21:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T20:21:26Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head 58d00c73ca479a667c792f3a518d2b703e21d8e8. No commands or tests were run; the Linux Mint/GCC test results in the PR description are author-reported. No merged-preview check was performed.

Results

Check Result Note
Patch and targeted source review passed Implementation, ABI helpers, declarations, and replay test inspected
Build and tests not run Results in description were not independently verified
All changed files not run One file is excluded from the review packet

Findings

Blocking

None verified in the inspected code.

Non-blocking

  • The recorded digest replay covers 1,044 cases across the 87 functions, but it is regression coverage rather than an independently reproducible differential check: the test contains no reference module implementation. The claimed randomized differential results are author-reported.

Not verified

  • core/libs/prx/libSceNKWebKit/Export.cpp is marked too large for the review folder. Its diff is present, but its full head text was not reviewed. Its changed portion removes stub definitions; detailed export registration and linkage behavior were not independently checked.
  • The complete bodies of LiftedBranchingFunctions.cpp, LiftedLeafFunctions.cpp, and both corresponding test files were not read line by line. Targeted portions and the relevant declarations were reviewed; the remainder is not verified.
  • No build, test suite, convention check, Windows run, or console behavior was independently verified.

To get this to a good state

Nothing is required. Optional: retain or provide a reproducible differential-check procedure alongside the recorded digest replay.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5998830336 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23757#pullrequestreview-5998830336). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T20:21:26Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change; the points below are optional. ## What I ran Reviewed head `58d00c73ca479a667c792f3a518d2b703e21d8e8`. No commands or tests were run; the Linux Mint/GCC test results in the PR description are author-reported. No merged-preview check was performed. ## Results | Check | Result | Note | |---|---|---| | Patch and targeted source review | passed | Implementation, ABI helpers, declarations, and replay test inspected | | Build and tests | not run | Results in description were not independently verified | | All changed files | not run | One file is excluded from the review packet | ## Findings ### Blocking None verified in the inspected code. ### Non-blocking - The recorded digest replay covers 1,044 cases across the 87 functions, but it is regression coverage rather than an independently reproducible differential check: the test contains no reference module implementation. The claimed randomized differential results are author-reported. ## Not verified - `core/libs/prx/libSceNKWebKit/Export.cpp` is marked too large for the review folder. Its diff is present, but its full head text was not reviewed. Its changed portion removes stub definitions; detailed export registration and linkage behavior were not independently checked. - The complete bodies of `LiftedBranchingFunctions.cpp`, `LiftedLeafFunctions.cpp`, and both corresponding test files were not read line by line. Targeted portions and the relevant declarations were reviewed; the remainder is not verified. - No build, test suite, convention check, Windows run, or console behavior was independently verified. ## To get this to a good state Nothing is required. Optional: retain or provide a reproducible differential-check procedure alongside the recorded digest replay.

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