feat(libSceNKWebKit): implement 93 call wrappers translated from the module #23758

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

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


What

Implements 93 libSceNKWebKit exports whose module body has no branches and only calls other named exports, plus loads, stores and arithmetic through its arguments. All 93 throw NotImplemented on main today. Stacked on #23755 (lifted leaf functions), whose src/LiftedAbi.hpp this reuses. It adds Call<R> for calls.

Source: the libSceNKWebKit.sprx with SHA-256 3af992253665387feeb5df90ff27dff683e3aa270cc4d92a0535b46ab18fa20d (the module the existing Constant-return exports debt entry reads as 11.00). Each body was translated instruction by instruction into C++, with the same translator as #23755 extended for call, push/pop and tail calls:

  • Every call keeps its target and all six argument registers as the module leaves them, including registers the callee doesn't read. Calls go through the AnyPS5 export of that name, whether it is implemented or still a stub.
  • Every load and store keeps its width, offset and order relative to the calls.
  • The result width is the width the body returns. Parameter and return types are register widths, not source prototypes.
  • A low (null-page) address throws std::invalid_argument where the module would fault.

The translator refuses loops, any branch, stack locals that escape into a call, and a scalar float live across a call.

Callees per wrapper Wrappers
1 32
2 60
3 1

81 distinct callees. 68 are still stubs, so 76 of these wrappers throw NotImplemented from a callee until that callee is implemented. This is the same as the already accepted forwarded exports. 17 have all callees implemented today: CachePayload::makeEmptyPayload/makeMallocPayload, InlineWatchpointSet::inflateSlow, ExternalStringImpl::create (2), PasteboardImage C1/C2, CalculationValue::create, DeviceMotionData::create, CredentialStorage::getFromPersistentStorage, MutableStyleProperties::create, OpaqueJSString::string, MediaPlayer::contentMIMEType/contentTypeCodecs, FrameView::baseBackgroundColor, InspectorTargetAgent::connectionType and JSDestructibleObjectHeapCellType D0.

Left out: 8 EmptyFrameLoaderClient error factories claimed by #23737; 153 wrappers with branches; 34 with stack locals; 104 bodies that jump out to a named export.

Debt: the fragment docs/dev/debt/changes/feat-nkwebkit-lifted-wrappers.md adds the Functional entry and removes the 74 inventory rows.
Overlap: I fetched every open PR head that touches libSceNKWebKit/Export.cpp (49) and diffed it against main. Apart from #23737 (excluded above), none removes these stubs.

How it was checked

Offline, against the module's own code (none of it is in the repository):

  • Differential harness: the original bytes run with each rel32 call patched to a recording mock, side by side with the C++, on randomized memory (arena, arguments and mock return values). The harness compares the call log (callee and six argument registers), the memory and the return value. 101/101 candidates pass 600 trials each, with 0 mismatches and the same crash behaviour.
  • Mutation testing: 6 rounds of mutants applied to the C++: a changed call argument, a dropped call, or a changed constant or offset. The harness caught 226 of 226.
  • Recorded digests: 8 seeds per wrapper. Each digest covers the call log, the arena and the return value, with the arena at a fixed address so partial pointer writes can't leak the base.

In the repository, the new nkwebkit_liftedwrappers test:

  • On Linux, the test executable defines every callee as a recording mock, linked with -rdynamic so it interposes on the library's calls. It replays the 744 recorded seeds and compares digests. When not recording, a mock forwards to the real export through dlsym(RTLD_NEXT). The CMake change is limited to this one test on Linux.
  • On every platform, it checks that 5 wrappers whose first action is a load through the object throw on a null object.

Tested

