Files
AnyPS5/docs/dev/debt/libSceAbstractLocal.md

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, LocalService and LocalStorage methods return a constant whatever their arguments: 0 from GetService and GetServiceType, 0x37C5A from LocalContent::GetCapability, 0x809E0005 from LocalContent::SeekTime and 0x809E0002 from LocalStorage::GetStat and LocalStorage::GetStorageSize; only the 32-bit result is claimed, and the declarations keep the no-parameter convention. In firmware 13.42's libSceAbstractLocal.sprx (SHA-256 919db67c6e5f17c09743439335ee678f949d7358df816d48ac4a05cf77214b36), read from disassembly, each body is mov $<value>,%eax; ret or xor %eax,%eax; ret. A payload process on a PS5 Pro (firmware 13.60) loaded the module with dlopen alone, 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.