2.6 KiB
2.6 KiB
libSceAutoMounterClient technical debt
Unknown function info
- sceAutoMounterClientRegisterCallback, sceAutoMounterClientTerm and sceAutoMounterClientUnregisterCallback (libSceAutoMounterClient) - their names and NIDs are in the PS5 3.20 export inventory, but no credible prototypes were found. They are declared without parameters solely to resolve known imports; this is not an ABI claim and callers must not call them until signatures are verified.
- sceAutoMounterClientGetUsbDeviceInfo (libSceAutoMounterClient) - the fields after the 128-byte device name are named after flatz's PS4
SceAutoMounterClientUsbDeviceInfo: total and available space, vendor id, product id, release, and the manufacturer, product and serial strings with their 64-bit lengths. The 944-byte PS5 output holds that structure's first 816 bytes, at the offsets libSceUsbStorage's device-info record also uses (the vendor id at 0x10 and the strings at 0x16, 0x120 and 0x228); the PS4 fields after the serial length are not part of it. What the console writes into each field is not measured, and the function still throws. - sceAutoMounterClientInit (libSceAutoMounterClient) - throws through
NotImplemented_nid_no_patch. Client initialization thread attributes and interactions with the automounter service remain unimplemented.
Functional
- sceAutoMounterClientGetUsbDeviceInfo and sceAutoMounterClientGetUsbDeviceList (libSceAutoMounterClient) - in 13.42 module disassembly (sha256 6aaa6bd4b3e0c2f62fcfd4b8ed6fb738be7853c2b59a3ee89c032f36157970f0),
sceAutoMounterClientGetUsbDeviceListrejects nulldeviceNamesand nullcountpointers with0x80F40002, andsceAutoMounterClientGetUsbDeviceInforeturns0x80F40002whensscanffails to match/dev%s(returns 0). The module hands the guest name tosscanfwithout copying it first; the bounded guest-string copy and the0x80F40002returned for an unreadable pointer are host-side handling added for this implementation, not firmware behaviour. Neither export is measured on a console, and service queries continue throwing throughNotImplemented_nid_no_patch.