feat(libSceNKWebKit): implement PAL::SleepDisabler and WebCore::sleepDisablerClient #22450

Closed
RiverWhy wants to merge 9 commits from upstream-pr/22450 into main
RiverWhy commented 2026-11-17 16:41:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by RiverWhy on 2026-11-17T16:41:05Z.


What

Implements PAL::SleepDisabler and WebCore::sleepDisablerClient: 4 exports that all throw on main today. These are the two PAL::SleepDisabler(const char*, Type) constructors (C1, C2), the deleting destructor D0 and sleepDisablerClient(). PAL::SleepDisabler's D1 and D2 are already empty on main.

Source: SleepDisabler.cpp and SleepDisablerClient.cpp at e12a212a531a. The exported const char* constructor matches this revision; the PS5 11.x source takes const String&.

  • The object is 16 bytes: a vptr, then the Type at byte 8. The vtable is [D1, D0]. Both were measured by compiling these class definitions (offsetof, -fdump-lang-class).
    • The constructors ignore the reason and store the type, as in the source. They install a host vtable [D1, D0], because the module's own vtable is not available.
    • D0 frees the object with the guest operator delete. PAL::SleepDisabler is not fast-allocated, so it comes from the global new.
    • The 11.x object has the same layout, so D0 works for both firmware versions.
  • sleepDisablerClient() returns the address of one zero-initialized unique_ptr<SleepDisablerClient> slot, which never moves. This is the source's NeverDestroyed static.
  • A null object throws.

Not included: the WebCore::SleepDisabler constructors and destructors still throw.

  • Its constructors are 3.20 exports, and the later module adds a page identifier to the object and to the client calls.
  • So one D1/D2 would have to serve two layouts and two client vtables.

Debt: a fragment, docs/dev/debt/changes/feat-nkwebkit-sleep-disabler.md, adds the entry under Functional and removes the D0 inventory row. The other three are 3.20 exports with no inventory row.

Overlap: pr_overlap.py finds no open PR with these exports.

  • #18797, #18805, #20327, #21422, #21979, and my other new KillRing and Cookie PRs add an include on the same last line of libSceNKWebKit.hpp, which is a line conflict only.

Tested

Linux Mint 22.3:

  • New nkwebkit_palsleepdisabler test:
    • C1 and C2 with both types, on memory from the guest operator new filled with 0xa5: the type is at byte 8;
    • D1 through the vtable keeps the allocation;
    • D0 through the vtable, and called directly, frees it, and no guest allocation is left;
    • sleepDisablerClient() returns the same slot each time, null at first, and keeps a stored pointer;
    • null objects are refused.

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: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

