Run report: record the guest call site of missing functions #28497

Open
opened 2026-12-01 07:46:50 +00:00 by NobleBrains · 0 comments
NobleBrains commented 2026-12-01 07:46:50 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by NobleBrains on 2026-12-01T07:46:50Z.


Proposal

Record the guest call site of a missing function in anyps5-report.json: module name and offset of the title code that called the export.

Why

missing.functions lists library, name and call count, and stop.source points into AnyPS5. To implement the export, the next step is often to read the title's call site (reading titles and libraries: arguments, widths, buffer sizes, checked results). The report schema has no field for it, so someone with the same dump has to find it first. With the offset in a posted report, a contributor can tell a tester exactly which place to look at.

Possible shape

  • An optional field per missing.functions entry, for example callers: ["eboot.bin+0x1234"], with a small cap. An added field keeps schema version 1.
  • Addresses only: no registers, arguments or guest memory.
  • Where the caller cannot be determined (the stub is reached through a helper or a tail call), the field is left out.

I have not prototyped this, so I don't know how reliable the return address is through the import path on each platform. #17557 lists call sites per NID statically; this would say which one the run actually reached.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6715253711 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/28497). Originally posted by [NobleBrains](https://github.com/NobleBrains) on 2026-12-01T07:46:50Z. --- ### Proposal Record the guest call site of a missing function in `anyps5-report.json`: module name and offset of the title code that called the export. ### Why `missing.functions` lists library, name and call count, and `stop.source` points into AnyPS5. To implement the export, the next step is often to read the title's call site ([reading titles and libraries](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/REVERSE_ENGINEERING.md#what-a-call-site-settles): arguments, widths, buffer sizes, checked results). The report schema has no field for it, so someone with the same dump has to find it first. With the offset in a posted report, a contributor can tell a tester exactly which place to look at. ### Possible shape - An optional field per `missing.functions` entry, for example `callers: ["eboot.bin+0x1234"]`, with a small cap. An added field keeps schema version 1. - Addresses only: no registers, arguments or guest memory. - Where the caller cannot be determined (the stub is reached through a helper or a tail call), the field is left out. I have not prototyped this, so I don't know how reliable the return address is through the import path on each platform. #17557 lists call sites per NID statically; this would say which one the run actually reached. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#28497
No description provided.