Open yrp604 opened 3 years ago
We plan on modifying the way this is done with a combination of the DebugInfo API and the analysis passes refactor.
This has been possible since 3.2 with the advent of the external debuginfo file source option, via Open with Options.
This will need some extra scaffolding to implement: mainly having a way for Debug Info providers to signal if a file has an external debug info file, and if it can be automatically found. We may want to move the PDB symbol server downloader into this, creating a callback to actually find the external debuginfo file as well.
Once that is done, we can use that callback to signal a popup for manually loading info. Ideally, the popup will include an option to prevent future popups, with a sort of "Do you want to look for an external debug info file? Yes | No | Never"
Is your feature request related to a problem? Please describe.
Loading PE with PDBs properly is too many clicks. Open with options, analysis hold, load pdb, remove analysis hold.
Describe the solution you'd like When opening a PE, one of the debug directories in the PE header contains the pdb path. Binja should apply an analysis hold and ask if the user is interested in providing a PDB before loading. Im unsure if this exists for ELF or Mach-O, if so the same behavior would be preferable here.
Describe alternatives you've considered None really
Additional context This is IDA's default behavior
You can see and dump the existence of these paths with: