Henrik Rydgård and Claude Opus 5
9b577b5f46
Show module.section+offset next to addresses in exception/stack-trace 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
2026-07-27 23:44:14 +02:00
..
2026-06-12 12:19:31 +02:00
2026-06-12 12:19:31 +02:00
2025-07-22 17:48:20 +02:00
2026-01-19 17:56:30 +01:00
2025-07-22 17:48:20 +02:00
2025-07-22 17:48:20 +02:00
2025-07-22 17:48:20 +02:00
2026-01-08 22:02:08 +01:00
2025-07-27 13:55:22 -07:00
2026-07-25 14:52:19 +02:00
2026-05-29 14:40:31 +02:00
2025-03-21 20:44:46 +01:00
2025-04-03 14:13:50 +02:00
2025-04-02 09:26:04 +02:00
2025-03-21 20:45:12 +01:00
2025-03-31 11:17:50 +02:00
2025-07-02 00:02:33 +03:00
2025-07-02 01:30:21 +03:00
2025-03-21 20:44:46 +01:00
2025-08-06 17:44:54 +02:00
2026-05-02 11:07:34 +02:00
2025-06-13 23:29:49 +02:00
2026-05-18 14:16:34 +02:00
2026-05-18 14:16:34 +02:00
2026-01-18 23:40:13 +02:00
2025-03-31 10:24:03 +02:00
2026-07-14 20:31:39 +02:00
2026-02-17 09:40:27 +01:00
2025-07-20 19:30:35 +02:00
2025-07-20 19:30:35 +02:00
2025-03-31 11:17:50 +02:00
2025-08-14 22:09:50 +02:00
2025-06-25 11:34:07 +02:00
2025-04-15 11:18:53 +02:00
2025-04-15 11:44:28 +02:00
2025-06-26 11:06:18 +02:00
2025-06-26 11:06:18 +02:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2025-06-05 22:46:24 +02:00
2025-06-05 22:46:24 +02:00
2026-04-28 16:27:12 +02:00
2026-04-28 16:27:12 +02:00
2025-12-30 20:31:07 +01:00
2026-06-02 11:15:08 +02:00
2025-11-05 12:49:51 +01:00
2025-12-30 20:31:06 +01:00
2025-04-29 16:46:14 +02:00
2025-03-31 11:17:50 +02:00
2025-04-03 22:39:14 +02:00
2026-07-16 15:03:20 +02:00
2026-02-09 14:35:32 +01:00
2025-04-29 16:46:14 +02:00
2025-03-31 11:17:50 +02:00
2025-08-06 00:16:34 +02:00
2025-08-06 00:16:34 +02:00
2025-11-04 11:48:47 +01:00
2026-07-21 11:01:48 +02:00
2026-04-28 16:27:12 +02:00
2025-03-31 11:17:50 +02:00
2026-06-15 08:16:40 +02:00
2025-04-03 22:10:22 +02:00
2025-03-21 20:44:46 +01:00
2025-03-21 20:44:46 +01:00
2026-04-11 23:40:05 +03:00
2026-04-14 12:55:29 -06:00
2025-03-21 20:44:46 +01:00
2026-07-25 14:53:02 +02:00
2026-07-25 14:53:02 +02:00
2026-07-27 23:44:14 +02:00
2026-07-27 23:44:14 +02:00
2025-03-21 20:44:46 +01:00
2025-04-14 22:27:51 +02:00
2025-06-05 22:46:24 +02:00
2025-06-05 22:46:24 +02:00
2026-07-08 19:45:42 +02:00
2026-07-08 19:45:42 +02:00
2025-03-05 17:02:46 +01:00
2026-01-29 17:41:54 +01:00
2025-03-31 11:17:50 +02:00
2025-07-20 19:32:05 +02:00
2025-07-20 19:32:05 +02:00
2025-03-31 11:17:50 +02:00
2025-02-14 09:50:55 -06:00
2026-07-18 11:57:56 +02:00
2026-06-08 23:00:36 +08:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2025-02-12 16:49:43 +03:00
2026-06-13 17:12:16 +02:00
2025-08-06 00:16:34 +02:00
2026-07-19 11:30:27 +02:00
2026-04-23 11:12:58 +02:00
2026-07-25 14:53:02 +02:00
2025-07-01 19:56:09 +03:00
2025-01-21 12:22:32 +01:00
2025-01-21 12:22:32 +01:00
2026-03-13 10:36:59 +01:00
2025-01-21 12:22:32 +01:00
2025-08-06 00:16:34 +02:00
2025-04-07 22:16:32 +02:00
2025-08-06 00:16:34 +02:00
2025-01-09 09:06:23 +01:00
2025-03-31 11:17:50 +02:00
2025-01-21 17:41:53 +01:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2025-08-15 16:35:25 +02:00
2025-01-05 19:14:15 +01:00
2025-03-31 11:17:50 +02:00
2026-06-12 12:23:36 +02:00
2025-12-30 20:31:07 +01:00
2025-04-14 22:38:22 +02:00
2026-03-04 11:23:59 +01:00
2026-07-27 23:44:06 +02:00
2025-04-03 14:13:50 +02:00
2025-04-23 17:10:31 +02:00
2025-04-23 17:10:31 +02:00
2026-05-30 21:47:21 +02:00
2025-04-12 11:35:55 +02:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2025-05-27 17:48:23 +02:00
2025-02-04 11:53:22 -06:00
2025-03-31 11:17:50 +02:00
2025-03-31 11:17:50 +02:00
2026-07-27 14:58:59 +02:00
2025-03-31 11:17:50 +02:00
2026-05-11 16:09:22 +02:00
2024-10-15 15:30:37 +02:00
2026-06-15 08:16:40 +02:00
2025-11-04 11:48:47 +01:00
2026-06-15 08:16:40 +02:00
2025-01-22 10:12:56 +01:00
2025-01-22 10:12:56 +01:00
2024-09-17 11:34:42 +02:00