feat(libSceIcu): implement the ulist string list exports #20230

Merged
beardsciences merged 1 commit from upstream-pr/20230 into main 2026-11-14 22:07:34 +00:00
beardsciences commented 2026-11-14 21:18:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by beardsciences on 2026-11-14T21:18:49Z.


What

Fourteen libSceIcu exports are stubs that throw NotImplemented_nid_no_patch: ulist_createEmptyList, ulist_addItemEndList, ulist_addItemBeginList, ulist_containsString, ulist_removeString, ulist_getNext, ulist_getListSize, ulist_resetList, ulist_deleteList, ulist_close_keyword_values_iterator, ulist_count_keyword_values, ulist_next_keyword_value, ulist_reset_keyword_values_iterator and ulist_getListFromEnum. They are ICU's internal string list, the whole of common/ulist.cpp, under the ICU 68 names their NIDs already carry in LegacyExports.cpp.

This PR implements all fourteen in a new core/libs/prx/libSceIcu/List.cpp, with the signatures of ICU 68.2's ulist.h and the behaviour of its ulist.cpp:
github.com/unicode-org/icu@84e1f26ea7/icu4c/source/common/ulist.cpp
github.com/unicode-org/icu@84e1f26ea7/icu4c/source/common/ulist.h

The bundled 78.1 copy differs from 68.2 only in NULL/nullptr spelling.

  • A doubly linked list of borrowed or owned (forceDelete) items with one iteration position, over ICU's 32-byte UList and UListNode.
  • The four *_keyword_value* exports are the callbacks of a UEnumeration whose context is a list; they work with the uenum_* dispatch already on main, and the test drives them through it.
  • Blocks come from uprv_malloc. ICU releases them with uprv_free, which the module does not export, so Configuration.cpp gains an internal IcuReleaseMemory_nid_no_patch with uprv_free's behaviour: the function u_setMemoryFunctions installed, else the guest free, and never the zero-byte sentinel uprv_malloc(0) returns.
  • Where ICU dereferences a null pointer (a null UErrorCode, a null enumeration, a null string that a comparison reaches) the export throws. A null string that no comparison reaches is not read, as in ICU.
  • The debt fragment docs/dev/debt/changes/feat-icu-ulist.md adds a libSceIcu entry recording that nothing here is verified on a console, including the two layouts, and adds ulist_* to the implemented list of the Older callable exports entry.

List.cpp keeps ICU's copyright notice verbatim and the pinned source link at its top, as AGENTS.md now allows (#20002).

Tested

Windows 11 26200, WinLibs GCC 15.2.0, Release, Ryzen 5 5600X. Built and run at the head 69440437f4 on main 6a86d4d1a9.

  • ctest -R '^public_headers|^guest_icu': 110 of 110 pass, including the new guest_icu_list (3 of 3 runs).
  • guest_icu_list installs a tracking allocator through u_setMemoryFunctions and checks: order from both ends, the position before and after reset, containsString length and byte comparison, removeString at the head, the tail, the current position and for the first of two equal items, owned data released on removal, on delete and on every refused add, allocation failure (U_MEMORY_ALLOCATION_ERROR), the zero-byte sentinel never reaching the release function, the keyword-value enumeration through uenum_count, uenum_next and uenum_close, and that every block is released exactly once.
  • Removal checks: 26 one-line mutations of List.cpp and of the new release helper (unlinking, size, each release, each status check, each comparison), run at the head. Each one makes guest_icu_list fail; the restored build passes.
  • python tools/check_conventions.py --base origin/main with this title and description: passed. python tools/debt_fold.py --check: passed.

Not run: Linux, macOS, a console, any title. No title is known to import these exports.

Overlap

  • #14144, #14340 and #14443 (the stacked data-free ICU 68 series) also define these fourteen exports among several hundred others; all three are labelled needs rebase. No other open PR names or adds a ulist_* export (searched open PRs by name and checked the diff of every open PR that touches libSceIcu).
  • This PR removes fourteen stubs from LegacyExports.cpp and their declarations from include/LegacyExports.hpp, appends to CMakeLists.txt and changes the debt file only through its fragment; other open libSceIcu PRs touch the same three source files at other lines.