Summary by CodeRabbit

  • Improvements
    • Updated WebKit sleep-disabler support, improving compatibility for activity that needs to keep the device awake. This update affects platform behavior and does not change app screens, controls, or other visible features. No user interface changes are included in this release.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5360983058 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22450). Originally posted by [RiverWhy](https://github.com/RiverWhy) on 2026-11-17T16:41:05Z. --- ### What Implements `PAL::SleepDisabler` and `WebCore::sleepDisablerClient`: 4 exports that all throw on `main` today. These are the two `PAL::SleepDisabler(const char*, Type)` constructors (`C1`, `C2`), the deleting destructor `D0` and `sleepDisablerClient()`. `PAL::SleepDisabler`'s `D1` and `D2` are already empty on `main`. Source: [SleepDisabler.cpp](https://github.com/WebKit/WebKit/blob/e12a212a531aeddc11259e8515671cf5188e038d/Source/WebCore/PAL/pal/system/SleepDisabler.cpp#L38-L43) and [SleepDisablerClient.cpp](https://github.com/WebKit/WebKit/blob/e12a212a531aeddc11259e8515671cf5188e038d/Source/WebCore/platform/SleepDisablerClient.cpp#L33-L37) at `e12a212a531a`. The exported `const char*` constructor matches this revision; the PS5 11.x source takes `const String&`. - The object is 16 bytes: a vptr, then the `Type` at byte 8. The vtable is `[D1, D0]`. Both were measured by compiling these class definitions (`offsetof`, `-fdump-lang-class`). - The constructors ignore the reason and store the type, as in the source. They install a host vtable `[D1, D0]`, because the module's own vtable is not available. - `D0` frees the object with the guest `operator delete`. `PAL::SleepDisabler` is not fast-allocated, so it comes from the global `new`. - The 11.x object has the same layout, so `D0` works for both firmware versions. - `sleepDisablerClient()` returns the address of one zero-initialized `unique_ptr<SleepDisablerClient>` slot, which never moves. This is the source's `NeverDestroyed` static. - A null object throws. Not included: the `WebCore::SleepDisabler` constructors and destructors still throw. - Its constructors are 3.20 exports, and the later module adds a page identifier to the object and to the client calls. - So one `D1`/`D2` would have to serve two layouts and two client vtables. Debt: a fragment, `docs/dev/debt/changes/feat-nkwebkit-sleep-disabler.md`, adds the entry under Functional and removes the `D0` inventory row. The other three are 3.20 exports with no inventory row. Overlap: `pr_overlap.py` finds no open PR with these exports. - #18797, #18805, #20327, #21422, #21979, and my other new KillRing and Cookie PRs add an include on the same last line of `libSceNKWebKit.hpp`, which is a line conflict only. ### Tested Linux Mint 22.3: - New `nkwebkit_palsleepdisabler` test: - `C1` and `C2` with both types, on memory from the guest `operator new` filled with `0xa5`: the type is at byte 8; - `D1` through the vtable keeps the allocation; - `D0` through the vtable, and called directly, frees it, and no guest allocation is left; - `sleepDisablerClient()` returns the same slot each time, null at first, and keeps a stored pointer; - null objects are refused. ### 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: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Improvements** * Updated WebKit sleep-disabler support, improving compatibility for activity that needs to keep the device awake. This update affects platform behavior and does not change app screens, controls, or other visible features. No user interface changes are included in this release. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
PrivacyOnion commented 2026-11-17 16:44:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-17T16:44:55Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_palsleepdisabler_tests built cleanly.
  • CTest (nkwebkit_palsleepdisabler):
    1/1 Test #4479: nkwebkit_palsleepdisabler ........   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, 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/PalSleepDisabler.cpp reverted to main and the new tests kept, the suite fails:
    1/1 Test #4479: nkwebkit_palsleepdisabler ........Subprocess aborted***Exception:   0.25 sec
    0% tests passed, 1 tests failed out of 1
    
    Restoring the change makes it pass again.
  • Code reading:
    • Verified PalSleepDisablerExports.hpp ABI structure layout, alignments, and sizes (SleepDisabler 16 bytes, SleepDisablerVtable 16 bytes, member offset 8) match Itanium C++ ABI and upstream WebKit.
    • Verified constructor implementations (_ZN3PAL13SleepDisablerC1EPKcNS0_4TypeE and C2) correctly throw std::invalid_argument on null self pointer and initialize vtable and type.
    • Verified deleting destructor (_ZN3PAL13SleepDisablerD0Ev) validates self pointer and deallocates memory via guest _ZdlPv_nid_postfix.
    • Verified sleepDisablerClient() correctly returns the address of a persistent static pointer slot matching WebKit's client access pattern.
    • Verified strict AGENTS.md compliance, including conventional commits, header removals from InventoryExports/LegacyExports, and technical debt fragment in docs/dev/debt/changes/.
    • Verified PalSleepDisabler.cpp unit tests rigorously exercise construction, destruction via direct invocation and vtable, null checks, and client pointer manipulation.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5942676725 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22450#pullrequestreview-5942676725). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-17T16:44:55Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `2fb83e2fd0`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_palsleepdisabler_tests` built cleanly. - **CTest** (`nkwebkit_palsleepdisabler`): ``` 1/1 Test #4479: nkwebkit_palsleepdisabler ........ Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `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/PalSleepDisabler.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/1 Test #4479: nkwebkit_palsleepdisabler ........Subprocess aborted***Exception: 0.25 sec 0% tests passed, 1 tests failed out of 1 ``` Restoring the change makes it pass again. - **Code reading**: - Verified PalSleepDisablerExports.hpp ABI structure layout, alignments, and sizes (SleepDisabler 16 bytes, SleepDisablerVtable 16 bytes, member offset 8) match Itanium C++ ABI and upstream WebKit. - Verified constructor implementations (_ZN3PAL13SleepDisablerC1EPKcNS0_4TypeE and C2) correctly throw std::invalid_argument on null self pointer and initialize vtable and type. - Verified deleting destructor (_ZN3PAL13SleepDisablerD0Ev) validates self pointer and deallocates memory via guest _ZdlPv_nid_postfix. - Verified sleepDisablerClient() correctly returns the address of a persistent static pointer slot matching WebKit's client access pattern. - Verified strict AGENTS.md compliance, including conventional commits, header removals from InventoryExports/LegacyExports, and technical debt fragment in docs/dev/debt/changes/. - Verified PalSleepDisabler.cpp unit tests rigorously exercise construction, destruction via direct invocation and vtable, null checks, and client pointer manipulation. Looks Good To Me
MarcZX10 commented 2026-11-21 11:47:15 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — no blocking findings

The reviewed change at head 863b79418bb8afdb56803263deb892164fe3a993 adds PAL sleep disabler constructors, a deleting destructor, and the WebCore client slot; I found no verified blocking defects, but I did not run the tests.

What I ran

Read the prepared description, commits, diff, manifest, and changed source files through repo_read.py. No build or test commands were run.

Results

Check Result Note
Source review passed Read implementation and declarations
Tests not run No test execution
Full changed-file review not run Large files were only inspected at affected ranges

Findings

Blocking

None verified.

Non-blocking

None.

Not verified

Did not read every line of Export.cpp or InventoryExports.hpp; inspected their relevant symbols and declarations through targeted searches and ranges. Did not run the new test, build, or verify behavior on a PS5 console. Other changed-file text was read: LegacyExports.hpp, PalSleepDisablerExports.hpp, libSceNKWebKit.hpp, PalSleepDisabler.cpp, tests/PalSleepDisabler.cpp, and the debt fragment. No source files were excluded by the review artifact rules.

To get this to a good state

Nothing is required. The new test and build remain unrun.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6005010292 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22450#pullrequestreview-6005010292). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T11:47:15Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The reviewed change at head `863b79418bb8afdb56803263deb892164fe3a993` adds PAL sleep disabler constructors, a deleting destructor, and the WebCore client slot; I found no verified blocking defects, but I did not run the tests. ## What I ran Read the prepared description, commits, diff, manifest, and changed source files through `repo_read.py`. No build or test commands were run. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Read implementation and declarations | | Tests | not run | No test execution | | Full changed-file review | not run | Large files were only inspected at affected ranges | ## Findings ### Blocking None verified. ### Non-blocking None. ## Not verified Did not read every line of `Export.cpp` or `InventoryExports.hpp`; inspected their relevant symbols and declarations through targeted searches and ranges. Did not run the new test, build, or verify behavior on a PS5 console. Other changed-file text was read: `LegacyExports.hpp`, `PalSleepDisablerExports.hpp`, `libSceNKWebKit.hpp`, `PalSleepDisabler.cpp`, `tests/PalSleepDisabler.cpp`, and the debt fragment. No source files were excluded by the review artifact rules. ## To get this to a good state Nothing is required. The new test and build remain unrun.
MarcZX10 commented 2026-11-26 11:50:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-26T11:50:10Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this; the points below are optional.

What I ran

Reviewed head 0094519b509a048561839d50965f67f95b16c04a. I read the prepared diff and targeted source context with repo_read.py; no build or tests were run. The author reports Linux Mint 22.3 test results in the PR description; I did not run those tests.

Results

Check Result Note
Changed code review passed Implementations and ABI declarations inspected
Tests not run Author-reported results only
Build not run No build performed

Findings

Blocking

None.

Non-blocking

None.

Not verified

I read Export.cpp only at its include lines and inspected the changed portions in diff.patch; its full text is excluded because it is too large. I did not read the full text of InventoryExports.hpp or LegacyExports.hpp; their changed lines only remove declarations shown in the diff. The included changed files PalSleepDisablerExports.hpp, libSceNKWebKit.hpp, PalSleepDisabler.cpp, tests/PalSleepDisabler.cpp, and the debt fragment were inspected through the prepared files or targeted reader calls. I did not run the reported test, compile the change, or verify behavior on console hardware.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6073638439 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22450#pullrequestreview-6073638439). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-26T11:50:10Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this; the points below are optional. ## What I ran Reviewed head `0094519b509a048561839d50965f67f95b16c04a`. I read the prepared diff and targeted source context with `repo_read.py`; no build or tests were run. The author reports Linux Mint 22.3 test results in the PR description; I did not run those tests. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | Implementations and ABI declarations inspected | | Tests | not run | Author-reported results only | | Build | not run | No build performed | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified I read `Export.cpp` only at its include lines and inspected the changed portions in `diff.patch`; its full text is excluded because it is too large. I did not read the full text of `InventoryExports.hpp` or `LegacyExports.hpp`; their changed lines only remove declarations shown in the diff. The included changed files `PalSleepDisablerExports.hpp`, `libSceNKWebKit.hpp`, `PalSleepDisabler.cpp`, `tests/PalSleepDisabler.cpp`, and the debt fragment were inspected through the prepared files or targeted reader calls. I did not run the reported test, compile the change, or verify behavior on console hardware. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-28 09:58:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-28T09:58:55Z.

Review: COMMENTED


Reviewed — no blocking findings

No verified blocking defect was found in the implementation; the changed source and header were read, but Export.cpp was excluded from the review bundle and tests were not run.

What I ran

  • Inspected head 28caf0f7fc9e1ac5764fcc24b5b16ff8d74c927 using the pinned repo_read.py reader.
  • Commands: none; review only.
  • Read description.md, commits.md, manifest.json, diff.patch, PalSleepDisabler.cpp, PalSleepDisablerExports.hpp, CMakeLists.txt, and the relevant no-op destructor declarations/definitions and Export.cpp ranges.
  • files.json was not available; manifest.json identifies Export.cpp as excluded because it is too large. Other changed files listed there were included, but their full text was not all read.

Results

Check Result Note
Source inspection passed Core implementation and ABI declarations read
Tests not run No test execution in this review
Export integration not run Export.cpp was excluded from the bundle

Findings

Blocking

None verified.

Non-blocking

None.

Not verified

  • Export.cpp was excluded from the review bundle; its targeted ranges were readable through the pinned reader, but its full text was not inspected.
  • The complete contents of InventoryExports.hpp and LegacyExports.hpp, and the full added test and debt files, were not read.
  • No build, test, or console execution was performed. The Linux Mint test results in the description are author-reported, not independently run.
  • The reported object layout, vtable compatibility, and behavior against console modules were not independently confirmed.

To get this to a good state

Nothing is required. Optional: run the new test and verify the ABI against a console module, as recorded in the added debt entry.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6097151028 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22450#pullrequestreview-6097151028). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-28T09:58:55Z. **Review:** COMMENTED --- # Reviewed — no blocking findings No verified blocking defect was found in the implementation; the changed source and header were read, but `Export.cpp` was excluded from the review bundle and tests were not run. ## What I ran - Inspected head `28caf0f7fc9e1ac5764fcc24b5b16ff8d74c927` using the pinned `repo_read.py` reader. - Commands: none; review only. - Read `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `PalSleepDisabler.cpp`, `PalSleepDisablerExports.hpp`, `CMakeLists.txt`, and the relevant no-op destructor declarations/definitions and `Export.cpp` ranges. - `files.json` was not available; `manifest.json` identifies `Export.cpp` as excluded because it is too large. Other changed files listed there were included, but their full text was not all read. ## Results | Check | Result | Note | |---|---|---| | Source inspection | passed | Core implementation and ABI declarations read | | Tests | not run | No test execution in this review | | Export integration | not run | `Export.cpp` was excluded from the bundle | ## Findings ### Blocking None verified. ### Non-blocking None. ## Not verified - `Export.cpp` was excluded from the review bundle; its targeted ranges were readable through the pinned reader, but its full text was not inspected. - The complete contents of `InventoryExports.hpp` and `LegacyExports.hpp`, and the full added test and debt files, were not read. - No build, test, or console execution was performed. The Linux Mint test results in the description are author-reported, not independently run. - The reported object layout, vtable compatibility, and behavior against console modules were not independently confirmed. ## To get this to a good state Nothing is required. Optional: run the new test and verify the ABI against a console module, as recorded in the added debt entry.
ligmaSec commented 2026-12-03 12:59:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:59:20Z.

Review: COMMENTED


Built the branch’s changed sources and ran PalSleepDisabler on Linux against the existing runtime libraries. The test run passed and covered the sleep disabler and client lifecycle cases.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6170276216 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22450#pullrequestreview-6170276216). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T12:59:20Z. **Review:** COMMENTED --- Built the branch’s changed sources and ran PalSleepDisabler on Linux against the existing runtime libraries. The test run passed and covered the sleep disabler and client lifecycle cases. AI-assisted: yes.
MarcZX10 commented 2026-12-03 22:43:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-03T22:43:07Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

What I ran

Reviewed head fd7559a16b668efa312b942f9f013affb5cad409 using the prepared diff and the pinned repo_read.py reader. No tests or build checks were run.

python3 repo_read.py cat core/libs/prx/libSceNKWebKit/src/PalSleepDisabler.cpp 1 105
python3 repo_read.py cat core/libs/prx/libSceNKWebKit/Export.cpp 1640 1665
python3 repo_read.py search _ZdlPv_nid_postfix core/libs/prx/libc
python3 repo_read.py search _ZN3PAL13SleepDisabler

Results

Check Result Note
Changed hunks passed No concrete defect found
Tests not run Not established to avoid compilation
Console behavior not run No console comparison verified

Findings

Blocking

None.

Non-blocking

  • The debt entry says comparison with a console module is still outstanding; completing that comparison would verify the assumed object and vtable ABI (docs/dev/debt/changes/feat-nkwebkit-sleep-disabler.md:7).

Not verified

No tests, build, or console checks were run. Reviewed the changed hunks for all eight files listed under files.json → reviewed. Read the full new implementation, test, export header, and debt entry; inspected the relevant changed ranges in Export.cpp. Export.cpp full text was omitted from the review folder due to size; InventoryExports.hpp and LegacyExports.hpp were reviewed at their changed hunks, not in full. files.json lists no rule-excluded files.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6179913222 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22450#pullrequestreview-6179913222). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-12-03T22:43:07Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. ## What I ran Reviewed head `fd7559a16b668efa312b942f9f013affb5cad409` using the prepared diff and the pinned `repo_read.py` reader. No tests or build checks were run. ```text python3 repo_read.py cat core/libs/prx/libSceNKWebKit/src/PalSleepDisabler.cpp 1 105 python3 repo_read.py cat core/libs/prx/libSceNKWebKit/Export.cpp 1640 1665 python3 repo_read.py search _ZdlPv_nid_postfix core/libs/prx/libc python3 repo_read.py search _ZN3PAL13SleepDisabler ``` ## Results | Check | Result | Note | |---|---|---| | Changed hunks | passed | No concrete defect found | | Tests | not run | Not established to avoid compilation | | Console behavior | not run | No console comparison verified | ## Findings ### Blocking None. ### Non-blocking - The debt entry says comparison with a console module is still outstanding; completing that comparison would verify the assumed object and vtable ABI (`docs/dev/debt/changes/feat-nkwebkit-sleep-disabler.md:7`). ## Not verified No tests, build, or console checks were run. Reviewed the changed hunks for all eight files listed under `files.json` → `reviewed`. Read the full new implementation, test, export header, and debt entry; inspected the relevant changed ranges in `Export.cpp`. `Export.cpp` full text was omitted from the review folder due to size; `InventoryExports.hpp` and `LegacyExports.hpp` were reviewed at their changed hunks, not in full. `files.json` lists no rule-excluded files. ## To get this to a good state Nothing is required.

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