From 9e4aa27ef4d8069bb11fb1f87984bd4c70219578 Mon Sep 17 00:00:00 2001 From: Piers Taylor <131320238+piers-taylor-1994@users.noreply.github.com> Date: Wed, 24 Sep 2025 01:11:47 +0100 Subject: [PATCH] Fix 3289: fallback for missing symbol names in LLDB (AArch64) (#3309) * fix: fallback for missing symbol names in LLDB (AArch64) * Trigger CI rerun * Tweak: returning nothing instead of section names/addr * tweak: return empty str -> None --- pwndbg/dbg/lldb/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pwndbg/dbg/lldb/__init__.py b/pwndbg/dbg/lldb/__init__.py index 4ecbeb321..eb94960eb 100644 --- a/pwndbg/dbg/lldb/__init__.py +++ b/pwndbg/dbg/lldb/__init__.py @@ -1316,7 +1316,11 @@ class LLDBProcess(pwndbg.dbg_mod.Process): if sym_addr != address: # Print the symbol name along with an offset value if the address we # were given does not match up with the symbol exactly. - return f"{ctx.symbol.name}+{address - sym_addr}" + sym_name = ctx.symbol.name + if not ctx.symbol.name: + return None + + return f"{sym_name}+{address - sym_addr}" return ctx.symbol.name