From 63c2093c498c6c9bd00b2c090857ed27e9d7af2a Mon Sep 17 00:00:00 2001 From: Miguel Cox Caballero <75581010+miguelcoxcaballero@users.noreply.github.com> Date: Sun, 1 Nov 2026 19:45:50 +0100 Subject: [PATCH 1/2] feat(libSceLibcInternal): run the deleting destructors of future_error, overflow_error and underflow_error --- .../ExceptionDestructors.cpp | 18 ++++++++++++ .../libSceLibcInternal/InventoryExports.cpp | 5 ---- .../libSceLibcInternal/InventoryExports6.cpp | 12 -------- .../prx/libSceLibcInternal/include/Api.hpp | 3 ++ .../include/InventoryExports.hpp | 1 - .../GuestLibcInternalExceptionDestructors.cpp | 28 ++++++++++++++++++- docs/dev/debt/libSceLibcInternal.md | 4 +-- 7 files changed, 49 insertions(+), 22 deletions(-) diff --git a/core/libs/prx/libSceLibcInternal/ExceptionDestructors.cpp b/core/libs/prx/libSceLibcInternal/ExceptionDestructors.cpp index 9419eec40180..226e36909d34 100644 --- a/core/libs/prx/libSceLibcInternal/ExceptionDestructors.cpp +++ b/core/libs/prx/libSceLibcInternal/ExceptionDestructors.cpp @@ -20,4 +20,22 @@ void APS5_VABI sceLibcInternalUnderflowErrorBaseDestructor_nid_no_patch(void* se } APS5_EXPORT("xiqd+QkuYXc", sceLibcInternalUnderflowErrorBaseDestructor_nid_no_patch); +void APS5_VABI sceLibcInternalFutureErrorDeletingDestructor_nid_no_patch(void* self) { + _ZNSt12future_errorD1Ev_nid_postfix(static_cast(self)); + _ZdlPv_nid_postfix(self); +} +APS5_EXPORT("rNYLEsL7M0k", sceLibcInternalFutureErrorDeletingDestructor_nid_no_patch); + +void APS5_VABI sceLibcInternalOverflowErrorDeletingDestructor_nid_no_patch(void* self) { + _ZNSt14overflow_errorD1Ev_nid_postfix(static_cast(self)); + _ZdlPv_nid_postfix(self); +} +APS5_EXPORT("y1dYQsc67ys", sceLibcInternalOverflowErrorDeletingDestructor_nid_no_patch); + +void APS5_VABI sceLibcInternalUnderflowErrorDeletingDestructor_nid_no_patch(void* self) { + _ZNSt15underflow_errorD1Ev_nid_postfix(static_cast(self)); + _ZdlPv_nid_postfix(self); +} +APS5_EXPORT("iHILAmwYRGY", sceLibcInternalUnderflowErrorDeletingDestructor_nid_no_patch); + } diff --git a/core/libs/prx/libSceLibcInternal/InventoryExports.cpp b/core/libs/prx/libSceLibcInternal/InventoryExports.cpp index b3232790c990..2a796778c678 100644 --- a/core/libs/prx/libSceLibcInternal/InventoryExports.cpp +++ b/core/libs/prx/libSceLibcInternal/InventoryExports.cpp @@ -89,11 +89,6 @@ int APS5_VABI libSceLibcInternalInventory_016_nid_no_patch() { } APS5_EXPORT("uVOxy7dQTFc", libSceLibcInternalInventory_016_nid_no_patch); -int APS5_VABI libSceLibcInternalInventory_017_nid_no_patch() { - NotImplemented_nid_no_patch(__func__); -} -APS5_EXPORT("rNYLEsL7M0k", libSceLibcInternalInventory_017_nid_no_patch); - int APS5_VABI libSceLibcInternalInventory_019_nid_no_patch() { NotImplemented_nid_no_patch(__func__); } diff --git a/core/libs/prx/libSceLibcInternal/InventoryExports6.cpp b/core/libs/prx/libSceLibcInternal/InventoryExports6.cpp index a54350a928b6..210d1fb88c8d 100644 --- a/core/libs/prx/libSceLibcInternal/InventoryExports6.cpp +++ b/core/libs/prx/libSceLibcInternal/InventoryExports6.cpp @@ -249,24 +249,12 @@ int APS5_VABI sceLibcInternalUnknown6_042_bl0DPP6kFBk_nid_no_patch() { } APS5_EXPORT("bl0DPP6kFBk", sceLibcInternalUnknown6_042_bl0DPP6kFBk_nid_no_patch); -int APS5_VABI sceLibcInternalUnknown6_043_iHILAmwYRGY_nid_no_patch() { - NotImplemented_nid_no_patch(__func__); - return 0; -} -APS5_EXPORT("iHILAmwYRGY", sceLibcInternalUnknown6_043_iHILAmwYRGY_nid_no_patch); - int APS5_VABI sceLibcInternalUnknown6_044_raRgiuQfvWk_nid_no_patch() { NotImplemented_nid_no_patch(__func__); return 0; } APS5_EXPORT("raRgiuQfvWk", sceLibcInternalUnknown6_044_raRgiuQfvWk_nid_no_patch); -int APS5_VABI sceLibcInternalUnknown6_045_y1dYQsc67ys_nid_no_patch() { - NotImplemented_nid_no_patch(__func__); - return 0; -} -APS5_EXPORT("y1dYQsc67ys", sceLibcInternalUnknown6_045_y1dYQsc67ys_nid_no_patch); - int APS5_VABI sceLibcInternalUnknown6_046_6b3KIjPD33k_nid_no_patch() { NotImplemented_nid_no_patch(__func__); return 0; diff --git a/core/libs/prx/libSceLibcInternal/include/Api.hpp b/core/libs/prx/libSceLibcInternal/include/Api.hpp index 37c8f9dd1fd8..3278f84a54c7 100644 --- a/core/libs/prx/libSceLibcInternal/include/Api.hpp +++ b/core/libs/prx/libSceLibcInternal/include/Api.hpp @@ -111,6 +111,9 @@ void APS5_VABI sceLibcInternalAlignedArrayDelete_nid_no_patch(void* pointer, std void APS5_VABI sceLibcInternalFutureErrorBaseDestructor_nid_no_patch(void* self); void APS5_VABI sceLibcInternalOverflowErrorBaseDestructor_nid_no_patch(void* self); void APS5_VABI sceLibcInternalUnderflowErrorBaseDestructor_nid_no_patch(void* self); +void APS5_VABI sceLibcInternalFutureErrorDeletingDestructor_nid_no_patch(void* self); +void APS5_VABI sceLibcInternalOverflowErrorDeletingDestructor_nid_no_patch(void* self); +void APS5_VABI sceLibcInternalUnderflowErrorDeletingDestructor_nid_no_patch(void* self); int APS5_VABI sceLibcMspaceSetMallocCallback(); int APS5_VABI sceLibcPafMspaceReportMemoryBlocks(); diff --git a/core/libs/prx/libSceLibcInternal/include/InventoryExports.hpp b/core/libs/prx/libSceLibcInternal/include/InventoryExports.hpp index 33f65c57e724..a7766b87f2f7 100644 --- a/core/libs/prx/libSceLibcInternal/include/InventoryExports.hpp +++ b/core/libs/prx/libSceLibcInternal/include/InventoryExports.hpp @@ -21,7 +21,6 @@ int APS5_VABI libSceLibcInternalInventory_013_nid_no_patch(); int APS5_VABI libSceLibcInternalInventory_014_nid_no_patch(); int APS5_VABI libSceLibcInternalInventory_015_nid_no_patch(); int APS5_VABI libSceLibcInternalInventory_016_nid_no_patch(); -int APS5_VABI libSceLibcInternalInventory_017_nid_no_patch(); int APS5_VABI libSceLibcInternalInventory_019_nid_no_patch(); int APS5_VABI libSceLibcInternalInventory_020_nid_no_patch(); int APS5_VABI libSceLibcInternalInventory_021_nid_no_patch(); diff --git a/core/libs/tests/GuestLibcInternalExceptionDestructors.cpp b/core/libs/tests/GuestLibcInternalExceptionDestructors.cpp index c8ddb4aadd72..bbedffcf436a 100644 --- a/core/libs/tests/GuestLibcInternalExceptionDestructors.cpp +++ b/core/libs/tests/GuestLibcInternalExceptionDestructors.cpp @@ -7,11 +7,13 @@ #include #include #include +#include namespace { unsigned releases = 0; void* lastReleased = nullptr; +std::array released{}; void Require(bool condition, const char* message) { if (condition) return; @@ -21,6 +23,7 @@ void Require(bool condition, const char* message) { void* APS5_VABI TestAllocate(std::size_t size) { return std::malloc(size); } void APS5_VABI TestFree(void* pointer) { + if (releases < released.size()) released[releases] = pointer; ++releases; lastReleased = pointer; std::free(pointer); @@ -75,6 +78,26 @@ void CheckFutureError() { Require(std::memcmp(&expected, &actual, sizeof(expected)) == 0, "D2 leaves the object as D1 does"); } +void CheckMessageDeletingDestructor(Destructor destructor, const char* text) { + auto* object = static_cast(_Znwm_nid_postfix(sizeof(LibcException::ExceptionObject))); + _ZNSt13runtime_errorC1EPKc_nid_postfix(object, text); + releases = 0; + destructor(object); + Require(releases == 1 && released[0] == object, "the deleting destructor frees the object through operator delete"); +} + +void CheckFutureErrorDeletingDestructor() { + auto* object = new (_Znwm_nid_postfix(sizeof(LibcException::FutureErrorObject))) LibcException::FutureErrorObject{}; + object->message.capacity = 24; + object->message.size = 24; + object->message.pointer = static_cast(_Znwm_nid_postfix(25)); + std::memcpy(object->message.pointer, "future already retrieved", 25); + char* storage = object->message.pointer; + releases = 0; + sceLibcInternalFutureErrorDeletingDestructor_nid_no_patch(object); + Require(releases == 2 && released[0] == storage && released[1] == object, "the message and then the object are freed"); +} + } int main() { @@ -88,7 +111,10 @@ int main() { CheckMessageDestructor(&sceLibcInternalOverflowErrorBaseDestructor_nid_no_patch, "value too large"); CheckMessageDestructor(&sceLibcInternalUnderflowErrorBaseDestructor_nid_no_patch, "value too small"); CheckFutureError(); + CheckMessageDeletingDestructor(&sceLibcInternalOverflowErrorDeletingDestructor_nid_no_patch, "value too large"); + CheckMessageDeletingDestructor(&sceLibcInternalUnderflowErrorDeletingDestructor_nid_no_patch, "value too small"); + CheckFutureErrorDeletingDestructor(); - std::puts("libc internal exception base-object destructor checks passed"); + std::puts("libc internal exception destructor checks passed"); return 0; } diff --git a/docs/dev/debt/libSceLibcInternal.md b/docs/dev/debt/libSceLibcInternal.md index 44d35523656f..f1e241d8412c 100644 --- a/docs/dev/debt/libSceLibcInternal.md +++ b/docs/dev/debt/libSceLibcInternal.md @@ -27,7 +27,6 @@ The named entries below use provider-specific NID aliases to avoid interposing h | `_ZNSt10moneypunctIwLb1EEC2Em` | `sTaUDDnGOpE` | | `_ZNSt10moneypunctIwLb1EED1Ev` | `OM0FnA7Tldk` | | `_ZNSt10moneypunctIwLb1EED2Ev` | `uVOxy7dQTFc` | -| `_ZNSt12future_errorD0Ev` | `rNYLEsL7M0k` | | `_ZNSt12system_errorC2ESt10error_codePKc` | `oly3wSwEJ2A` | | `_ZNSt13bad_exceptionD0Ev` | `lX9M5u0e48k` | | `_ZNSt13bad_exceptionD1Ev` | `t6egllDqQ2M` | @@ -343,6 +342,7 @@ The named entries below use provider-specific NID aliases to avoid interposing h - [__inet_ntoa_r](../../../core/libs/prx/libSceLibcInternal/Inet.cpp) (libSceLibcInternal) was not measured on the console: it runs `inet_ntoa_r`, as FreeBSD 11.4 names the function `__inet_ntoa_r` ([arpa/inet.h](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/include/arpa/inet.h#L129)) and makes `inet_ntoa_r` a weak alias of it ([inet_ntoa.c](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libc/inet/inet_ntoa.c#L62-L76)) - [_ZnamSt11align_val_tRKSt9nothrow_t and _ZdaPvSt11align_val_t](../../../core/libs/prx/libSceLibcInternal/AlignedNew.cpp) (libSceLibcInternal, NIDs `s2eGsgUF9vk` and `v09ZcAhZzSc`) take the standard C++17 signatures their mangled names give, the aligned `nothrow` array `operator new` and the aligned array `operator delete`, and run the same code as the `libc` exports of those names, on the same application heap and new handler. The console's `libSceLibcInternal.sprx` was not read and no title was seen calling them, so whether it allocates from the same heap as `libc.prx` is unverified - [_ZNSt12future_errorD2Ev, _ZNSt14overflow_errorD2Ev and _ZNSt15underflow_errorD2Ev](../../../core/libs/prx/libSceLibcInternal/ExceptionDestructors.cpp) (libSceLibcInternal, NIDs `XFh0C66aEms`, `OypvNf3Uq3c` and `xiqd+QkuYXc`) are the base-object destructors of classes without virtual bases, which the [Itanium C++ ABI](https://itanium-cxx-abi.github.io/cxx-abi/abi.html#definitions) makes do the same work as the complete-object `D1` destructors, so they run the `libc` exports of those `D1` names. The console's `libSceLibcInternal.sprx` was not read and no title was seen calling them, so whether it frees the message from the same heap as `libc.prx` is unverified +- [_ZNSt12future_errorD0Ev, _ZNSt14overflow_errorD0Ev, _ZNSt15underflow_errorD0Ev](../../../core/libs/prx/libSceLibcInternal/ExceptionDestructors.cpp) (libSceLibcInternal, NIDs `rNYLEsL7M0k`, `y1dYQsc67ys`, `iHILAmwYRGY`) are the deleting destructors: the [Itanium C++ ABI](https://itanium-cxx-abi.github.io/cxx-abi/abi.html#definitions) defines them as the complete-object destructor followed by the class's `operator delete`, so each runs the `libc` `D1` export of its class and then `operator delete` (`_ZdlPv`, the application heap); none of these classes declares its own `operator delete`. libc's own `D0` exports of the other exception classes free with `std::free`; this entry does not change them. The console's `libSceLibcInternal.sprx` was not read and no title was seen calling them - [_Mtxinit, _Mtxlock, _Mtxunlock, _Mtxdst](../../../core/libs/prx/libSceLibcInternal/Mutex.cpp) (libSceLibcInternal) follow the PS4 code of [shadPS4](https://github.com/shadps4-emu/shadPS4/blob/860d73b7e99559106a3ffa3d3d69f0f9237e115e/src/core/libraries/libc_internal/libc_internal_threads.cpp#L10-L62) and [fpPS4](https://github.com/red-prig/fpPS4/blob/04cefd43e6fddd1ab033e7980cd356d14c964905/src/libcinternal/ps4_mtx_internal.pas#L47-L99): the argument points to a pointer-sized libkernel mutex handle, `_Mtxinit` creates it recursive, a zeroed handle becomes an error-checking mutex on its first lock as with the POSIX calls, and each returns 0 on success and 1 on any failure. A null handle pointer throws in libkernel. The `SceLibcI_` name goes to `scePthreadMutexInit`, which drops it. For PS5 only the names are known (NID hashes, ps5sdk stubs); layout, signatures, mutex type and results are not verified on a PS5 ### Additional PS5 3.20 imports (xdCloudy #9498) @@ -407,9 +407,7 @@ The named entries below use provider-specific NID aliases to avoid interposing h - [_ZNSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEEC1EPKcm](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `9pPbNXw5N9E`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [_ZNSt7codecvtIcc9_MbstatetED2Ev](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `to7GggwECZU`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [_ZSt8_XLgammae](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `bl0DPP6kFBk`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` -- [_ZNSt15underflow_errorD0Ev](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `iHILAmwYRGY`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [sceLibcMspaceGetAddressRanges](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `raRgiuQfvWk`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` -- [_ZNSt14overflow_errorD0Ev](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `y1dYQsc67ys`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [_ZNSt6locale7_LocimpC1Eb](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `6b3KIjPD33k`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [malloc_report_memory_blocks](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `0F08WOP8G3s`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [_ZNSt8_LocinfoD2Ev](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `YXVCU6PdgZk`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` From fc07e3713546f76729c8d2af8368b6d853a45713 Mon Sep 17 00:00:00 2001 From: Dean <158058829+oneandonlydean@users.noreply.github.com> Date: Sat, 21 Nov 2026 19:22:19 +1300 Subject: [PATCH 2/2] docs(libSceLibcInternal): drop debt entries the merge left stale --- docs/dev/debt/libSceLibcInternal.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/dev/debt/libSceLibcInternal.md b/docs/dev/debt/libSceLibcInternal.md index bd7fd721a99d..a00510506b50 100644 --- a/docs/dev/debt/libSceLibcInternal.md +++ b/docs/dev/debt/libSceLibcInternal.md @@ -34,7 +34,6 @@ The named entries below use provider-specific NID aliases to avoid interposing h | `_ZNSt10moneypunctIwLb1EEC2Em` | `sTaUDDnGOpE` | | `_ZNSt10moneypunctIwLb1EED1Ev` | `OM0FnA7Tldk` | | `_ZNSt10moneypunctIwLb1EED2Ev` | `uVOxy7dQTFc` | -| `_ZNSt12system_errorC2ESt10error_codePKc` | `oly3wSwEJ2A` | | `_ZNSt12future_errorD0Ev` | `rNYLEsL7M0k` | | `_ZNSt13bad_exceptionD0Ev` | `lX9M5u0e48k` | | `_ZNSt13bad_exceptionD1Ev` | `t6egllDqQ2M` | @@ -568,9 +567,6 @@ The five `std::ctype` operations `do_is` (NIDs `rh7L-TliPoc`, `D0lUMKU+ - [malloc_get_malloc_state](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `Nmezc1Lh7TQ`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [_ZNSt8time_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEEC1Em](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `X3DrtC2AZCI`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [_ZNSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEEC1EPKcm](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `9pPbNXw5N9E`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` -- [_ZNSt7codecvtIcc9_MbstatetED2Ev](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `to7GggwECZU`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` -- [_ZSt8_XLgammae](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `bl0DPP6kFBk`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` -- [_ZNSt15underflow_errorD0Ev](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `iHILAmwYRGY`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [sceLibcMspaceGetAddressRanges](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `raRgiuQfvWk`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [_ZNSt6locale7_LocimpC1Eb](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `6b3KIjPD33k`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch` - [malloc_report_memory_blocks](../../../core/libs/prx/libSceLibcInternal/InventoryExports6.cpp) (libSceLibcInternal, NID `0F08WOP8G3s`) - listed in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c); signature and behavior are unverified, so this parameterless declaration is for import resolution only and throws through `NotImplemented_nid_no_patch`