disassembly - Is there an easy way to import information from a debuginfo rpm into objdump? -


for context: when running gdb on stripped binary , while in posession of debuginfo rpm corresponding binary being debugged, of mangled function names replaced respective non-mangled equivalents debuginfo rpm.

assume same essential scenario (i.e. have elf file has been stripped of debugging information, , have debuginfo rpm corresponding same elf file has debugging symbols in it). given assumptions, there quick , easy way make objdump aware of debugging symbols such objdump outputs function names debuginfo rpm instead of mangled symbols?

i've read through docs objdump, , doesn't has capability read debuginfo rpms. objdump -c close, doesn't give exact same names in debuginfo rpm, , need names identical.

alternatively, if there's no out-of-the-box solution, there library of sort reading debuginfo rpms make easier script "find-and-replace" mangled objdump function names?

thanks!

edit: if simplifies problem, debuginfos in same format, dwarf version 4.

i don't think there easy solution... gdb functionality talking a feature of gdb executable , not debuginfo rpm doing beyond dropping files in right place.

the thing can think of kind of un-strip - that's been asked before , seems non-trivial.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -