#4184·pwndbg

don't duplicate symbols in branch disassembly annotation

Author: k4lizenCreated Sep 28, 2026Updated Sep 28, 2026
Labelsbug

For simple C++ code like this:

Image

we can get really long function names, and we output the name twice like jmp symbol <symbol>, this can get quite unwieldy:

Image

we should only output the name once.

one solution could be to write the address in <> if we wrote the symbol name next to the branch like:

call   main+127              <0x55555557073f>

this would be esp. nice since it would eliminate the need for running the info addr very long c++ function name with spaces command.

note the existence of

set disasm-inline-symbols off