Commit Graph

28 Commits

Author SHA1 Message Date
Les De Ridder 3bb47e2884 Bump version 2020-07-31 16:50:34 +02:00
Les De Ridder 1debe334f6 Update readme 2020-07-31 16:48:50 +02:00
Les De Ridder a738390a8c Rename GitHub Action, fix install step, and add print version step 2020-07-31 16:28:17 +02:00
Les De Ridder 991c2e3262 Build radare2 in GitHub Action 2020-07-31 16:14:05 +02:00
Les De Ridder 601403b4f9 Update version and copyright information 2020-07-31 15:31:21 +02:00
Les De Ridder 1952d58df2 Add GitHub Action CI 2020-07-31 15:31:12 +02:00
Les De Ridder f6d5862ceb Add PDB section reading to bfd (using LLVM now) 2020-07-31 13:55:53 +02:00
Les De Ridder 12d1289ad6 Remove libr dependency and add LLVM dependency in bfd 2020-07-22 20:11:45 +02:00
Les De Ridder 0cf0e48af0 Run autoreconf 2020-07-18 15:26:17 +02:00
Les De Ridder 0c7b5f1c0a Move build file changes to the proper files
Fixes #3
2020-07-18 15:18:45 +02:00
Les De Ridder 23a86f466c Add a readme 2020-07-12 19:03:01 +02:00
Les De Ridder b65dd571b3 Stop radare2 from freeing our bfd_alloc'ed buffer 2020-07-12 17:39:14 +02:00
Les De Ridder 71b82dfea9 Add missing pdb_data and bfd_target_pdb_flavour
Fixes #4
2020-07-12 17:23:49 +02:00
Les De Ridder c3184e01ce Implement PDB section loading in bfd 2020-07-12 17:06:40 +02:00
Les De Ridder dcae9fd7d7 Implement R_PDB loading in bfd
We disable symbol_file_add_separate for now so the old symbol loading
still works.
2020-07-12 14:35:26 +02:00
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 43ba294701 Handle demangling API change on LLVM >10.0.0
Partially fixes #2
2020-07-01 17:02:02 +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 5c03599324 Remove '!' prefix from demangled name and add !DMGL_PARAMS support 2020-06-21 06:04:33 +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
Les De Ridder e234ce54cd Save the PDB file name in CodeView info
We don't actually use this yet.
2020-06-20 14:24:53 +02:00
Les De Ridder ef88a7721d Improve MSVC demangling output 2020-06-19 10:26:58 +02:00
Les De Ridder 6c5d6eb9b0 Add MSVC demangling support 2020-06-18 15:38:56 +02:00
Les De Ridder 3702438120 Add build directories to .gitignore 2020-06-18 10:13:28 +02:00
Les De Ridder ce75aa9c80 Import GDB 9.2 2020-06-18 10:11:10 +02:00