unvariant
Re:"Unstripping" binaries: Restoring debugging information in GDB with...
on Monday September 09, 2024 @01:54AM (#41485810)
Not really, export as dwarf only gives types and symbols, it does not generate dwarf pc -> source line information, which this plugin provides via a custom context pane. Manually running the export every time a pc step occurs would also be quite painful.
Re:"Unstripping" binaries: Restoring debugging information in GDB with...
on Monday September 09, 2024 @01:52AM (#41485798)
`decomp2dbg` mostly just provides pc to source mapping. It also makes function arguments and local stack variables available through gdb convenience variables (function arguments are broken since it assumes they stay in the registers and are never clobbered). This plugin is a bit nicer because of the syncing it does with binja. Coincidentally, I am working on a binja plugin which live imports types, symbols, and function data using dwarf.