Linux Mint 22.3, GCC 13.3, Release:

  • nkwebkit_liftedwrappers passes. Negative control: changing one stored constant (CachePayload::makeEmptyPayload writes 2 instead of 1) makes it fail with a digest mismatch.
  • Full NKWebKit suite: 152/152 nkwebkit_* tests pass.
  • tools/check_conventions.py passes.
  • Not run on Windows locally. On Windows only the null-object part runs.

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:5398333672 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23758). Originally posted by [RiverWhy](https://github.com/RiverWhy) on 2026-11-19T15:59:02Z. --- ### What Implements 93 `libSceNKWebKit` exports whose module body has no branches and only calls other named exports, plus loads, stores and arithmetic through its arguments. All 93 throw `NotImplemented` on `main` today. Stacked on #23755 (lifted leaf functions), whose `src/LiftedAbi.hpp` this reuses. It adds `Call<R>` for calls. Source: the `libSceNKWebKit.sprx` with SHA-256 `3af992253665387feeb5df90ff27dff683e3aa270cc4d92a0535b46ab18fa20d` (the module the existing *Constant-return exports* debt entry reads as 11.00). Each body was translated instruction by instruction into C++, with the same translator as #23755 extended for `call`, `push`/`pop` and tail calls: - Every call keeps its target and all six argument registers as the module leaves them, including registers the callee doesn't read. Calls go through the AnyPS5 export of that name, whether it is implemented or still a stub. - Every load and store keeps its width, offset and order relative to the calls. - The result width is the width the body returns. Parameter and return types are register widths, not source prototypes. - A low (null-page) address throws `std::invalid_argument` where the module would fault. The translator refuses loops, any branch, stack locals that escape into a call, and a scalar float live across a call. | Callees per wrapper | Wrappers | |---|---| | 1 | 32 | | 2 | 60 | | 3 | 1 | 81 distinct callees. 68 are still stubs, so 76 of these wrappers throw `NotImplemented` from a callee until that callee is implemented. This is the same as the already accepted forwarded exports. 17 have all callees implemented today: `CachePayload::makeEmptyPayload`/`makeMallocPayload`, `InlineWatchpointSet::inflateSlow`, `ExternalStringImpl::create` (2), `PasteboardImage` C1/C2, `CalculationValue::create`, `DeviceMotionData::create`, `CredentialStorage::getFromPersistentStorage`, `MutableStyleProperties::create`, `OpaqueJSString::string`, `MediaPlayer::contentMIMEType`/`contentTypeCodecs`, `FrameView::baseBackgroundColor`, `InspectorTargetAgent::connectionType` and `JSDestructibleObjectHeapCellType` D0. Left out: 8 `EmptyFrameLoaderClient` error factories claimed by #23737; 153 wrappers with branches; 34 with stack locals; 104 bodies that jump out to a named export. Debt: the fragment `docs/dev/debt/changes/feat-nkwebkit-lifted-wrappers.md` adds the Functional entry and removes the 74 inventory rows. Overlap: I fetched every open PR head that touches `libSceNKWebKit/Export.cpp` (49) and diffed it against `main`. Apart from #23737 (excluded above), none removes these stubs. ### How it was checked Offline, against the module's own code (none of it is in the repository): - **Differential harness:** the original bytes run with each `rel32` call patched to a recording mock, side by side with the C++, on randomized memory (arena, arguments and mock return values). The harness compares the call log (callee and six argument registers), the memory and the return value. 101/101 candidates pass 600 trials each, with 0 mismatches and the same crash behaviour. - **Mutation testing:** 6 rounds of mutants applied to the C++: a changed call argument, a dropped call, or a changed constant or offset. The harness caught 226 of 226. - **Recorded digests:** 8 seeds per wrapper. Each digest covers the call log, the arena and the return value, with the arena at a fixed address so partial pointer writes can't leak the base. In the repository, the new `nkwebkit_liftedwrappers` test: - On Linux, the test executable defines every callee as a recording mock, linked with `-rdynamic` so it interposes on the library's calls. It replays the 744 recorded seeds and compares digests. When not recording, a mock forwards to the real export through `dlsym(RTLD_NEXT)`. The CMake change is limited to this one test on Linux. - On every platform, it checks that 5 wrappers whose first action is a load through the object throw on a null object. ### Tested Linux Mint 22.3, GCC 13.3, Release: - `nkwebkit_liftedwrappers` passes. Negative control: changing one stored constant (`CachePayload::makeEmptyPayload` writes 2 instead of 1) makes it fail with a digest mismatch. - Full NKWebKit suite: 152/152 `nkwebkit_*` tests pass. - `tools/check_conventions.py` passes. - Not run on Windows locally. On Windows only the null-object part runs. ### 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:10:08 +00:00 (Migrated from github.com)

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

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_liftedleaffunctions_tests, nkwebkit_liftedwrappers_tests built cleanly.
  • CTest (nkwebkit_liftedleaffunctions, nkwebkit_liftedwrappers):
    1/2 Test #4673: nkwebkit_liftedwrappers ..........   Passed    3.52 sec
    2/2 Test #4672: nkwebkit_liftedleaffunctions .....   Passed    5.46 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/LiftedLeafFunctions.cpp, core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp reverted to main and the new tests kept, the suite fails:
    1/2 Test #4673: nkwebkit_liftedwrappers ..........Subprocess aborted***Exception:   0.47 sec
    2/2 Test #4672: nkwebkit_liftedleaffunctions .....Subprocess aborted***Exception:   0.53 sec
    0% tests passed, 2 tests failed out of 2
    
    Restoring the change makes it pass again.
  • Code reading:
    • Export definitions in core/libs/prx/libSceNKWebKit/Export.cpp verifying that stub removals match the newly implemented wrappers in LiftedWrappersExports.hpp and LiftedLeafFunctionsExports.hpp
    • Checking call register conventions and translation fidelity where register widths and arguments match the underlying PS5 module disassembly for all 93 lifted call wrappers
    • Auditing memory safety, null-pointer checks, and low-page access validations (such as std::invalid_argument throws for sub-4096 addresses) in the lifted leaf functions and call wrapper implementations
    • Reviewing CMakeLists.txt changes including Linux target_link_options (-rdynamic) and CMAKE_DL_LIBS linkage for lifted wrappers test binary compatibility
    • Verifying strict compliance with AGENTS.md regarding comment bans, third-party code inclusion, debt tracking, and conventional commit standards

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5978751648 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23758#pullrequestreview-5978751648). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-19T16:10:08Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `beada4133f`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_liftedleaffunctions_tests`, `nkwebkit_liftedwrappers_tests` built cleanly. - **CTest** (`nkwebkit_liftedleaffunctions`, `nkwebkit_liftedwrappers`): ``` 1/2 Test #4673: nkwebkit_liftedwrappers .......... Passed 3.52 sec 2/2 Test #4672: nkwebkit_liftedleaffunctions ..... Passed 5.46 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/LiftedLeafFunctions.cpp`, `core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/2 Test #4673: nkwebkit_liftedwrappers ..........Subprocess aborted***Exception: 0.47 sec 2/2 Test #4672: nkwebkit_liftedleaffunctions .....Subprocess aborted***Exception: 0.53 sec 0% tests passed, 2 tests failed out of 2 ``` Restoring the change makes it pass again. - **Code reading**: - Export definitions in core/libs/prx/libSceNKWebKit/Export.cpp verifying that stub removals match the newly implemented wrappers in LiftedWrappersExports.hpp and LiftedLeafFunctionsExports.hpp - Checking call register conventions and translation fidelity where register widths and arguments match the underlying PS5 module disassembly for all 93 lifted call wrappers - Auditing memory safety, null-pointer checks, and low-page access validations (such as std::invalid_argument throws for sub-4096 addresses) in the lifted leaf functions and call wrapper implementations - Reviewing CMakeLists.txt changes including Linux target_link_options (-rdynamic) and CMAKE_DL_LIBS linkage for lifted wrappers test binary compatibility - Verifying strict compliance with AGENTS.md regarding comment bans, third-party code inclusion, debt tracking, and conventional commit standards Looks Good To Me
MarcZX10 commented 2026-11-19 16:29:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T16:29:44Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing in the inspected code blocks merge; the points below are optional.

What I ran

Reviewed head beada4133fffe8b9c02c920c6a901672f02e7c12 using repo_read.py to inspect the prepared diff and selected files. No build or tests were run; test results below are author-reported.

Results

Check Result Note
Diff and selected source passed Wrapper implementation and harness inspected
Build and tests not run Linux results reported by author
Full change review not run Export and inventory files were excluded

Findings

Blocking

None in the inspected code.

Non-blocking

  • The Linux digest test uses a fixed address with MAP_FIXED_NOREPLACE and aborts if the mapping fails. Consider reporting this as a skipped or unavailable test when that address is already occupied or unsupported. See core/libs/prx/libSceNKWebKit/tests/LiftedWrappers.cpp:1019.

Not verified

The full text of core/libs/prx/libSceNKWebKit/Export.cpp and core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp was excluded because each file is too large for the review folder; their changed hunks were not fully inspected through the reader. The earlier leaf-function implementation and test are included in this PR but were not fully reviewed. No tests were executed. Linux Mint/GCC results and the differential harness results are author-reported. Windows behavior and console behavior were not verified.

To get this to a good state

Nothing is required. Optional: make the fixed-address mapping failure produce a clear skip or diagnostic instead of an assertion.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5979105473 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23758#pullrequestreview-5979105473). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T16:29:44Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing in the inspected code blocks merge; the points below are optional. ## What I ran Reviewed head `beada4133fffe8b9c02c920c6a901672f02e7c12` using `repo_read.py` to inspect the prepared diff and selected files. No build or tests were run; test results below are author-reported. ## Results | Check | Result | Note | |---|---|---| | Diff and selected source | passed | Wrapper implementation and harness inspected | | Build and tests | not run | Linux results reported by author | | Full change review | not run | Export and inventory files were excluded | ## Findings ### Blocking None in the inspected code. ### Non-blocking - The Linux digest test uses a fixed address with `MAP_FIXED_NOREPLACE` and aborts if the mapping fails. Consider reporting this as a skipped or unavailable test when that address is already occupied or unsupported. See `core/libs/prx/libSceNKWebKit/tests/LiftedWrappers.cpp:1019`. ## Not verified The full text of `core/libs/prx/libSceNKWebKit/Export.cpp` and `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` was excluded because each file is too large for the review folder; their changed hunks were not fully inspected through the reader. The earlier leaf-function implementation and test are included in this PR but were not fully reviewed. No tests were executed. Linux Mint/GCC results and the differential harness results are author-reported. Windows behavior and console behavior were not verified. ## To get this to a good state Nothing is required. Optional: make the fixed-address mapping failure produce a clear skip or diagnostic instead of an assertion.
PrivacyOnion commented 2026-11-19 19:29:56 +00:00 (Migrated from github.com)

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

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 484e84be92:

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_liftedleaffunctions_tests, nkwebkit_liftedwrappers_tests built cleanly.
  • CTest (nkwebkit_liftedleaffunctions, nkwebkit_liftedwrappers):
    1/2 Test #4695: nkwebkit_liftedwrappers ..........   Passed    7.07 sec
    2/2 Test #4694: nkwebkit_liftedleaffunctions .....   Passed   14.72 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/LiftedLeafFunctions.cpp, core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Audited lifted wrapper call translations against callee conventions and register widths in core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp
    • Verified std::invalid_argument throw semantics for low-memory/null page references across lifted wrapper invocations
    • Checked CMakeLists.txt modifications for -rdynamic and CMAKE_DL_LIBS linkage on Linux for nkwebkit_liftedwrappers_tests
    • Inspected Export.cpp stub removals to ensure exact 1-to-1 parity with lifted wrapper implementations without orphan declarations
    • Verified AGENTS.md compliance regarding comment restrictions, debt fragments, and conventional commits

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5981901192 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23758#pullrequestreview-5981901192). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-19T19:29:56Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `484e84be92`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_liftedleaffunctions_tests`, `nkwebkit_liftedwrappers_tests` built cleanly. - **CTest** (`nkwebkit_liftedleaffunctions`, `nkwebkit_liftedwrappers`): ``` 1/2 Test #4695: nkwebkit_liftedwrappers .......... Passed 7.07 sec 2/2 Test #4694: nkwebkit_liftedleaffunctions ..... Passed 14.72 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/LiftedLeafFunctions.cpp`, `core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Audited lifted wrapper call translations against callee conventions and register widths in core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp - Verified std::invalid_argument throw semantics for low-memory/null page references across lifted wrapper invocations - Checked CMakeLists.txt modifications for -rdynamic and CMAKE_DL_LIBS linkage on Linux for nkwebkit_liftedwrappers_tests - Inspected Export.cpp stub removals to ensure exact 1-to-1 parity with lifted wrapper implementations without orphan declarations - Verified AGENTS.md compliance regarding comment restrictions, debt fragments, and conventional commits Looks Good To Me
MarcZX10 commented 2026-11-19 19:52:31 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

This review is incomplete, so a formal approval or change request is not justified.

What I ran

Reviewed head 484e84be92e002d69d9fbd5864a6c915270e9a17. I read the prepared description, commit list, manifest, diff, and selected ranges from the CMake file, Api.hpp, LiftedAbi.hpp, LiftedWrappers.cpp, and its test. I did not run commands or tests. The author reports Linux tests and convention checks passed; those results were not independently verified.

Results

Check Result Note
Prepared bundle review passed Description, commits, manifest, diff read
Changed code review not run Only selected code ranges reviewed
Tests and conventions not run Results reported by author

Findings

Blocking

None identified in the portions reviewed.

Non-blocking

None.

Not verified

The complete review is not verified: changed files not read include Export.cpp, InventoryExports.hpp, LegacyExports.hpp, both lifted export headers, LiftedLeafFunctions.cpp, LiftedLeafFunctions.cpp tests, and both debt change documents. Other than selected ranges, LiftedWrappers.cpp and its tests were also not read in full. Export.cpp and InventoryExports.hpp were excluded from the prepared folder for size; the remaining listed files were included but not read. No build, test, or convention command was run.

To get this to a good state

Nothing is required. Optional: complete the review of the changed files and independently run the reported checks before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5982236584 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23758#pullrequestreview-5982236584). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T19:52:31Z. **Review:** COMMENTED --- # Reviewed — comments This review is incomplete, so a formal approval or change request is not justified. ## What I ran Reviewed head `484e84be92e002d69d9fbd5864a6c915270e9a17`. I read the prepared description, commit list, manifest, diff, and selected ranges from the CMake file, `Api.hpp`, `LiftedAbi.hpp`, `LiftedWrappers.cpp`, and its test. I did not run commands or tests. The author reports Linux tests and convention checks passed; those results were not independently verified. ## Results | Check | Result | Note | |---|---|---| | Prepared bundle review | passed | Description, commits, manifest, diff read | | Changed code review | not run | Only selected code ranges reviewed | | Tests and conventions | not run | Results reported by author | ## Findings ### Blocking None identified in the portions reviewed. ### Non-blocking None. ## Not verified The complete review is not verified: changed files not read include `Export.cpp`, `InventoryExports.hpp`, `LegacyExports.hpp`, both lifted export headers, `LiftedLeafFunctions.cpp`, `LiftedLeafFunctions.cpp` tests, and both debt change documents. Other than selected ranges, `LiftedWrappers.cpp` and its tests were also not read in full. `Export.cpp` and `InventoryExports.hpp` were excluded from the prepared folder for size; the remaining listed files were included but not read. No build, test, or convention command was run. ## To get this to a good state Nothing is required. Optional: complete the review of the changed files and independently run the reported checks before making a formal decision.
MarcZX10 commented 2026-11-19 22:04:01 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

This review covers the wrapper implementation and selected test paths at head 2a6f7695cb4a59d34856729e2c310b8d28d500c6; the large export and inventory files were not fully inspected.

What I ran

No commands were run. I read the prepared description, commits, manifest, diff, and selected changed files through the pinned PR reader. The reported Linux tests and convention check are author-reported and were not run for this review.

Results

Check Result Note
Prepared diff review passed Read the patch and selected implementation
Test execution not run Reported results were not independently verified
Full changed-file review not run Two oversized files were excluded

Findings

Blocking

None verified in the code read.

Non-blocking

None.

Not verified

Full text of core/libs/prx/libSceNKWebKit/Export.cpp and core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp was excluded as oversized. The diff covers those files, but their complete contents and all changed declaration mappings were not audited. Most of core/libs/prx/libSceNKWebKit/tests/LiftedWrappers.cpp and core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp was not read. LiftedLeafFunctions.cpp, its tests, generated export inventories, and debt documents were not read. No tests or builds were run; no behavior was checked on Windows or a console. Other changed paths are listed in the prepared manifest and file listing.

To get this to a good state

Nothing is required. Optional: complete review of the excluded export inventories and implementation files, and independently run the reported test suite.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5984135591 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23758#pullrequestreview-5984135591). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T22:04:01Z. **Review:** COMMENTED --- # Reviewed — comments This review covers the wrapper implementation and selected test paths at head `2a6f7695cb4a59d34856729e2c310b8d28d500c6`; the large export and inventory files were not fully inspected. ## What I ran No commands were run. I read the prepared description, commits, manifest, diff, and selected changed files through the pinned PR reader. The reported Linux tests and convention check are author-reported and were not run for this review. ## Results | Check | Result | Note | |---|---|---| | Prepared diff review | passed | Read the patch and selected implementation | | Test execution | not run | Reported results were not independently verified | | Full changed-file review | not run | Two oversized files were excluded | ## Findings ### Blocking None verified in the code read. ### Non-blocking None. ## Not verified Full text of `core/libs/prx/libSceNKWebKit/Export.cpp` and `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` was excluded as oversized. The diff covers those files, but their complete contents and all changed declaration mappings were not audited. Most of `core/libs/prx/libSceNKWebKit/tests/LiftedWrappers.cpp` and `core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp` was not read. `LiftedLeafFunctions.cpp`, its tests, generated export inventories, and debt documents were not read. No tests or builds were run; no behavior was checked on Windows or a console. Other changed paths are listed in the prepared manifest and file listing. ## To get this to a good state Nothing is required. Optional: complete review of the excluded export inventories and implementation files, and independently run the reported test suite.
MarcZX10 commented 2026-11-20 13:51:03 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — no blocking findings

The reviewed head is c1afa45d451af2ea4f9f6eb7bc9ca3f30b9d3ce2; the inspected wrapper ABI helper, Linux recording path, test setup, and changed export context showed no concrete defect. The author reports passing Linux tests, but I did not run them, and one changed file was excluded from the review bundle.

What I ran

No commands or tests were run. I inspected the prepared patch and used repo_read.py to read targeted changed files and code at the pinned head. No merged preview was checked.

Results

Check Result Note
Patch and targeted code review passed No concrete defect found
Tests in this review not run Results in description are author reported
Full review coverage not run One changed file was excluded

Negative control

Not run by me. The description reports that the author’s constant mutation caused the digest test to fail.

Findings

Blocking

None.

Non-blocking

None.

Sources

Behavior reviewed against the prepared diff and source at the pinned head c1afa45d451af2ea4f9f6eb7bc9ca3f30b9d3ce2.

Not verified

I read the PR description, commit list, patch, review manifest, and these changed files: CMakeLists.txt, Api.hpp, InventoryExports.hpp, LegacyExports.hpp, LiftedLeafFunctionsExports.hpp, LiftedWrappersExports.hpp, libSceNKWebKit.hpp, LiftedAbi.hpp, LiftedLeafFunctions.cpp, LiftedWrappers.cpp, LiftedLeafFunctions.cpp test, LiftedWrappers.cpp test, and both debt change notes. Export.cpp was too large for the review bundle; I read only its affected region through repo_read.py. I did not read every added line in all included changed files, so completeness and uninspected wrapper translations are not verified. Tests, conventions, Windows behavior, and console behavior were not run or confirmed.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5993727528 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23758#pullrequestreview-5993727528). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T13:51:03Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The reviewed head is `c1afa45d451af2ea4f9f6eb7bc9ca3f30b9d3ce2`; the inspected wrapper ABI helper, Linux recording path, test setup, and changed export context showed no concrete defect. The author reports passing Linux tests, but I did not run them, and one changed file was excluded from the review bundle. ## What I ran No commands or tests were run. I inspected the prepared patch and used `repo_read.py` to read targeted changed files and code at the pinned head. No merged preview was checked. ## Results | Check | Result | Note | |---|---|---| | Patch and targeted code review | passed | No concrete defect found | | Tests in this review | not run | Results in description are author reported | | Full review coverage | not run | One changed file was excluded | ## Negative control Not run by me. The description reports that the author’s constant mutation caused the digest test to fail. ## Findings ### Blocking None. ### Non-blocking None. ## Sources Behavior reviewed against the prepared diff and source at the pinned head `c1afa45d451af2ea4f9f6eb7bc9ca3f30b9d3ce2`. ## Not verified I read the PR description, commit list, patch, review manifest, and these changed files: `CMakeLists.txt`, `Api.hpp`, `InventoryExports.hpp`, `LegacyExports.hpp`, `LiftedLeafFunctionsExports.hpp`, `LiftedWrappersExports.hpp`, `libSceNKWebKit.hpp`, `LiftedAbi.hpp`, `LiftedLeafFunctions.cpp`, `LiftedWrappers.cpp`, `LiftedLeafFunctions.cpp` test, `LiftedWrappers.cpp` test, and both debt change notes. `Export.cpp` was too large for the review bundle; I read only its affected region through `repo_read.py`. I did not read every added line in all included changed files, so completeness and uninspected wrapper translations are not verified. Tests, conventions, Windows behavior, and console behavior were not run or confirmed. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-20 20:17:01 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change; optional points are listed below.

What I ran

Reviewed head 18ed8c8bbf050d17c120209078f8a8aa595c3b3f against main. I read the prepared description, commits, diff, manifest, CMake configuration, ABI helpers, wrapper implementation, wrapper exports, and wrapper test source. I did not execute tests or build commands.

Results

Check Result Note
Source review passed Targeted code and diff inspected
Build and tests not run No local execution performed

Findings

Blocking

None.

Non-blocking

  • The description reports Linux differential, mutation, and suite test results, but I did not independently reproduce them.

Not verified

  • Export.cpp's full text was excluded from the review bundle; its changed hunks are visible in the prepared diff, but I did not read the file at the pinned head.
  • LiftedLeafFunctions.cpp, LiftedLeafFunctionsExports.hpp, InventoryExports.hpp, LegacyExports.hpp, the leaf test source, and the debt change files were not read. LiftedWrappers.cpp and its tests were only sampled, not read in full. Therefore I cannot approve: not every reviewed file was read, and the full change was not verified.
  • Windows behavior, the source module's binary semantics, and claimed test outcomes were not independently verified.

To get this to a good state

Nothing is required. Optional: independently run the described Linux checks and review the unread changed files before relying on this assessment.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5998783260 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23758#pullrequestreview-5998783260). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T20:17:01Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change; optional points are listed below. ## What I ran Reviewed head `18ed8c8bbf050d17c120209078f8a8aa595c3b3f` against `main`. I read the prepared description, commits, diff, manifest, CMake configuration, ABI helpers, wrapper implementation, wrapper exports, and wrapper test source. I did not execute tests or build commands. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Targeted code and diff inspected | | Build and tests | not run | No local execution performed | ## Findings ### Blocking None. ### Non-blocking - The description reports Linux differential, mutation, and suite test results, but I did not independently reproduce them. ## Not verified - `Export.cpp`'s full text was excluded from the review bundle; its changed hunks are visible in the prepared diff, but I did not read the file at the pinned head. - `LiftedLeafFunctions.cpp`, `LiftedLeafFunctionsExports.hpp`, `InventoryExports.hpp`, `LegacyExports.hpp`, the leaf test source, and the debt change files were not read. `LiftedWrappers.cpp` and its tests were only sampled, not read in full. Therefore I cannot approve: not every reviewed file was read, and the full change was not verified. - Windows behavior, the source module's binary semantics, and claimed test outcomes were not independently verified. ## To get this to a good state Nothing is required. Optional: independently run the described Linux checks and review the unread changed files before relying on this assessment.

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