Repository navigation
docs(dev): guide to reading call sites and library disassembly - #9021
Merged
adriadam10 merged 1 commit intoOct 21, 2026
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
12 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds docs/dev/REVERSE_ENGINEERING.md and links it from CONTRIBUTING. About 11 debt files already cite a title's call sites and 15 cite disassembly (libSceAgc, libSceAudioIn, libSceNpTrophy2, libSceRtc, libSceHttp, libSceJobManager...), but nothing says how to find them, what they establish or how to cite them. The page covers:
relinker --registry(callSites, GLOB_DAT vs JUMP_SLOT) and disassembling the section-less ELF with objdump;Based on
The technique and the examples come from these merged pull requests:
*sizefrom a title's call sites and its log strings; jotitadev's review there is the "a call site settles the arguments, not the behaviour" point.Tested
Followed the steps on Astro's Playroom's eboot.bin: unwrap_self, readelf/objdump of the executable LOAD segment, PLT stub 0x1f2e480 and its 4 callers; the registry fields checked against relinker registries of three titles (GLOB_DAT sites are the calls, JUMP_SLOT sites are the PLT stubs).
tools/nid_names.py --name sceVoiceQoSReadPacketgives PWokFqab5q4.tools/check_conventions.pypasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)