mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 08:31:31 +00:00
1.6 KiB
1.6 KiB
libSceAbstractLocal technical debt
Known export names; ABI prototypes unverified
- 62 pending exports in Export.cpp are present in the PS5-3.20_Libs inventory. They are named after the mangled symbols the verified NID name database gives for their NIDs, and the NID of each name matches. Their prototypes and behavior are unverified. They use the no-parameter import-resolution convention and throw through
NotImplemented_nid_no_patch; these declarations make no ABI or behavior claim. - Constant answers (libSceAbstractLocal) - 8
LocalContent,LocalFolder,LocalServiceandLocalStoragemethods return a constant whatever their arguments: 0 fromGetServiceandGetServiceType,0x37C5AfromLocalContent::GetCapability,0x809E0005fromLocalContent::SeekTimeand0x809E0002fromLocalStorage::GetStatandLocalStorage::GetStorageSize; only the 32-bit result is claimed, and the declarations keep the no-parameter convention. In firmware 13.42'slibSceAbstractLocal.sprx(SHA-256919db67c6e5f17c09743439335ee678f949d7358df816d48ac4a05cf77214b36), read from disassembly, each body ismov $<value>,%eax; retorxor %eax,%eax; ret. A payload process on a PS5 Pro (firmware 13.60) loaded the module withdlopenalone, resolved all eight by name and returned exactly these constants, so the readings hold on current firmware; what the values stand for and the result types remain unverified.