Checklist

  • Based on current main; no other open PR implements the same functions (see Overlap for the stacked series)
  • 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:5316291173 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/20230). Originally posted by [beardsciences](https://github.com/beardsciences) on 2026-11-14T21:18:49Z. --- ### What Fourteen libSceIcu exports are stubs that throw `NotImplemented_nid_no_patch`: `ulist_createEmptyList`, `ulist_addItemEndList`, `ulist_addItemBeginList`, `ulist_containsString`, `ulist_removeString`, `ulist_getNext`, `ulist_getListSize`, `ulist_resetList`, `ulist_deleteList`, `ulist_close_keyword_values_iterator`, `ulist_count_keyword_values`, `ulist_next_keyword_value`, `ulist_reset_keyword_values_iterator` and `ulist_getListFromEnum`. They are ICU's internal string list, the whole of `common/ulist.cpp`, under the ICU 68 names their NIDs already carry in `LegacyExports.cpp`. This PR implements all fourteen in a new `core/libs/prx/libSceIcu/List.cpp`, with the signatures of ICU 68.2's `ulist.h` and the behaviour of its `ulist.cpp`: https://github.com/unicode-org/icu/blob/84e1f26ea77152936e70d53178a816dbfbf69989/icu4c/source/common/ulist.cpp https://github.com/unicode-org/icu/blob/84e1f26ea77152936e70d53178a816dbfbf69989/icu4c/source/common/ulist.h The bundled 78.1 copy differs from 68.2 only in `NULL`/`nullptr` spelling. - A doubly linked list of borrowed or owned (`forceDelete`) items with one iteration position, over ICU's 32-byte `UList` and `UListNode`. - The four `*_keyword_value*` exports are the callbacks of a `UEnumeration` whose context is a list; they work with the `uenum_*` dispatch already on `main`, and the test drives them through it. - Blocks come from `uprv_malloc`. ICU releases them with `uprv_free`, which the module does not export, so `Configuration.cpp` gains an internal `IcuReleaseMemory_nid_no_patch` with `uprv_free`'s behaviour: the function `u_setMemoryFunctions` installed, else the guest `free`, and never the zero-byte sentinel `uprv_malloc(0)` returns. - Where ICU dereferences a null pointer (a null `UErrorCode`, a null enumeration, a null string that a comparison reaches) the export throws. A null string that no comparison reaches is not read, as in ICU. - The debt fragment `docs/dev/debt/changes/feat-icu-ulist.md` adds a libSceIcu entry recording that nothing here is verified on a console, including the two layouts, and adds `ulist_*` to the implemented list of the Older callable exports entry. `List.cpp` keeps ICU's copyright notice verbatim and the pinned source link at its top, as AGENTS.md now allows (#20002). ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Windows 11 26200, WinLibs GCC 15.2.0, Release, Ryzen 5 5600X. Built and run at the head `69440437f4` on `main` `6a86d4d1a9`. - `ctest -R '^public_headers|^guest_icu'`: 110 of 110 pass, including the new `guest_icu_list` (3 of 3 runs). - `guest_icu_list` installs a tracking allocator through `u_setMemoryFunctions` and checks: order from both ends, the position before and after reset, `containsString` length and byte comparison, `removeString` at the head, the tail, the current position and for the first of two equal items, owned data released on removal, on delete and on every refused add, allocation failure (`U_MEMORY_ALLOCATION_ERROR`), the zero-byte sentinel never reaching the release function, the keyword-value enumeration through `uenum_count`, `uenum_next` and `uenum_close`, and that every block is released exactly once. - Removal checks: 26 one-line mutations of `List.cpp` and of the new release helper (unlinking, size, each release, each status check, each comparison), run at the head. Each one makes `guest_icu_list` fail; the restored build passes. - `python tools/check_conventions.py --base origin/main` with this title and description: passed. `python tools/debt_fold.py --check`: passed. Not run: Linux, macOS, a console, any title. No title is known to import these exports. ### Overlap - #14144, #14340 and #14443 (the stacked data-free ICU 68 series) also define these fourteen exports among several hundred others; all three are labelled `needs rebase`. No other open PR names or adds a `ulist_*` export (searched open PRs by name and checked the diff of every open PR that touches libSceIcu). - This PR removes fourteen stubs from `LegacyExports.cpp` and their declarations from `include/LegacyExports.hpp`, appends to `CMakeLists.txt` and changes the debt file only through its fragment; other open libSceIcu PRs touch the same three source files at other lines. ### 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 (see Overlap for the stacked series) - [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-14 21:27:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T21:27:03Z.

Review: CHANGES_REQUESTED


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

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: guest_icu_list_tests built cleanly.
  • CTest (guest_icu_list):
    1/1 Test #3456: guest_icu_list ...................   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceIcu/Configuration.cpp, core/libs/prx/libSceIcu/Configuration.hpp, core/libs/prx/libSceIcu/LegacyExports.cpp, core/libs/prx/libSceIcu/include/LegacyExports.hpp, core/libs/prx/libSceIcu/libSceIcu.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • core/libs/prx/libSceIcu/List.cpp: verified ulist_createEmptyList_nid_postfix correctly validates status with Icu::Failure, zero-initializes struct members (head, tail, current, size), and sets MemoryAllocationError (7) when allocation fails.
    • core/libs/prx/libSceIcu/List.cpp: verified doubly linked list pointer updates in ulist_addItemEndList_nid_postfix and ulist_addItemBeginList_nid_postfix for both empty (size == 0) and non-empty lists.
    • core/libs/prx/libSceIcu/List.cpp: verified iteration state handling in ulist_getNext_nid_postfix and ulist_resetList_nid_postfix, including NULL checks on list and current pointers.
    • core/libs/prx/libSceIcu/List.cpp: verified enumeration callbacks (ulist_count_keyword_values_nid_postfix, ulist_next_keyword_value_nid_postfix, ulist_reset_keyword_values_iterator_nid_postfix) correctly check incoming status failure and handle resultLength writing.
    • core/libs/prx/libSceIcu/List.hpp: verified struct layout size static assertions (sizeof(UListNode) == 32 and sizeof(UList) == 32).
    • core/libs/prx/libSceIcu/LegacyExports.cpp and include/LegacyExports.hpp: verified removal of replaced ulist_* stubs and AGENTS.md rule compliance regarding code comments.
  • Concerns:
    • core/libs/prx/libSceIcu/List.cpp:106: In ulist_containsString_nid_postfix, the loop condition 'if (length < 0 || static_caststd::size_t(length) != std::strlen(static_cast<const char*>(node->data))) continue;' immediately skips all nodes when length < 0. In ICU specification and upstream ulist.cpp, length == -1 denotes a null-terminated string compared with strcmp. Searching for an item with length = -1 (e.g. ulist_containsString_nid_postfix(list, "alpha", -1) where "alpha" is in list) returns 0 instead of 1. Additionally, when length >= 0, ICU checks prefix matching using strncmp without requiring std::strlen(node->data) == length.
    • core/libs/prx/libSceIcu/List.hpp:26: ulist_removeString_nid_postfix is declared as returning std::int8_t, and List.cpp:114 implements it returning 1 or 0 while deallocating node->data when forceDelete is true. Upstream ICU 68.2's ulist.h defines 'void * ulist_removeString(UList *list, const char *data)', returning the pointer to the removed data (or NULL) while transferring data ownership to the caller without releasing it. This signature mismatch breaks the PRX ABI contract for callers expecting a 64-bit data pointer in RAX and leads to double-free or memory corruption when callers attempt to manage the returned pointer.
    • core/libs/prx/libSceIcu/List.cpp:173: In ulist_getListFromEnum_nid_postfix, ListOf(enumeration) throws APS5_INVALID_ARG_EX when enumeration is nullptr. Upstream ICU 68.2's ulist_getListFromEnum explicitly guards 'if (en != NULL) return (UList *)(en->context); return NULL;'. It does not dereference en and returns nullptr, so throwing an exception on a null enumeration violates library behavior.
    • core/libs/prx/libSceIcu/Configuration.cpp:110: In IcuReleaseMemory_nid_no_patch, 'if (memory != ZeroMemory) Release(memory);' evaluates to true when memory == nullptr because ZeroMemory is a non-null static buffer address. When data == nullptr and forceDelete != 0, List.cpp:39 calls IcuReleaseMemory_nid_no_patch(nullptr), which calls functions.release(functions.context, nullptr). Upstream ICU cmemory.cpp explicitly checks 'if (mem != NULL && mem != &zeroMem)' before calling user-registered free callbacks; passing nullptr violates callback expectations.
  • Note: the AI-assisted checkbox can stay.

Requesting changes for the points above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5907231986 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/20230#pullrequestreview-5907231986). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T21:27:03Z. **Review:** CHANGES_REQUESTED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `69440437f4`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `guest_icu_list_tests` built cleanly. - **CTest** (`guest_icu_list`): ``` 1/1 Test #3456: guest_icu_list ................... Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceIcu/Configuration.cpp`, `core/libs/prx/libSceIcu/Configuration.hpp`, `core/libs/prx/libSceIcu/LegacyExports.cpp`, `core/libs/prx/libSceIcu/include/LegacyExports.hpp`, `core/libs/prx/libSceIcu/libSceIcu.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - core/libs/prx/libSceIcu/List.cpp: verified ulist_createEmptyList_nid_postfix correctly validates status with Icu::Failure, zero-initializes struct members (head, tail, current, size), and sets MemoryAllocationError (7) when allocation fails. - core/libs/prx/libSceIcu/List.cpp: verified doubly linked list pointer updates in ulist_addItemEndList_nid_postfix and ulist_addItemBeginList_nid_postfix for both empty (size == 0) and non-empty lists. - core/libs/prx/libSceIcu/List.cpp: verified iteration state handling in ulist_getNext_nid_postfix and ulist_resetList_nid_postfix, including NULL checks on list and current pointers. - core/libs/prx/libSceIcu/List.cpp: verified enumeration callbacks (ulist_count_keyword_values_nid_postfix, ulist_next_keyword_value_nid_postfix, ulist_reset_keyword_values_iterator_nid_postfix) correctly check incoming status failure and handle resultLength writing. - core/libs/prx/libSceIcu/List.hpp: verified struct layout size static assertions (sizeof(UListNode) == 32 and sizeof(UList) == 32). - core/libs/prx/libSceIcu/LegacyExports.cpp and include/LegacyExports.hpp: verified removal of replaced ulist_* stubs and AGENTS.md rule compliance regarding code comments. - **Concerns**: - core/libs/prx/libSceIcu/List.cpp:106: In ulist_containsString_nid_postfix, the loop condition 'if (length < 0 || static_cast<std::size_t>(length) != std::strlen(static_cast<const char*>(node->data))) continue;' immediately skips all nodes when length < 0. In ICU specification and upstream ulist.cpp, length == -1 denotes a null-terminated string compared with strcmp. Searching for an item with length = -1 (e.g. ulist_containsString_nid_postfix(list, "alpha", -1) where "alpha" is in list) returns 0 instead of 1. Additionally, when length >= 0, ICU checks prefix matching using strncmp without requiring std::strlen(node->data) == length. - core/libs/prx/libSceIcu/List.hpp:26: ulist_removeString_nid_postfix is declared as returning std::int8_t, and List.cpp:114 implements it returning 1 or 0 while deallocating node->data when forceDelete is true. Upstream ICU 68.2's ulist.h defines 'void * ulist_removeString(UList *list, const char *data)', returning the pointer to the removed data (or NULL) while transferring data ownership to the caller without releasing it. This signature mismatch breaks the PRX ABI contract for callers expecting a 64-bit data pointer in RAX and leads to double-free or memory corruption when callers attempt to manage the returned pointer. - core/libs/prx/libSceIcu/List.cpp:173: In ulist_getListFromEnum_nid_postfix, ListOf(enumeration) throws APS5_INVALID_ARG_EX when enumeration is nullptr. Upstream ICU 68.2's ulist_getListFromEnum explicitly guards 'if (en != NULL) return (UList *)(en->context); return NULL;'. It does not dereference en and returns nullptr, so throwing an exception on a null enumeration violates library behavior. - core/libs/prx/libSceIcu/Configuration.cpp:110: In IcuReleaseMemory_nid_no_patch, 'if (memory != ZeroMemory) Release(memory);' evaluates to true when memory == nullptr because ZeroMemory is a non-null static buffer address. When data == nullptr and forceDelete != 0, List.cpp:39 calls IcuReleaseMemory_nid_no_patch(nullptr), which calls functions.release(functions.context, nullptr). Upstream ICU cmemory.cpp explicitly checks 'if (mem != NULL && mem != &zeroMem)' before calling user-registered free callbacks; passing nullptr violates callback expectations. - Note: the AI-assisted checkbox can stay. Requesting changes for the points above.
PrivacyOnion commented 2026-11-14 21:46:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T21:46:56Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: guest_icu_list_tests built cleanly.
  • CTest (guest_icu_list):
    1/1 Test #3456: guest_icu_list ...................   Passed    0.06 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceIcu/Configuration.cpp, core/libs/prx/libSceIcu/Configuration.hpp, core/libs/prx/libSceIcu/LegacyExports.cpp, core/libs/prx/libSceIcu/include/LegacyExports.hpp, core/libs/prx/libSceIcu/libSceIcu.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • core/libs/prx/libSceIcu/List.cpp (ulist_createEmptyList_nid_postfix, NewNode, ulist_addItemEndList_nid_postfix, ulist_addItemBeginList_nid_postfix): Verified pre-existing status check via Icu::Failure, U_MEMORY_ALLOCATION_ERROR (7) on malloc failure, forceDelete deallocation on rejected insertion, and bidirectional pointer linkage on both empty and non-empty list states.
    • core/libs/prx/libSceIcu/List.cpp (ulist_containsString_nid_postfix, ulist_removeString_nid_postfix, Remove): Verified length comparisons against std::strlen, handling of negative length, zero length, null data reaching comparison triggering APS5_INVALID_ARG_EX, and proper relinking of head, tail, and current pointer during node removal.
    • core/libs/prx/libSceIcu/Configuration.cpp & List.cpp (IcuReleaseMemory_nid_no_patch, ulist_deleteList_nid_postfix): Verified memory release behavior routing through installed memory functions or guest free while correctly skipping the ZeroMemory zero-byte sentinel, with no leaks of owned payload buffers.
    • core/libs/prx/libSceIcu/List.cpp (ulist_close_keyword_values_iterator_nid_postfix, ulist_count_keyword_values_nid_postfix, ulist_next_keyword_value_nid_postfix, ulist_reset_keyword_values_iterator_nid_postfix, ulist_getListFromEnum_nid_postfix): Verified UEnumeration context dispatch via ListOf, including null enumeration checks, null resultLength handling, and enumeration without list context handling.
    • core/libs/prx/libSceIcu/List.hpp, CMakeLists.txt, LegacyExports.cpp, and docs/dev/debt/changes/feat-icu-ulist.md: Verified 32-byte layout static assertions for UListNode and UList across LP64/LLP64, removal of all 14 stubs from LegacyExports, technical debt fragment formatting, and adherence to AGENTS.md rules regarding code comments and upstream license notices.
  • Note: the AI-assisted checkbox can stay.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5907299554 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/20230#pullrequestreview-5907299554). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T21:46:56Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `69440437f4`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `guest_icu_list_tests` built cleanly. - **CTest** (`guest_icu_list`): ``` 1/1 Test #3456: guest_icu_list ................... Passed 0.06 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceIcu/Configuration.cpp`, `core/libs/prx/libSceIcu/Configuration.hpp`, `core/libs/prx/libSceIcu/LegacyExports.cpp`, `core/libs/prx/libSceIcu/include/LegacyExports.hpp`, `core/libs/prx/libSceIcu/libSceIcu.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - core/libs/prx/libSceIcu/List.cpp (ulist_createEmptyList_nid_postfix, NewNode, ulist_addItemEndList_nid_postfix, ulist_addItemBeginList_nid_postfix): Verified pre-existing status check via Icu::Failure, U_MEMORY_ALLOCATION_ERROR (7) on malloc failure, forceDelete deallocation on rejected insertion, and bidirectional pointer linkage on both empty and non-empty list states. - core/libs/prx/libSceIcu/List.cpp (ulist_containsString_nid_postfix, ulist_removeString_nid_postfix, Remove): Verified length comparisons against std::strlen, handling of negative length, zero length, null data reaching comparison triggering APS5_INVALID_ARG_EX, and proper relinking of head, tail, and current pointer during node removal. - core/libs/prx/libSceIcu/Configuration.cpp & List.cpp (IcuReleaseMemory_nid_no_patch, ulist_deleteList_nid_postfix): Verified memory release behavior routing through installed memory functions or guest free while correctly skipping the ZeroMemory zero-byte sentinel, with no leaks of owned payload buffers. - core/libs/prx/libSceIcu/List.cpp (ulist_close_keyword_values_iterator_nid_postfix, ulist_count_keyword_values_nid_postfix, ulist_next_keyword_value_nid_postfix, ulist_reset_keyword_values_iterator_nid_postfix, ulist_getListFromEnum_nid_postfix): Verified UEnumeration context dispatch via ListOf, including null enumeration checks, null resultLength handling, and enumeration without list context handling. - core/libs/prx/libSceIcu/List.hpp, CMakeLists.txt, LegacyExports.cpp, and docs/dev/debt/changes/feat-icu-ulist.md: Verified 32-byte layout static assertions for UListNode and UList across LP64/LLP64, removal of all 14 stubs from LegacyExports, technical debt fragment formatting, and adherence to AGENTS.md rules regarding code comments and upstream license notices. - Note: the AI-assisted checkbox can stay. Looks Good To Me
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!20230
No description provided.