fix(libSceIcu): copy invariant conversion guest pointers safely #22132

Open
domx4q wants to merge 1 commit from upstream-pr/22132 into main
domx4q commented 2026-11-17 06:19:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by domx4q on 2026-11-17T06:19:04Z.


What

u_charsToUChars, u_UCharsToChars, u_austrcpy and u_austrncpy in libSceIcu/Invariant.cpp no longer dereference guest pointers directly.

  • u_charsToUChars and u_UCharsToChars first check that the whole destination is writable with GuestWritable_nid_no_patch. They then convert in 4096-element chunks: copy the source in with GuestCopyIn_nid_no_patch, convert the host copy, and copy the result out with GuestCopyOut_nid_no_patch. Memory use stays bounded for any length.
  • u_austrcpy and u_austrncpy read the UTF-16 source in page-bounded chunks: each copy runs to the end of the current 4096-byte page or to the bound, the same way CopyGuestString_nid_no_patch reads guest strings, and the next page is read only if no terminator was found. A unit that straddles a page boundary is copied on its own. They stop at the same terminator or bound as before. They still throw NotImplemented_nid_no_patch on a unit above 0x7f before writing anything. They then write the narrowed bytes, plus the terminator where one was written before, with one checked copy.
  • An unreadable source or unwritable destination throws through NotImplemented_nid_no_patch and keeps errno, which is how ConverterHelpers.cpp handles it; this library has no documented error code for these helpers. An unwritable destination is left unchanged.
  • Null-pointer and nonpositive-length behaviour is unchanged. Results for valid inputs are unchanged; the existing guest_icu_version tests cover them and pass as before.

The new guest-pointer test lives in a separate GuestIcuInvariant.cpp. The existing invariant tests are in GuestIcuVersion.cpp, which a parallel Version.cpp change may touch. guest_pointer_audit.py libSceIcu no longer lists anything in Invariant.cpp. The debt entries for these helpers describe null-pointer and console behaviour, not the direct dereference, so there is no fragment.

Overlap

  • pr_overlap.py --names u_UCharsToChars u_austrcpy u_austrncpy u_charsToUChars: all present on main, no open PR adds them or edits their bodies.
  • pr_overlap.py --branch fix/icu-invariant-guest-pointers: reported #19985 (feat(libSceIcu): implement uprv_sortArray) as unconfirmed, because both PRs edit core/libs/prx/libSceIcu/CMakeLists.txt. I compared the two by hand. #19985 adds sources and its array test blocks in other places in that file (sources list and after guest_icu_list). This PR adds a separate block after guest_icu_comparisons. The two do not touch the same lines or functions.

Tested

