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

1.8 KiB

libSceAbstractTwitter technical debt

Known export names; ABI prototypes unverified

  • 52 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 (libSceAbstractTwitter) - 16 TwitterContent, TwitterFolder, TwitterService and TwitterStorage methods return a constant whatever their arguments: 0x809E0005 from GetStat, Read, SeekTime, Flush, Remove, Open, Close and GetStorageSize, 3 from GetService and GetServiceType, 0x6C0A from TwitterContent::GetCapability; only the 32-bit result is claimed, and the declarations keep the no-parameter convention. In firmware 13.42's libSceAbstractTwitter.sprx (SHA-256 e851cc7a05f7d7451f89bc0d73b139257370d95010ba90275f00c9fcd705d228), read from disassembly, each body is mov $<value>,%eax; ret. A payload process on a PS5 Pro (firmware 13.60) loaded the module with dlopen alone and returned exactly these constants from every method that resolves by name; TwitterFolder::RemoveFolder, TwitterFolder::RemoveContent and TwitterStorage::RemoveRecursive did not resolve by name in this firmware, so their answers are not confirmed. The name of the error, what 3 and 0x6C0A stand for and the result types remain unverified.