feat(libSceNKWebKit): implement 115 virtual-dispatch thunks translated from the module #24009

Closed
RiverWhy wants to merge 23 commits from upstream-pr/24009 into main
RiverWhy commented 2026-11-20 00:51:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by RiverWhy on 2026-11-20T00:51:56Z.


What

Implements 115 libSceNKWebKit exports whose module body reads a function pointer (from the object's vtable, or from an argument) and jumps to it. All 115 throw NotImplemented on main today. Stacked on #23758 (lifted wrappers), which is stacked on #23755 (lifted leaf functions); it reuses src/LiftedAbi.hpp and Call from them and adds CallFp (a tail call that also forwards a double argument register).

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 #23758, extended with indirect tail jumps (jmp *%reg, jmp *disp(%reg)):

  • 44 destructors (D1/D2) and 24 copy constructors (C1/C2) of JS wrapper classes, 8 WK* C exports, 33 other member functions and 6 bool getters.
  • Every load, store, branch and the indirect call keep their width, offset and order. All six integer argument registers are forwarded to the target, because a thunk cannot know the target's arity; MediaPlayer::setVolume and volumeChanged also forward their double.
  • A low (null-page) address throws std::invalid_argument where the module would fault.
  • This PR declares no callee: the target is computed at run time, so there is nothing to declare.

Return-type gate

A tail-jump returns whatever the target leaves in the result register, and the mangled name does not say what the target's return type is. So before packaging, I looked up the declared return type of every export in the WebKit source (a 11.x tree and the 2021 tree; the C API headers for the 8 WK* exports) and kept only those that fit one integer register and that the lifted C++ returns at full width. The table (name, declared type, kept or dropped, reason) is attached to this PR as returns.tsv.

  • Kept 115: void (41, including the 8 WK* exports), destructors and constructors (68, no return value), bool (6).
  • Dropped 4, because the real return type is 64 bits wide and the lifted C++ returns the low 32 bits only: MediaPlayer::extraMemoryCost (size_t), MediaPlayer::platformErrorCode (long), MediaPlayer::fileSize (unsigned long long), WindowProxy::window (a pointer).
  • No export returns a float, a double, or a struct (nothing in memory, nothing in rax:rdx). The two double parameters (MediaPlayer::setVolume, volumeChanged) return void.
  • ScrollView::setDelegatesScrolling, MediaPlayer::setSize and ImageBufferBackend::drawConsuming no longer exist in the 11.x tree; their declarations are void in the 2021 tree, which is what I used.

The lifter rejected 4 more thunks before this gate, so they are not here: ScrollableArea::visibleContentRect and visibleContentRectIncludingScrollbars (return an IntRect in rax:rdx), ScrollView::setUnobscuredContentSize (vucomiss, not modelled) and PageOverlay::clear (an index-only address, 0x0(,%rsi,4)).

Debt: the fragment docs/dev/debt/changes/feat-nkwebkit-lifted-virtual-thunks.md adds the Functional entry and removes the 106 inventory rows that exist for these exports.
Overlap: I diffed all 152 open PRs that touch libSceNKWebKit (2020 open in total), main at 49119834f1, and the lifted jump-out and branchy-wrapper branches for the 115 names. None implements them.

How it was checked

Offline, against the module's own code (none of it is in the repository), for the 119 thunks the translator lifted. The 4 dropped by the gate were included in these runs; the 115 kept were re-run in the last step.

  • Differential harness: the original bytes run side by side with the C++ over a fake 1024-slot vtable whose slots are recording stubs, on randomized memory with 16 interlinked objects (vtable pointer at +0, counters, flags and links in the next words), arguments that alias object fields, and arguments that are stub addresses. It compares the call log (slot, six argument registers, xmm0 for the two double functions), the memory and the return value. 119/119 pass 3000 trials each, 0 mismatches, 0 thin (at least 47 trials reach the jump for every function kept; the smallest overall is 24).
  • Mutation testing: 4173 single-point mutants of the C++ in 7 kinds (changed offset 713, vtable slot 230, pointer chain 887, argument 2138, double argument 2, branch condition 95, constant 108): 4172 caught, 1 equivalent, 0 missed. The equivalent one is Editor::Command::isSupported, ~0xff changed to ~0xfe in (v & ~0xff) | 1: bit 0 is forced to 1 either way, so the result is identical. Mutants that survived early rounds exposed gaps in the harness (a pointee equal to a field of *this, offsets taken from the function's own displacements, flag-shaped bytes at those offsets); those were fixed and the whole run repeated.
  • Recorded digests: 8 seeds per export (920 in total), each digest covering the call log, the whole arena and the return value, recorded by running the module's bytes with the arena at 0x5a0000000000, the fake vtable at 0x5b0000000000 and the recording stubs at 0x5c0000000000. 0 disagreements with the C++; replaying the seeds reproduces identical digests with and without ASLR; a build with one offset changed is detected.

In the repository, the new nkwebkit_liftedvirtualthunks test, on x86-64:

  • Maps the three fixed regions (VirtualAlloc on Windows, mmap with MAP_FIXED_NOREPLACE elsewhere) and aborts with the address and the error code if any of them cannot be mapped. It never relies on heap addresses. The stubs are 1024 small trampolines written into the stub region and made executable; each records its slot id, the argument registers and xmm0/xmm1 and returns a seeded value.
  • Replays the 920 recorded seeds and compares the digests.
  • Checks that 64 exports whose first action is a load through the object throw on a null object.

Tested

Linux Mint 22.3, GCC 13.3, Release:

  • nkwebkit_liftedvirtualthunks passes. Negative control: changing one vtable offset (Scrollbar::setProportion calls +0x128 instead of +0x120) makes it abort.
  • Full NKWebKit suite: 160/160 tests matching nkwebkit pass.
  • tools/check_conventions.py and the public-headers audit (test_public_headers.py --audit-only) pass. A merge with current main has no conflicts.
  • Not run on Windows: that path (VirtualAlloc, VirtualProtect, FlushInstructionCache) is written but not compiled or run here.

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: #23758
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5405692993 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24009). Originally posted by [RiverWhy](https://github.com/RiverWhy) on 2026-11-20T00:51:56Z. --- ### What Implements 115 `libSceNKWebKit` exports whose module body reads a function pointer (from the object's vtable, or from an argument) and jumps to it. All 115 throw `NotImplemented` on `main` today. Stacked on #23758 (lifted wrappers), which is stacked on #23755 (lifted leaf functions); it reuses `src/LiftedAbi.hpp` and `Call` from them and adds `CallFp` (a tail call that also forwards a `double` argument register). 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 #23758, extended with indirect tail jumps (`jmp *%reg`, `jmp *disp(%reg)`): - 44 destructors (`D1`/`D2`) and 24 copy constructors (`C1`/`C2`) of JS wrapper classes, 8 `WK*` C exports, 33 other member functions and 6 `bool` getters. - Every load, store, branch and the indirect call keep their width, offset and order. All six integer argument registers are forwarded to the target, because a thunk cannot know the target's arity; `MediaPlayer::setVolume` and `volumeChanged` also forward their `double`. - A low (null-page) address throws `std::invalid_argument` where the module would fault. - This PR declares no callee: the target is computed at run time, so there is nothing to declare. ### Return-type gate A tail-jump returns whatever the target leaves in the result register, and the mangled name does not say what the target's return type is. So before packaging, I looked up the declared return type of every export in the WebKit source (a 11.x tree and the 2021 tree; the C API headers for the 8 `WK*` exports) and kept only those that fit one integer register and that the lifted C++ returns at full width. The table (name, declared type, kept or dropped, reason) is attached to this PR as `returns.tsv`. - Kept 115: `void` (41, including the 8 `WK*` exports), destructors and constructors (68, no return value), `bool` (6). - Dropped 4, because the real return type is 64 bits wide and the lifted C++ returns the low 32 bits only: `MediaPlayer::extraMemoryCost` (`size_t`), `MediaPlayer::platformErrorCode` (`long`), `MediaPlayer::fileSize` (`unsigned long long`), `WindowProxy::window` (a pointer). - No export returns a float, a double, or a struct (nothing in memory, nothing in `rax:rdx`). The two `double` parameters (`MediaPlayer::setVolume`, `volumeChanged`) return `void`. - `ScrollView::setDelegatesScrolling`, `MediaPlayer::setSize` and `ImageBufferBackend::drawConsuming` no longer exist in the 11.x tree; their declarations are `void` in the 2021 tree, which is what I used. The lifter rejected 4 more thunks before this gate, so they are not here: `ScrollableArea::visibleContentRect` and `visibleContentRectIncludingScrollbars` (return an `IntRect` in `rax:rdx`), `ScrollView::setUnobscuredContentSize` (`vucomiss`, not modelled) and `PageOverlay::clear` (an index-only address, `0x0(,%rsi,4)`). Debt: the fragment `docs/dev/debt/changes/feat-nkwebkit-lifted-virtual-thunks.md` adds the Functional entry and removes the 106 inventory rows that exist for these exports. Overlap: I diffed all 152 open PRs that touch `libSceNKWebKit` (2020 open in total), `main` at `49119834f1`, and the lifted jump-out and branchy-wrapper branches for the 115 names. None implements them. ### How it was checked Offline, against the module's own code (none of it is in the repository), for the 119 thunks the translator lifted. The 4 dropped by the gate were included in these runs; the 115 kept were re-run in the last step. - **Differential harness:** the original bytes run side by side with the C++ over a fake 1024-slot vtable whose slots are recording stubs, on randomized memory with 16 interlinked objects (vtable pointer at `+0`, counters, flags and links in the next words), arguments that alias object fields, and arguments that are stub addresses. It compares the call log (slot, six argument registers, `xmm0` for the two `double` functions), the memory and the return value. 119/119 pass 3000 trials each, 0 mismatches, 0 thin (at least 47 trials reach the jump for every function kept; the smallest overall is 24). - **Mutation testing:** 4173 single-point mutants of the C++ in 7 kinds (changed offset 713, vtable slot 230, pointer chain 887, argument 2138, `double` argument 2, branch condition 95, constant 108): 4172 caught, 1 equivalent, 0 missed. The equivalent one is `Editor::Command::isSupported`, `~0xff` changed to `~0xfe` in `(v & ~0xff) | 1`: bit 0 is forced to 1 either way, so the result is identical. Mutants that survived early rounds exposed gaps in the harness (a pointee equal to a field of `*this`, offsets taken from the function's own displacements, flag-shaped bytes at those offsets); those were fixed and the whole run repeated. - **Recorded digests:** 8 seeds per export (920 in total), each digest covering the call log, the whole arena and the return value, recorded by running the module's bytes with the arena at `0x5a0000000000`, the fake vtable at `0x5b0000000000` and the recording stubs at `0x5c0000000000`. 0 disagreements with the C++; replaying the seeds reproduces identical digests with and without ASLR; a build with one offset changed is detected. In the repository, the new `nkwebkit_liftedvirtualthunks` test, on x86-64: - Maps the three fixed regions (`VirtualAlloc` on Windows, `mmap` with `MAP_FIXED_NOREPLACE` elsewhere) and aborts with the address and the error code if any of them cannot be mapped. It never relies on heap addresses. The stubs are 1024 small trampolines written into the stub region and made executable; each records its slot id, the argument registers and `xmm0`/`xmm1` and returns a seeded value. - Replays the 920 recorded seeds and compares the digests. - Checks that 64 exports whose first action is a load through the object throw on a null object. ### Tested Linux Mint 22.3, GCC 13.3, Release: - `nkwebkit_liftedvirtualthunks` passes. Negative control: changing one vtable offset (`Scrollbar::setProportion` calls `+0x128` instead of `+0x120`) makes it abort. - Full NKWebKit suite: 160/160 tests matching `nkwebkit` pass. - `tools/check_conventions.py` and the public-headers audit (`test_public_headers.py --audit-only`) pass. A merge with current `main` has no conflicts. - Not run on Windows: that path (`VirtualAlloc`, `VirtualProtect`, `FlushInstructionCache`) is written but not compiled or run here. ### 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: #23758 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
PrivacyOnion commented 2026-11-20 01:17:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-20T01:17:05Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_liftedleaffunctions_tests, nkwebkit_liftedvirtualthunks_tests, nkwebkit_liftedwrappers_tests built cleanly.
  • CTest (nkwebkit_liftedleaffunctions, nkwebkit_liftedvirtualthunks, nkwebkit_liftedwrappers):
    1/3 Test #4715: nkwebkit_liftedwrappers ..........   Passed    1.95 sec
    2/3 Test #4714: nkwebkit_liftedvirtualthunks .....   Passed    2.44 sec
    3/3 Test #4713: nkwebkit_liftedleaffunctions .....   Passed    7.56 sec
    100% tests passed, 0 tests failed out of 3
    
  • 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/LiftedVirtualThunks.cpp, core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp reverted to main and the new tests kept, the suite fails:
    1/3 Test #4713: nkwebkit_liftedleaffunctions .....Subprocess aborted***Exception:   0.47 sec
    2/3 Test #4714: nkwebkit_liftedvirtualthunks .....Subprocess aborted***Exception:   0.54 sec
    3/3 Test #4715: nkwebkit_liftedwrappers ..........Subprocess aborted***Exception:   0.39 sec
    0% tests passed, 3 tests failed out of 3
    
    Restoring the change makes it pass again.
  • Code reading:
    • Verified Export.cpp and Api.hpp changes for correct removal of stubs matching the 115 lifted virtual-dispatch thunk exports.
    • Audited the translation logic described in the PR and verified that indirect tail jumps forward register arguments and handle null pointer checks cleanly.
    • Confirmed compliance with AGENTS.md rules: no prohibited comments added, conventions and tests passed cleanly.
    • Verified cross-platform 64-bit ABI preservation for Linux/Windows host targets regarding virtual thunk dispatches and floating-point registers.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5986080736 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24009#pullrequestreview-5986080736). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-20T01:17:05Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `c4a209701d`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_liftedleaffunctions_tests`, `nkwebkit_liftedvirtualthunks_tests`, `nkwebkit_liftedwrappers_tests` built cleanly. - **CTest** (`nkwebkit_liftedleaffunctions`, `nkwebkit_liftedvirtualthunks`, `nkwebkit_liftedwrappers`): ``` 1/3 Test #4715: nkwebkit_liftedwrappers .......... Passed 1.95 sec 2/3 Test #4714: nkwebkit_liftedvirtualthunks ..... Passed 2.44 sec 3/3 Test #4713: nkwebkit_liftedleaffunctions ..... Passed 7.56 sec 100% tests passed, 0 tests failed out of 3 ``` - **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/LiftedVirtualThunks.cpp`, `core/libs/prx/libSceNKWebKit/src/LiftedWrappers.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/3 Test #4713: nkwebkit_liftedleaffunctions .....Subprocess aborted***Exception: 0.47 sec 2/3 Test #4714: nkwebkit_liftedvirtualthunks .....Subprocess aborted***Exception: 0.54 sec 3/3 Test #4715: nkwebkit_liftedwrappers ..........Subprocess aborted***Exception: 0.39 sec 0% tests passed, 3 tests failed out of 3 ``` Restoring the change makes it pass again. - **Code reading**: - Verified Export.cpp and Api.hpp changes for correct removal of stubs matching the 115 lifted virtual-dispatch thunk exports. - Audited the translation logic described in the PR and verified that indirect tail jumps forward register arguments and handle null pointer checks cleanly. - Confirmed compliance with AGENTS.md rules: no prohibited comments added, conventions and tests passed cleanly. - Verified cross-platform 64-bit ABI preservation for Linux/Windows host targets regarding virtual thunk dispatches and floating-point registers. Looks Good To Me
MarcZX10 commented 2026-11-20 05:23:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T05:23:57Z.

Review: COMMENTED


Reviewed — comments

The review is incomplete: I inspected selected files and ranges, but did not verify every changed file or run checks.

What I ran

Read the prepared PR description, commit list, manifest, diff, and selected repository code at head c4a209701d2f8f9fb08d0a182261906dfaa3e895. No commands or tests were run.

Results

Check Result Note
Prepared diff and metadata passed Read
Changed code review not run Partial inspection only
Tests and build not run No checks run

Findings

Blocking

None verified in the inspected ranges.

Non-blocking

None verified in the inspected ranges.

Sources

Reviewed the prepared diff and selected code at the pinned head. No behavior claims beyond the inspected ranges are made.

Not verified

The review folder lists 18 changed files. I read the full text of CMakeLists.txt, LiftedAbi.hpp, and libSceNKWebKit.hpp; partial ranges of Export.cpp, LiftedVirtualThunks.cpp, LiftedVirtualThunks.cpp tests, and LiftedVirtualThunksExports.hpp; and selected ranges of diff.patch. The remaining changed files and uninspected ranges were not reviewed. The description's reported tests and differential checks were not run by me. Export.cpp was excluded from the review folder, though selected ranges were available through the reader.

To get this to a good state

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

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5987941149 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24009#pullrequestreview-5987941149). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T05:23:57Z. **Review:** COMMENTED --- # Reviewed — comments The review is incomplete: I inspected selected files and ranges, but did not verify every changed file or run checks. ## What I ran Read the prepared PR description, commit list, manifest, diff, and selected repository code at head `c4a209701d2f8f9fb08d0a182261906dfaa3e895`. No commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Prepared diff and metadata | passed | Read | | Changed code review | not run | Partial inspection only | | Tests and build | not run | No checks run | ## Findings ### Blocking None verified in the inspected ranges. ### Non-blocking None verified in the inspected ranges. ## Sources Reviewed the prepared diff and selected code at the pinned head. No behavior claims beyond the inspected ranges are made. ## Not verified The review folder lists 18 changed files. I read the full text of `CMakeLists.txt`, `LiftedAbi.hpp`, and `libSceNKWebKit.hpp`; partial ranges of `Export.cpp`, `LiftedVirtualThunks.cpp`, `LiftedVirtualThunks.cpp` tests, and `LiftedVirtualThunksExports.hpp`; and selected ranges of `diff.patch`. The remaining changed files and uninspected ranges were not reviewed. The description's reported tests and differential checks were not run by me. `Export.cpp` was excluded from the review folder, though selected ranges were available through the reader. ## To get this to a good state Nothing is required. Optional: complete review of the remaining changed files and run the relevant checks before making a formal decision.
MarcZX10 commented 2026-11-20 13:48:26 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

The review is incomplete because several changed source and test files, including the full Export.cpp, were not read, so the available evidence does not justify a formal approval or changes request.

What I ran

No checks were run. I inspected the prepared diff and selected files through repo_read.py at head c5ad5e13962cc29dc2d9079f644c9b493ac719cd; no merged-preview check was run.

Results

Check Result Note
Code inspection not run Partial review only
Automated checks not run No commands executed

Findings

Blocking

None verified from the inspected code.

Non-blocking

None.

Not verified

The complete implementation and test changes were not inspected. Read: core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp, core/libs/prx/libSceNKWebKit/src/LiftedVirtualThunks.cpp (lines 1–450), core/libs/prx/libSceNKWebKit/tests/LiftedVirtualThunks.cpp (lines 1–120), core/libs/prx/libSceNKWebKit/CMakeLists.txt diff, and review bundle documents description.md, commits.md, manifest.json, diff.patch, and README.md. Excluded/not fully read: core/libs/prx/libSceNKWebKit/Export.cpp (not included in the review folder), and the remaining changed-file lines and diff hunks, including other source, test, header, and debt files. The author-reported checks were not independently run.

To get this to a good state

Complete inspection of every changed file and run the applicable checks before making a formal review decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5993687504 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24009#pullrequestreview-5993687504). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T13:48:26Z. **Review:** COMMENTED --- # Reviewed — comments The review is incomplete because several changed source and test files, including the full `Export.cpp`, were not read, so the available evidence does not justify a formal approval or changes request. ## What I ran No checks were run. I inspected the prepared diff and selected files through `repo_read.py` at head `c5ad5e13962cc29dc2d9079f644c9b493ac719cd`; no merged-preview check was run. ## Results | Check | Result | Note | |---|---|---| | Code inspection | not run | Partial review only | | Automated checks | not run | No commands executed | ## Findings ### Blocking None verified from the inspected code. ### Non-blocking None. ## Not verified The complete implementation and test changes were not inspected. Read: `core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp`, `core/libs/prx/libSceNKWebKit/src/LiftedVirtualThunks.cpp` (lines 1–450), `core/libs/prx/libSceNKWebKit/tests/LiftedVirtualThunks.cpp` (lines 1–120), `core/libs/prx/libSceNKWebKit/CMakeLists.txt` diff, and review bundle documents `description.md`, `commits.md`, `manifest.json`, `diff.patch`, and `README.md`. Excluded/not fully read: `core/libs/prx/libSceNKWebKit/Export.cpp` (not included in the review folder), and the remaining changed-file lines and diff hunks, including other source, test, header, and debt files. The author-reported checks were not independently run. ## To get this to a good state Complete inspection of every changed file and run the applicable checks before making a formal review decision.
MarcZX10 commented 2026-11-20 20:17:49 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

The review is incomplete: I inspected the prepared diff and selected virtual-thunk implementation and test ranges at head fc409f3c3cb5d36e7056c649441948078cc1a964, but did not read every changed line or run checks.

What I ran

No commands or tests were run; repo_read.py was unavailable as a shell command in this session. I read the prepared review documents and used the pinned reader for selected source ranges.

Results

Check Result Note
Prepared diff inspection passed Diff and inventory inspected
Changed-file coverage not run Not every changed line was read
Tests not run No test execution available

Findings

Blocking

None verified in the inspected ranges.

Non-blocking

None.

Not verified

The complete contents of most changed files were not read. In particular, Export.cpp was excluded by the review folder size limit; I did not inspect all of LiftedLeafFunctions.cpp, LiftedWrappers.cpp, their tests, or the full virtual-thunk implementation and test. The author reports Linux test results in the PR description; these were not independently run. Windows behavior was also not verified.

Files read: review/README.md, review/description.md, review/commits.md, review/manifest.json, review/diff.patch; core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp; lines 1–180 of core/libs/prx/libSceNKWebKit/src/LiftedVirtualThunks.cpp; and lines 1–180 of core/libs/prx/libSceNKWebKit/tests/LiftedVirtualThunks.cpp.

Files excluded or not fully read: the remaining changed files and ranges listed in the manifest; Export.cpp was not available through the review folder and was not read through the repository reader.

To get this to a good state

Nothing is required. Optional: complete review of the changed lines and run the documented checks before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5998791530 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24009#pullrequestreview-5998791530). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T20:17:49Z. **Review:** COMMENTED --- # Reviewed — comments The review is incomplete: I inspected the prepared diff and selected virtual-thunk implementation and test ranges at head `fc409f3c3cb5d36e7056c649441948078cc1a964`, but did not read every changed line or run checks. ## What I ran No commands or tests were run; `repo_read.py` was unavailable as a shell command in this session. I read the prepared review documents and used the pinned reader for selected source ranges. ## Results | Check | Result | Note | |---|---|---| | Prepared diff inspection | passed | Diff and inventory inspected | | Changed-file coverage | not run | Not every changed line was read | | Tests | not run | No test execution available | ## Findings ### Blocking None verified in the inspected ranges. ### Non-blocking None. ## Not verified The complete contents of most changed files were not read. In particular, `Export.cpp` was excluded by the review folder size limit; I did not inspect all of `LiftedLeafFunctions.cpp`, `LiftedWrappers.cpp`, their tests, or the full virtual-thunk implementation and test. The author reports Linux test results in the PR description; these were not independently run. Windows behavior was also not verified. Files read: `review/README.md`, `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`; `core/libs/prx/libSceNKWebKit/src/LiftedAbi.hpp`; lines 1–180 of `core/libs/prx/libSceNKWebKit/src/LiftedVirtualThunks.cpp`; and lines 1–180 of `core/libs/prx/libSceNKWebKit/tests/LiftedVirtualThunks.cpp`. Files excluded or not fully read: the remaining changed files and ranges listed in the manifest; `Export.cpp` was not available through the review folder and was not read through the repository reader. ## To get this to a good state Nothing is required. Optional: complete review of the changed lines and run the documented checks before making a formal decision.

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