radareorg/radare2

Symbols in /usr/lib/debug aren't automatically loaded

Aperta

#8666 aperta il 9 ott 2017

 (12 commenti) (2 reazioni) (0 assegnatari)C (3229 fork)batch import
RBindebug-infogood first issuehigh-priority

Metriche repository

Star
 (23.826 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

See https://github.com/radare/radare2/issues/4888 for context.

Several linux systems split debug symbols from executables and installs them under /usr/lib/debug/ e.g. /usr/path/to/bin/cmd has symbols at /usr/lib/debug/usr/path/to/bin/cmd. radare2 1.6.0 doesn't appear to load these symbols. The symbols for calls are missing, attemping to seek, s, to a function fails, etc. On the other hand, gdb automatically loads the symbols from these files.

Guida contributor