by boricj · 2y ago · 0 comments
I've ended up doing the following to leverage that SYM file:
- build a placeholder ELF program by hand in the shape of the missing executable, but with all sections being NOBITS
- import this placeholder program into Ghidra
- write a Ghidra script to layer the information inside the SYM file on top of the placeholder program
- perform a version tracking session from the placeholder to the real executable, to port the debugging information onto a tangible artifact
My point is, have you thought about the capability to view a debugging data file without having the executable file? This use-case is admittedly a bit fringe, but it can happen with split executable/debug files.