From 7084a4321ec326e4d8ee0a0d4ced0ca5df094454 Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Wed, 10 Dec 2025 03:12:49 +0300 Subject: [PATCH] Improve load_custom_structure message (#3474) Fixes #3472. Makes the "Symbols are loaded!" message less confusing by changing it to: "Loaded custom symbols! (from {path})" so that the user can inspect what were the symbols loaded. --- pwndbg/commands/cymbol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/commands/cymbol.py b/pwndbg/commands/cymbol.py index 13798048b..832ba57d7 100644 --- a/pwndbg/commands/cymbol.py +++ b/pwndbg/commands/cymbol.py @@ -289,7 +289,7 @@ def load_custom_structure(custom_structure_name: str, custom_structure_path: str return # generate_debug_symbols prints on failures pwndbg.dbg.selected_inferior().add_symbol_file(pwndbg_debug_symbols_output_file) loaded_symbols[custom_structure_name] = pwndbg_debug_symbols_output_file - print(message.success("Symbols are loaded!")) + print(message.success(f"Loaded custom symbols! (from {custom_structure_path})")) @OnlyWhenStructFileExists