Arch Linux, GCC, Release (-DBUILD_TESTING=ON).

  • ctest -R 'guest_icu_invariant|guest_icu_version$|guest_icu_version_extents|^public_headers$': all pass.
  • New guest_icu_invariant. It maps two read-write pages, one PROT_NONE guard page and one read-only page (Windows: PAGE_NOACCESS/PAGE_READONLY), then checks:
    • sources that end right before the guard page;
    • odd-aligned UTF-16 sources whose first unit straddles the boundary between the two read-write pages;
    • bounded reads that stop at the bound;
    • destinations that end exactly at the guard page;
    • multi-chunk conversions of 10000 elements;
    • every export given an unmapped (0x10) source or destination, a read-only destination, or a source or destination running into the guard page, throws std::runtime_error, keeps errno, and leaves destinations unchanged.
  • Mutation checks:
    • The main version of Invariant.cpp makes the test SEGFAULT.
    • Removing the writability check in u_austrcpy makes the test abort at "destinations running into the guard page stay unchanged".
    • Copying a whole page's worth of units regardless of the page end makes it abort, because it reads into the guard page.
    • Dropping the single-unit copy for a unit that straddles a page boundary makes it loop without progress until the 10 s test timeout.
    • Copying a full chunk in u_charsToUChars regardless of the remaining length makes it abort.
  • check_conventions.py --base origin/main: passes. debt_fold.py --check reports docs-nkwebkit-drop-readded-count-lines.md, which fails the same way on main.
  • Timing: guest_icu_invariant, guest_icu_version and guest_icu_version_extents each take 0.00 s on this branch; guest_icu_invariant is new, so there is no main figure for it. Every guest read copies a page-bounded chunk or a known length, never a single element unless that element straddles a page.

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 (Claude Code)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5351915601 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22132). Originally posted by [domx4q](https://github.com/domx4q) on 2026-11-17T06:19:04Z. --- ### What `u_charsToUChars`, `u_UCharsToChars`, `u_austrcpy` and `u_austrncpy` in `libSceIcu/Invariant.cpp` no longer dereference guest pointers directly. - `u_charsToUChars` and `u_UCharsToChars` first check that the whole destination is writable with `GuestWritable_nid_no_patch`. They then convert in 4096-element chunks: copy the source in with `GuestCopyIn_nid_no_patch`, convert the host copy, and copy the result out with `GuestCopyOut_nid_no_patch`. Memory use stays bounded for any length. - `u_austrcpy` and `u_austrncpy` read the UTF-16 source in page-bounded chunks: each copy runs to the end of the current 4096-byte page or to the bound, the same way `CopyGuestString_nid_no_patch` reads guest strings, and the next page is read only if no terminator was found. A unit that straddles a page boundary is copied on its own. They stop at the same terminator or bound as before. They still throw `NotImplemented_nid_no_patch` on a unit above `0x7f` before writing anything. They then write the narrowed bytes, plus the terminator where one was written before, with one checked copy. - An unreadable source or unwritable destination throws through `NotImplemented_nid_no_patch` and keeps `errno`, which is how `ConverterHelpers.cpp` handles it; this library has no documented error code for these helpers. An unwritable destination is left unchanged. - Null-pointer and nonpositive-length behaviour is unchanged. Results for valid inputs are unchanged; the existing `guest_icu_version` tests cover them and pass as before. The new guest-pointer test lives in a separate `GuestIcuInvariant.cpp`. The existing invariant tests are in `GuestIcuVersion.cpp`, which a parallel `Version.cpp` change may touch. `guest_pointer_audit.py libSceIcu` no longer lists anything in `Invariant.cpp`. The debt entries for these helpers describe null-pointer and console behaviour, not the direct dereference, so there is no fragment. ### Overlap - `pr_overlap.py --names u_UCharsToChars u_austrcpy u_austrncpy u_charsToUChars`: all present on main, no open PR adds them or edits their bodies. - `pr_overlap.py --branch fix/icu-invariant-guest-pointers`: reported #19985 (`feat(libSceIcu): implement uprv_sortArray`) as unconfirmed, because both PRs edit `core/libs/prx/libSceIcu/CMakeLists.txt`. I compared the two by hand. #19985 adds sources and its array test blocks in other places in that file (sources list and after `guest_icu_list`). This PR adds a separate block after `guest_icu_comparisons`. The two do not touch the same lines or functions. ### Tested Arch Linux, GCC, Release (`-DBUILD_TESTING=ON`). - `ctest -R 'guest_icu_invariant|guest_icu_version$|guest_icu_version_extents|^public_headers$'`: all pass. - New `guest_icu_invariant`. It maps two read-write pages, one `PROT_NONE` guard page and one read-only page (Windows: `PAGE_NOACCESS`/`PAGE_READONLY`), then checks: - sources that end right before the guard page; - odd-aligned UTF-16 sources whose first unit straddles the boundary between the two read-write pages; - bounded reads that stop at the bound; - destinations that end exactly at the guard page; - multi-chunk conversions of 10000 elements; - every export given an unmapped (`0x10`) source or destination, a read-only destination, or a source or destination running into the guard page, throws `std::runtime_error`, keeps `errno`, and leaves destinations unchanged. - Mutation checks: - The `main` version of `Invariant.cpp` makes the test SEGFAULT. - Removing the writability check in `u_austrcpy` makes the test abort at "destinations running into the guard page stay unchanged". - Copying a whole page's worth of units regardless of the page end makes it abort, because it reads into the guard page. - Dropping the single-unit copy for a unit that straddles a page boundary makes it loop without progress until the 10 s test timeout. - Copying a full chunk in `u_charsToUChars` regardless of the remaining length makes it abort. - `check_conventions.py --base origin/main`: passes. `debt_fold.py --check` reports `docs-nkwebkit-drop-readded-count-lines.md`, which fails the same way on `main`. - Timing: `guest_icu_invariant`, `guest_icu_version` and `guest_icu_version_extents` each take 0.00 s on this branch; `guest_icu_invariant` is new, so there is no `main` figure for it. Every guest read copies a page-bounded chunk or a known length, never a single element unless that element straddles a page. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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 (Claude Code)
PrivacyOnion commented 2026-11-17 06:23:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-17T06:23:46Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed.
  • Build: guest_icu_invariant_tests built cleanly.
  • CTest (guest_icu_invariant):
    1/1 Test #3772: guest_icu_invariant ..............   Passed    0.02 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceIcu/Invariant.cpp reverted to main and the new tests kept, the suite fails:
    1/1 Test #3772: guest_icu_invariant ..............***Exception: SegFault  0.46 sec
    0% tests passed, 1 tests failed out of 1
    
    Restoring the change makes it pass again.
  • Code reading:
    • Checked Invariant.cpp:ReadUnits for page-boundary chunking, address alignment, and termination detection without out-of-bounds guest memory accesses
    • Checked Invariant.cpp:u_charsToUChars_nid_postfix and u_UCharsToChars_nid_postfix chunking logic (PageBytes chunks, bounds checking, RequireWritable, CopyIn, CopyOut)
    • Checked Invariant.cpp:u_austrcpy_nid_postfix and u_austrncpy_nid_postfix for null pointer checking, negative/zero length handling, ASCII validation (>0x7f check), and destination buffer sizing
    • Checked GuestIcuInvariant.cpp test coverage across guard pages, unmapped addresses, read-only pages, and large multi-chunk strings under both Linux and Windows APIs
    • Checked AGENTS.md compliance regarding comments, conventions, technical debt, and NotImplemented error reporting

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5933946244 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22132#pullrequestreview-5933946244). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-17T06:23:46Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `a76636b2c7`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `guest_icu_invariant_tests` built cleanly. - **CTest** (`guest_icu_invariant`): ``` 1/1 Test #3772: guest_icu_invariant .............. Passed 0.02 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceIcu/Invariant.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/1 Test #3772: guest_icu_invariant ..............***Exception: SegFault 0.46 sec 0% tests passed, 1 tests failed out of 1 ``` Restoring the change makes it pass again. - **Code reading**: - Checked Invariant.cpp:ReadUnits for page-boundary chunking, address alignment, and termination detection without out-of-bounds guest memory accesses - Checked Invariant.cpp:u_charsToUChars_nid_postfix and u_UCharsToChars_nid_postfix chunking logic (PageBytes chunks, bounds checking, RequireWritable, CopyIn, CopyOut) - Checked Invariant.cpp:u_austrcpy_nid_postfix and u_austrncpy_nid_postfix for null pointer checking, negative/zero length handling, ASCII validation (>0x7f check), and destination buffer sizing - Checked GuestIcuInvariant.cpp test coverage across guard pages, unmapped addresses, read-only pages, and large multi-chunk strings under both Linux and Windows APIs - Checked AGENTS.md compliance regarding comments, conventions, technical debt, and NotImplemented error reporting Looks Good To Me
MarcZX10 commented 2026-11-17 06:38:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T06:38:51Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional. Head a76636b2c77fe5cea5d0f74a9a21e0b5636cbaa0, base main.

What I ran

  • Head SHA: a76636b2c77fe5cea5d0f74a9a21e0b5636cbaa0
  • Read the change from diff.patch, manifest.json, files.json and description.md.
  • Read the house rules from the ruling file.
  • Read the repository at the head with the reader:
    • python3 repo_read.py search NotImplementedAt_nid_no_patch core
    • python3 repo_read.py search GuestWritable_nid_no_patch core
    • python3 repo_read.py search configure_windows_unwind core/libs/prx/libSceIcu/CMakeLists.txt
    • python3 repo_read.py cat core/libs/prx/libc/src/General.cpp 1155 1175
    • python3 repo_read.py cat core/libs/prx/libc/src/General.cpp 836 860
  • No build, no ctest and no repository script was run in this review.

Results

Check Result Note
Read the three reviewed files passed Through the diff hunks and the reader
Build and ctest not run Review policy here forbids builds
Helper declarations at head passed General.hpp declares every helper the new code calls
Error path throws std::runtime_error passed General.cpp 1159–1162
CMake block shape passed Matches the neighbouring configure_windows_unwind blocks

Findings

Blocking

None verified.

Non-blocking

  • Partial writes on a multi-chunk failure. In the widening loop, each chunk is written before the next source chunk is read (diff.patch:112). In the narrowing loop the same holds (diff.patch:130). If a source fails on a later chunk, the earlier chunks are already in the destination. The description says destinations are unchanged on failure. The tests check that only for single-chunk inputs (core/libs/tests/GuestIcuInvariant.cpp, the chars[0] == 'X' check and the guard - 4 check). Either state the limit in the description or check the source chunk before writing (diff.patch:108, diff.patch:126).
  • Stack use. u_charsToUChars and u_UCharsToChars each place 4 KiB and 8 KiB buffers on the stack (diff.patch:106-107, diff.patch:124-125). I did not check the guest thread stack size, so this is a question, not a defect.
  • Whole-string read in u_austrcpy. ReadUnits reads the whole source into a heap std::u16string before writing (diff.patch:142). Memory now scales with the source length, which the old loop did not. This is bounded by the source, so it is a cost, not a bug.

Not verified

  • Build and tests. Nothing was compiled or run. The author's ctest, mutation and timing results are author-reported, not reproduced here.
  • Repository checks. guest_pointer_audit.py and check_conventions.py were not run. I did not check the claim that Invariant.cpp no longer appears in the audit.
  • Linux guest-memory check. GuestWritable_nid_no_patch on Linux goes through HostMapping::Find (General.cpp 851). I did not confirm that it sees the test's mmap pages, so the read-only and guard-page tests depend on that.
  • Windows. The VirtualAlloc, VirtualProtect and VirtualFree paths in the test were not built or checked.
  • Files read. CMakeLists.txt and Invariant.cpp were read through the diff hunks, not in full at head. The new test file was read through the diff.

To get this to a good state

Nothing is required. Optional:

  • State in the description that a failure on a later chunk can leave earlier chunks written, or make the source check run before the first write.
  • Confirm the Linux and Windows test runs on the head above.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5934076572 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22132#pullrequestreview-5934076572). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-17T06:38:51Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. Head `a76636b2c77fe5cea5d0f74a9a21e0b5636cbaa0`, base `main`. ## What I ran - Head SHA: `a76636b2c77fe5cea5d0f74a9a21e0b5636cbaa0` - Read the change from `diff.patch`, `manifest.json`, `files.json` and `description.md`. - Read the house rules from the ruling file. - Read the repository at the head with the reader: - `python3 repo_read.py search NotImplementedAt_nid_no_patch core` - `python3 repo_read.py search GuestWritable_nid_no_patch core` - `python3 repo_read.py search configure_windows_unwind core/libs/prx/libSceIcu/CMakeLists.txt` - `python3 repo_read.py cat core/libs/prx/libc/src/General.cpp 1155 1175` - `python3 repo_read.py cat core/libs/prx/libc/src/General.cpp 836 860` - No build, no ctest and no repository script was run in this review. ## Results | Check | Result | Note | |---|---|---| | Read the three reviewed files | passed | Through the diff hunks and the reader | | Build and ctest | not run | Review policy here forbids builds | | Helper declarations at head | passed | `General.hpp` declares every helper the new code calls | | Error path throws `std::runtime_error` | passed | `General.cpp` 1159–1162 | | CMake block shape | passed | Matches the neighbouring `configure_windows_unwind` blocks | ## Findings ### Blocking None verified. ### Non-blocking - **Partial writes on a multi-chunk failure.** In the widening loop, each chunk is written before the next source chunk is read (`diff.patch:112`). In the narrowing loop the same holds (`diff.patch:130`). If a source fails on a later chunk, the earlier chunks are already in the destination. The description says destinations are unchanged on failure. The tests check that only for single-chunk inputs (`core/libs/tests/GuestIcuInvariant.cpp`, the `chars[0] == 'X'` check and the `guard - 4` check). Either state the limit in the description or check the source chunk before writing (`diff.patch:108`, `diff.patch:126`). - **Stack use.** `u_charsToUChars` and `u_UCharsToChars` each place 4 KiB and 8 KiB buffers on the stack (`diff.patch:106-107`, `diff.patch:124-125`). I did not check the guest thread stack size, so this is a question, not a defect. - **Whole-string read in `u_austrcpy`.** `ReadUnits` reads the whole source into a heap `std::u16string` before writing (`diff.patch:142`). Memory now scales with the source length, which the old loop did not. This is bounded by the source, so it is a cost, not a bug. ## Not verified - **Build and tests.** Nothing was compiled or run. The author's ctest, mutation and timing results are author-reported, not reproduced here. - **Repository checks.** `guest_pointer_audit.py` and `check_conventions.py` were not run. I did not check the claim that `Invariant.cpp` no longer appears in the audit. - **Linux guest-memory check.** `GuestWritable_nid_no_patch` on Linux goes through `HostMapping::Find` (`General.cpp` 851). I did not confirm that it sees the test's `mmap` pages, so the read-only and guard-page tests depend on that. - **Windows.** The `VirtualAlloc`, `VirtualProtect` and `VirtualFree` paths in the test were not built or checked. - **Files read.** `CMakeLists.txt` and `Invariant.cpp` were read through the diff hunks, not in full at head. The new test file was read through the diff. ## To get this to a good state Nothing is required. Optional: - State in the description that a failure on a later chunk can leave earlier chunks written, or make the source check run before the first write. - Confirm the Linux and Windows test runs on the head above.
MarcZX10 commented 2026-11-18 23:05:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-18T23:05:11Z.

Review: APPROVED


Reviewed — looks good

The reviewed change at 3831951f376193d31fa5919f0773684c1e0628ad replaces direct guest-pointer access in the four invariant conversion helpers with checked copies and adds focused guard-page tests; no concrete defect was found in the changed code.

What I ran

Read the prepared description, commits, manifest, diff, and all three changed files at the pinned head. No commands or tests were run in this review.

Results

Check Result Note
Changed code review passed All three changed files read
Build and tests not run Author-reported results were not independently run

Findings

Blocking

None.

Non-blocking

None.

Not verified

Build and test results, including the reported Linux and Windows behavior, were not independently verified. No other repository files were read.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5966619005 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22132#pullrequestreview-5966619005). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-18T23:05:11Z. **Review:** APPROVED --- # Reviewed — looks good The reviewed change at `3831951f376193d31fa5919f0773684c1e0628ad` replaces direct guest-pointer access in the four invariant conversion helpers with checked copies and adds focused guard-page tests; no concrete defect was found in the changed code. ## What I ran Read the prepared description, commits, manifest, diff, and all three changed files at the pinned head. No commands or tests were run in this review. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | All three changed files read | | Build and tests | not run | Author-reported results were not independently run | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Build and test results, including the reported Linux and Windows behavior, were not independently verified. No other repository files were read. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 17:25:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T17:25:46Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the inspected code supports merging, and the author-reported tests cover the new pointer handling.

What I ran

Reviewed head b75fb308c052fcb30260d8efcc99a9b931543e37. No commands or tests were run in this review; the test results below are author-reported.

Results

Check Result Note
Changed code review passed All three changed files read
Tests not run Author reports targeted tests passed
Mutation checks not run Author reports five mutations detected

Findings

Blocking

None.

Non-blocking

None.

Not verified

Build and test results were not independently verified. The report states the targeted CTest cases, convention check, and mutation checks passed on Arch Linux with GCC Release. Console behavior and Windows execution were not verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6062031854 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22132#pullrequestreview-6062031854). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T17:25:46Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the inspected code supports merging, and the author-reported tests cover the new pointer handling. ## What I ran Reviewed head `b75fb308c052fcb30260d8efcc99a9b931543e37`. No commands or tests were run in this review; the test results below are author-reported. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | All three changed files read | | Tests | not run | Author reports targeted tests passed | | Mutation checks | not run | Author reports five mutations detected | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Build and test results were not independently verified. The report states the targeted CTest cases, convention check, and mutation checks passed on Arch Linux with GCC Release. Console behavior and Windows execution were not verified. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 11:23:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T11:23:56Z.

Review: COMMENTED


Built the submitted invariant conversion implementation and ran GuestIcuInvariant on Linux. It passed the read-only and unmapped destination cases, chunked widening and narrowing, and the sentinel checks.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6168779094 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22132#pullrequestreview-6168779094). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T11:23:56Z. **Review:** COMMENTED --- Built the submitted invariant conversion implementation and ran `GuestIcuInvariant` on Linux. It passed the read-only and unmapped destination cases, chunked widening and narrowing, and the sentinel checks. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/22132:upstream-pr/22132'
git switch 'upstream-pr/22132'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/22132'
git switch 'upstream-pr/22132'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/22132'
git switch 'upstream-pr/22132'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/22132'
git switch 'main'
git merge --squash 'upstream-pr/22132'
git switch 'main'
git merge --ff-only 'upstream-pr/22132'
git switch 'main'
git merge 'upstream-pr/22132'
git push origin 'main'
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!22132
No description provided.