[PATCH 0/7] DbgHelp: A bunch of fixes/improvements related to module management

Eric Pouech eric.pouech at gmail.com
Mon Sep 6 03:39:42 CDT 2021


- Various corner case bug fixes when loading modules
- Reporting machine information for modules
- Improved management of module's name:
  + native (W10) stores & matches with module's name truncated to 64 characters
  + updated builtin to have equivalent behavior

A+
---

Eric Pouech (7):
      dbghelp: SymLoadModule* should return the base address in case of success, and 0 otherwise
      dbghelp: native allows loading virtual module at any address
      dbghelp: return correct error code when reloading a module in SymLoadModule*
      dbghelp: use module->modulename instead of module->module.ModuleName in traces
      dbghelp: use the correct module name for lookups including module's name
      include/imagehlp.h: extend IMAGEHLP_MODULE*64 with new fields (keeping in sync with dbghelp.h)
      dbghelp: Properly managing the new MachineType field in IMAGEHLP_MODULE(W)64


 dlls/dbghelp/dbghelp_private.h |  2 +-
 dlls/dbghelp/dwarf.c           |  6 +++---
 dlls/dbghelp/elf_module.c      | 33 ++++++++++++++++++++++++---------
 dlls/dbghelp/macho_module.c    | 11 ++++++-----
 dlls/dbghelp/module.c          | 30 ++++++++++++++++++++++--------
 dlls/dbghelp/msc.c             |  2 +-
 dlls/dbghelp/pe_module.c       |  8 +++++---
 dlls/dbghelp/symbol.c          | 24 ++++++++++++------------
 dlls/dbghelp/type.c            |  4 ++--
 include/imagehlp.h             |  4 ++++
 10 files changed, 80 insertions(+), 44 deletions(-)




More information about the wine-devel mailing list