mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-04 13:44:33 +01:00
Add PE-only MD support to Windows symbol converter.
- Only 64-bit PEs supported. - Re-add some scripts that were missed in initial move of code. - Change msdia120.dll dependency to msdia140.dll. - Add tests for Intel, AMD, and NVidia Microsoft Symbol Stores. - Windows symbol converter now attempts to fall back to PE-only metadata when it fails to locate a PDB. - Remove the 'binary' folder under converter_exe. Need to think more about how a deployment should look and what tool(s) to use in creating one. Change-Id: I52e42cbe5e759874a25114c2483e8b50d73fdf77 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1670098 Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
parent
c38725b70e
commit
6ca3f8bbe5
12 changed files with 314 additions and 56 deletions
|
|
@ -143,10 +143,6 @@ bool ReadModuleInfo(const wstring & pe_file, PDBModuleInfo * info) {
|
|||
|
||||
PIMAGE_OPTIONAL_HEADER64 optional_header =
|
||||
&(reinterpret_cast<PIMAGE_NT_HEADERS64>(img->FileHeader))->OptionalHeader;
|
||||
if (optional_header->Magic != IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
|
||||
fprintf(stderr, "Not a PE32+ image\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
// Search debug directories for a guid signature & age
|
||||
DWORD debug_rva = optional_header->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue