More misc debugging stuff, more sceReg functions, etc - #21995
Merged
Conversation
…RAM in kernel space is valid (but nothing is mapped there, unless you use masked memory)
… logs Added KernelModuleAddressDescription() (Core/HLE/sceKernelModule.cpp), which looks up which currently loaded module (and text/data/bss/segment section within it) an address falls in, e.g. "EBOOT.BIN.text+1234". Wired it into: - Core_MemoryException/Core_ExecException/Core_BreakException (Core/Core.cpp), appended next to every address/pc/ra shown in their log lines. - FormatStackTrace (Core/MemFault.cpp), appended per-frame next to the existing symbol description. This makes crash/exception logs actionable even when there's no symbol at the faulting address - you at least get which module and section it's in, useful for reverse engineering unfamiliar code. Verified live via headless: injected a MIPS break instruction at the current PC (through Tools/wsdbg) and confirmed the log line changed from "break instruction hit at 088040ac" to "break instruction hit at 088040ac [sceDisplayWaitVblank Test.text+ac]". Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XDNwPPuidmNxQGRJxBuRL6
hrydgard
force-pushed
the
more-misc-stuff
branch
from
July 27, 2026 22:17
52527ce to
d3c7279
Compare
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.
These are random features and stuff that came out of Claude's latest investigation. Some of these are Claudes, some by me.
For example, better stack traces (now with module information) and logs, some crashfixes, a couple of new sceReg functions etc.