feat(libSceIcu): implement the uhash hash table exports #20373
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/20373"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by beardsciences on 2026-11-15T03:09:13Z.
What
Thirty-eight libSceIcu
uhash_*exports are stubs that throwNotImplemented_nid_no_patch: ICU's internal hash table (common/uhash.cpp, plusuhash_deleteHashtablefromuhash_us.cpp), under the ICU 68 names their NIDs already carry inLegacyExports.cpp. The three string hashes they use,ustr_hashUCharsN,ustr_hashCharsNandustr_hashICharsN, were part of this PR until #23859 implemented them onmain(StringHash.cpp); the hash functions here now call those.This PR implements all thirty-eight in a new
core/libs/prx/libSceIcu/HashTable.cpp, with the signatures and layouts of ICU 68.2'suhash.hand the behaviour of itsuhash.cpp:github.com/unicode-org/icu@84e1f26ea7/icu4c/source/common/uhash.cppgithub.com/unicode-org/icu@84e1f26ea7/icu4c/source/common/uhash.hUHashtableand 24-byteUHashElement; tables opened by the module or filled in caller storage (uhash_init,uhash_initSize).uhash_putianduhash_iputistore a zero value as ICU 68 does. ICU 70 changed this to remove the key and addeduhash_putiAllowZero; the module exports no ICU 70uhash_*name, so it follows 68.uhash_deleteHashtablecloses and frees an ICU 68icu::Hashtable(a table pointer followed by the embedded table, no virtual table;deletegoes touprv_free).uprv_mallocand go back throughIcuReleaseMemory_nid_no_patch(from #20230), sou_setMemoryFunctionsapplies.uhash_hashUnicodeString,uhash_compareUnicodeString,uhash_hashCaselessUnicodeStringanduhash_compareCaselessUnicodeString, which read a guesticu::UnicodeString; no layout for it is defined in the module yet.docs/dev/debt/changes/feat-icu-uhash.mdadds a libSceIcu entry recording that nothing here is verified on a console.Matches ICU on purpose. Reviews have raised these three points more than once. Each is how ICU behaves, so the PR keeps it, and
guest_icu_hashpins it:primeIndexat the new index. ICU's_uhash_allocatesetsprimeIndexandlengthbeforeuprv_malloc, and_uhash_rehashputs back onlyelementsandlength(L222-L231, L414-L420). The bundled ICU 78.1, with its allocator failed throughu_setMemoryFunctionsat 64 entries, reportslength=127 primeIndex=5after the failure and grows to 509 on the next put; the PR gives the same numbers (probe).uhash_equalsreads the value of the slot the lookup returns without checking it. ICU does the same (L915-L916); the lookup never returns null, since an absent key lands on an empty or deleted slot (L372-L382). Returning false there would change the result for value comparators that accept an empty value (reply).UHashTokis a plain union and ICU does not record which member was written, and_uhash_setElementcalls the deleter on a nonzerooldValue.pointerthat differs from the new value whenever a deleter is set (L144-L159); a side-by-side run against the bundled ICU gave identical traces (comparison).HashTable.cppkeeps ICU's copyright notice verbatim and the pinned source links at its top, as AGENTS.md allows (#20002).Tested
Windows 11 26200, WinLibs GCC 15.2.0, Release, Ryzen 5 5600X. Built and run at the head
9f0ed84cdaonmainecd019f601. After mergingmain0626a8334f(which brought #23859) asbccc109957:ctest -R 'icu|public_header'144 of 144 pass, includingguest_icu_hashand #23859'sguest_icu_availability. After mergingmainagain as52db32b1d5:ctest -R '^public_headers|^guest_icu'153 of 153 pass. After mergingmain7f99fbd60das1650f73fe7(conflicts with neighbouring stubs thatmainremoved, and with a test block inCMakeLists.txt; both sides kept):ctest -R '^public_headers|icu'161 of 161 pass.ctest -R '^public_headers|^guest_icu': 112 of 112 pass, including the newguest_icu_hash(3 of 3 runs).guest_icu_hashis differential where it can be: a second file in the test drives the bundled ICU 78.1uhashwith the same operations. For string, caseless string and integer keys under each resize policy, 6,000 random puts, removes and gets give the same return values and statuses as ICU, and every slot (position, stored hash, value) and the table length match ICU's at regular checkpoints. The three string hashes and three string comparators match ICU on 400 random strings, with explicit, shorter, zero and negative lengths. Only nonzero values are used there, since ICU 78 removes on zero.u_setMemoryFunctions: pointer values keep all 64 bits, a null value removes, zero integer values are stored, key and value deleters run on replace, remove,removeAll, close and every refused put,find,nextElement,removeElement, growth and shrinking, a fixed table refusing its last slot, caller storage (initoverwrites a dirty table; close does not free it),uhash_deleteHashtable,uhash_equals, a failed table or element allocation, a failed growth keeping the old elements, set errors and warnings, the throwing cases, and that every block is released exactly once.HashTable.cpp(each deleter call, each status write, each probe and rehash step, each water mark, each comparison and hash step), run at the head. 72 makeguest_icu_hashfail. The one left removes thebreakat an empty slot, after which the probe still settles on that slot, so no result can change. The restored build passes.python tools/check_conventions.py --base origin/mainwith this title and description: passed.python tools/debt_fold.py --checkfails onmainwith and without this PR, on the pendingfeat-icu-ulist.mdfragment (#18203 left two "Older callable exports" entries; #20282 merges them). With that fragment set aside, this PR's fragment applies.Not run: Linux, macOS, a console, any title. No title is known to import these exports.
Overlap
needs rebase. No other open PR names or adds auhash_*export (searched open PRs by name and checked the diff of every open PR that touches libSceIcu). #19951 implementsuprv_asciitolower, soHashTable.cpplowercases ASCII with a private helper instead of exporting it.LegacyExports.cppand their declarations frominclude/LegacyExports.hpp, adds one source line and appends a test block toCMakeLists.txt, and changes the debt file only through its fragment; other open libSceIcu PRs touch the same three files at other lines.Checklist
main; no other open PR implements the same functions (see Overlap for the stacked series)NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T03:45:28Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the implementation and tests I inspected support merging, with console behavior still unverified.
What I ran
Reviewed head
59c9846008f69ab5b70d9de20dffdbf061f5bef3. No commands or tests were run. The description reports Windows 11 26200, WinLibs GCC 15.2.0, Release tests at a different head; those results were not independently run here.Read the prepared description, commits, manifest and diff, plus all nine changed files:
core/libs/prx/libSceIcu/CMakeLists.txt,HashTable.cpp,HashTable.hpp,LegacyExports.cpp,include/LegacyExports.hpp,libSceIcu.hpp,core/libs/tests/GuestIcuHash.cpp,GuestIcuHashReference.cpp, anddocs/dev/debt/changes/feat-icu-uhash.md. No changed files were excluded.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
I did not run the tests or build, verify ABI behavior on a console, or check behavior in titles. The description also reports the debt fold check fails on the base due to an unrelated pending fragment; I did not run that check.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-15T04:56:22Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
59c9846008:tools/check_conventions.pypassed;git diff --checkclean.guest_icu_hash_testsbuilt cleanly.guest_icu_hash):core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-15T10:01:48Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
c330625a41:tools/check_conventions.pypassed;git diff --checkclean.guest_icu_hash_testsbuilt cleanly.guest_icu_hash):core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.hash1->valueComparator(element->value, Lookup(hash2, element->key)->value). If element->key does not exist in hash2, Lookup returns an empty or deleted slot whose value is default-initialized to 0. The function does not verify whether the found slot is empty or deleted (IS_EMPTY_OR_DELETED). For tables storing integer value 0 (e.g. via uhash_puti), comparing two tables with disjoint keys such as hash1={"k1": 0} and hash2={"k2": 0} evaluates valueComparator(0, 0), which returns true under uhash_compareLong, causing uhash_equals_nid_postfix to incorrectly return 1 (equal).Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T19:17:34Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: add the guest export registrations for the implemented functions so their NIDs resolve to these implementations.
What I ran
Reviewed head
a41de98b086daeb0bdd8b07e09e3d095816aec41from the prepared diff and pinned repository reader. No commands or tests were run.Results
Findings
Blocking
HashTable.cppdefines the newuhash_*andustr_hash*Nfunctions, but none of them are registered withAPS5_EXPORT. The existing export mechanism uses those registrations to map guest NIDs to functions; the corresponding stubs and declarations were removed from the legacy files, and the new declarations inHashTable.hppalone do not register exports. As a result, guest imports cannot resolve these implementations. Add registrations for the implemented exports. Evidence:core/libs/prx/libSceIcu/HashTable.cpp:289andcore/libs/prx/libSceIcu/HashTable.cpp:527; the changed lines incore/libs/prx/libSceIcu/LegacyExports.cppremove the prior implementations.Non-blocking
None.
Not verified
The author reports Windows tests and mutation checks, but I did not run them. Linux, macOS, console behavior, and title imports were not verified. Reviewed changed files:
core/libs/prx/libSceIcu/CMakeLists.txt,core/libs/prx/libSceIcu/HashTable.cpp,core/libs/prx/libSceIcu/HashTable.hpp,core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hpp,core/libs/tests/GuestIcuHash.cpp,core/libs/tests/GuestIcuHashReference.cpp, anddocs/dev/debt/changes/feat-icu-uhash.md. No changed files were excluded from review.To get this to a good state
Register each newly implemented export with the project’s NID export mechanism, then rerun the build and guest ICU hash tests on the updated head.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-15T21:00:49Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
a41de98b08:tools/check_conventions.pypassed;git diff --checkclean.guest_icu_hash_testsbuilt cleanly.guest_icu_hash):core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-18T12:39:32Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
c74f8dc9a4:tools/check_conventions.pypassed.guest_icu_hash_testsbuilt cleanly.guest_icu_hash):core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hpp,core/libs/prx/libSceIcu/HashTable.cppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-18T12:54:36Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: fix the failed-growth rehash path so the table retains its original metadata and count.
What I ran
Reviewed head
c74f8dc9a4a16733cecd42c4fb717b86d46c80d8using the prepared diff and the pinned reader. No commands or tests were run by me; the Windows test and mutation results below are author-reported.Read the changed files listed as included in the manifest:
core/libs/prx/libSceIcu/CMakeLists.txt,HashTable.cpp,HashTable.hpp,LegacyExports.cpp,include/LegacyExports.hpp,libSceIcu.hpp,core/libs/tests/GuestIcuHash.cpp,GuestIcuHashReference.cpp, anddocs/dev/debt/changes/feat-icu-uhash.md. Also read focused context fromConfiguration.cpp. No changed file was excluded by the manifest.Results
Findings
Blocking
core/libs/prx/libSceIcu/HashTable.cpp:111: When rehash allocation fails,Allocatehas already overwrittenprimeIndex,count, and water marks before returning.Rehashrestores onlyelementsandlength(HashTable.cpp:199-203), leaving the existing table with count zero and metadata for the failed target size. The current put then sees the error and returns, while all entries remain physically present but become invisible to count/iteration and later resizing. Preserve and restore all mutated metadata on allocation failure.Non-blocking
None.
Not verified
I did not run tests or independently verify the author-reported test, build, or mutation results. Linux, macOS, console ABI/behavior, and title imports were not verified.
To get this to a good state
Restore the original table metadata when growth allocation fails, then rerun the allocation-failure and failed-growth checks in
guest_icu_hashon the updated head.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T06:27:44Z.
Review: COMMENTED
Reviewed — comments
Changes are not required before merge; one optional verification point is listed below.
What I ran
Reviewed head
9539a70b965347f379a5c4513cbe2faea2f232a6using the prepared diff and repository readerrepo_read.py; no commands or tests were run.Results
Findings
Blocking
None.
Non-blocking
Not verified
No tests, build, Linux/macOS run, console run, or title run was performed in this review. The description reports Windows 11/GCC 15.2 test and mutation results; these were not independently run. Read:
CMakeLists.txt,HashTable.cpp,HashTable.hpp,LegacyExports.cpp,GuestIcuHash.cpp,GuestIcuHashReference.cpp, and the ICU debt fragment. All seven changed files listed in the manifest were read. No exclusions were listed in the manifest.To get this to a good state
Nothing is required. The author may add console or title verification when available.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T14:55:35Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
548f31cce2:tools/check_conventions.pypassed.guest_icu_hash_testsbuilt cleanly.guest_icu_hash):core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hpp,core/libs/prx/libSceIcu/HashTable.cppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T15:08:14Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: fix integer-value deleter handling and full-cycle probing so these exports preserve table semantics.
What I ran
Reviewed head
548f31cce238dada2ee3dc36447317d54d72bd34usingrepo_read.py-backed review tools. No tests or build commands were run in this session; the description reports Windows 11 test results at a different head.Read
review/description.md,review/commits.md,review/manifest.json, andreview/diff.patch. Read the changedHashTable.cppranges 1–69, 70–140, 138–290, 320–405 and the relevant changed test hunks indiff.patch. The reader did not exposereview/files/orreview/files.json; other changed-file contents were inspected only where shown in the patch.Results
Findings
Blocking
core/libs/prx/libSceIcu/HashTable.cpp:85:SetElementcalls the value deleter througholdValue.pointerregardless of whether the old value was stored as an integer.uhash_putianduhash_iputicreate integer tokens, so replacing an integer value or removing/closing an entry with a value deleter installed can invoke that deleter with an integer reinterpreted as a pointer. Preserve the token kind and only call the value deleter for pointer-valued entries.core/libs/prx/libSceIcu/HashTable.cpp:182: When probing completes a full cycle,tableHashstill refers to the final slot visited, rather than the starting slot. If that final slot is deleted,firstDeletedis set and the function returns a reusable slot even though the table has no empty slot. This bypasses the full-table failure path and can permit insertion into a table state the implementation explicitly intends to reject. Track whether an empty slot was actually encountered, and handle full-cycle exhaustion directly.Non-blocking
None.
Not verified
9f0ed84cda, not the reviewed head.To get this to a good state
Fix both blocking issues and rerun the reported ICU hash test suite on the updated head, including cases with integer values and a value deleter, and a full-cycle probe with a deleted slot.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T23:40:56Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
bccc109957:tools/check_conventions.pypassed.guest_icu_hash_testsbuilt cleanly.guest_icu_hash):core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hpp,core/libs/prx/libSceIcu/HashTable.cppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T23:42:50Z.
Review: COMMENTED
Reviewed — comments
The implementation is substantial and has focused differential tests, but a remaining edge case in
uhash_equalscan dereference a null element when the tables do not share the same key semantics.What I ran
Reviewed head
bccc109957440e1e648eed8df0493939c65e9fd8using the prepared diff andrepo_read.pyat the pinned head. No build or tests were run; the test results in the description are author-reported.Results
Findings
Blocking
None.
Non-blocking
core/libs/prx/libSceIcu/HashTable.cpp:517:uhash_equalscompares each key fromhash1by looking it up inhash2, then immediately reads the returned element’s value. If the tables have the same count and comparator pointers but different key hashers, or otherwise contain different keys,Lookupcan return an empty slot and this dereference is invalid. Check the lookup result’s hash code before reading its value and return false when the key is absent; add a test with equal counts and shared value/key comparator pointers but different keys or hashers.Not verified
No build, tests, sanitizer run, console ABI check, or title behavior was verified here. The change’s stated Windows test results are author-reported. All changed files were included in the prepared review folder and read:
core/libs/prx/libSceIcu/CMakeLists.txt,HashTable.cpp,HashTable.hpp,LegacyExports.cpp,include/LegacyExports.hpp,libSceIcu.hpp,core/libs/tests/GuestIcuHash.cpp,GuestIcuHashReference.cpp, anddocs/dev/debt/changes/feat-icu-uhash.md. No files were excluded per the manifest.To get this to a good state
Nothing is required. Consider adding a regression test for equality when a key in one table is absent from the other.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-21T16:45:40Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
b4a84c3136:tools/check_conventions.pypassed.guest_icu_hash_testsbuilt cleanly.guest_icu_hash):core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hpp,core/libs/prx/libSceIcu/HashTable.cppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T04:18:34Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
b4a84c3136cb3dc64e5cb7abcc0ddf16c742a099using the prepared diff andrepo_read.pyat the pinned head. No commands or tests were run; the test results below are author-reported.Results
Findings
Blocking
None.
Non-blocking
Not verified
No checks were run in this review, and console behavior, Linux/macOS builds, and title compatibility were not verified. Read the prepared description, commits, manifest and diff, plus
HashTable.cpp,HashTable.hpp,libSceIcu.hpp,GuestIcuHash.cpp,GuestIcuHashReference.cpp, and the debt fragment throughrepo_read.py.CMakeLists.txt,LegacyExports.cpp, andinclude/LegacyExports.hppwere inspected only in the prepared diff; their full contents were not read. No excluded files were identified in the manifest entries inspected.To get this to a good state
Nothing is required. Optional: verify ABI and behavior on a console when available.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-22T07:56:32Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
52db32b1d5:tools/check_conventions.pypassed.guest_icu_hash_testsbuilt cleanly.guest_icu_hash):core/libs/prx/libSceIcu/LegacyExports.cpp,core/libs/prx/libSceIcu/include/LegacyExports.hpp,core/libs/prx/libSceIcu/libSceIcu.hpp,core/libs/prx/libSceIcu/HashTable.cppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T08:16:20Z.
Review: DISMISSED
Reviewed — changes requested
Changes are required before merge: restore resize metadata after a failed rehash and correct the test that currently expects the inconsistent state.
What I ran
52db32b1d5ad2b184394e21f8a68105bb2e2705eusing the prepared diff andrepo_read.py.Results
Findings
Blocking
core/libs/prx/libSceIcu/HashTable.cpp:199:Allocateupdateshash->primeIndexbefore allocating. On allocation failure,Rehashrestoreselementsandlengthbut leaves the new index in place (HashTable.cpp:200-203). The table then reports an index for a capacity it does not have; a later growth attempt advances from that index and skips a prime size. Restore the previousprimeIndexon failure. The test currently asserts the inconsistent index after failed growth (core/libs/tests/GuestIcuHash.cpp:451) and should instead check that it remains consistent with the retained capacity. Pinned sourceNon-blocking
Not verified
HashTable.cpp,HashTable.hpp,GuestIcuHash.cpp,GuestIcuHashReference.cpp, and the debt fragment; the changed include/source excerpts ofCMakeLists.txtandlibSceIcu.hpp; and the opening excerpts ofLegacyExports.cppandinclude/LegacyExports.hpp. The changed legacy-export deletions were inspected in the diff, but not verified against their full head files. The manifest lists nine changed files; full changed-file text was reviewed for seven.To get this to a good state
guest_icu_hashtests on the new head.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-24T23:31:34Z.
Review: COMMENTED
Reviewed — comments
This review covers the implementation diff at head
1650f73fe70a14456c45e7240b72e50a76ff2df4; I did not run checks and did not inspect every changed file, so a formal approval is not justified.What I ran
HashTable.cppandHashTable.hppchanges in the diff. Other changed files were not read.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
No specific code change requested from the inspected portion.
Not verified
The changed
CMakeLists.txt,LegacyExports.cpp,include/LegacyExports.hpp,libSceIcu.hpp,GuestIcuHash.cpp,GuestIcuHashReference.cppand debt fragment were not read. No tests or build were run. The PR description reports Windows test results, but those results were not independently verified. No files were excluded by the prepared manifest.To get this to a good state
Nothing is required. Optional: inspect the remaining changed files and run the reported checks before making a formal decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T22:21:58Z.
Review: COMMENTED
Reviewed — no blocking findings
The implementation and its focused test setup were inspected, but the review is incomplete, so a formal approval is not justified.
What I ran
Inspected the prepared diff and repository files at head
3597d9c56bc6d3e39c0cbc7d65dec83870c184a4using the review reader. No commands or tests were run.Results
Negative control
Not run.
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Sources
Inspected the prepared diff and pinned-head repository files through
repo_read.py.Not verified
The full test body in
GuestIcuHash.cpp, the complete changed deletions inLegacyExports.cppandinclude/LegacyExports.hpp, and the referenced repository exclusions were not fully inspected. Tests, builds, and console behavior were not verified. Read:CMakeLists.txt,HashTable.cpp,HashTable.hpp,libSceIcu.hpp,GuestIcuHash.cpp(lines 1–150),GuestIcuHashReference.cpp, and the debt fragment; also inspected the prepared diff, description, commits, and manifest. The changed export files were reviewed through diff excerpts only.To get this to a good state
Nothing is required. Optional: complete inspection of the unread changed lines and run the focused test suite before requesting approval.