Commit Graph

6 Commits

Author SHA1 Message Date
Les De Ridder 995f44ff35 Add PDB stubs to bfd
Most of the PDB stuff should be moved to bfd. This commit sets that up
and adds a reference to it from coffread.c.

The PDB path resolving will still be in gdb.
2020-07-11 13:00:01 +02:00
Les De Ridder a8451d40c1 Remove psymtab stub
Because we weren't fully setting up the psymtab, we ended up
dereferencing invalid/null pointers when its functions were called. For
now, we just deal with 'no symbols found' errors, because it's better
than crashing.

Fixes main issue in #2
2020-07-10 21:47:40 +02:00
Les De Ridder 8f00d3d3cd Try to load PDB path from CodeView record 2020-07-10 21:47:40 +02:00
Les De Ridder d82430d33c Fix formatting and apply clang-tidy fixes 2020-07-10 18:17:38 +02:00
Les De Ridder 9f50eba524 Set section to -1 if we don't have it in our objfile 2020-06-21 16:49:53 +02:00
Les De Ridder 817afcd046 Add basic PDB symbol reading using radare2's PDB library functions 2020-06-20 14:35:35 +02:00