[PATCH 00/13] Hardening of Dwarf debug info parsing

Eric Pouech eric.pouech at gmail.com
Thu Sep 2 04:21:48 CDT 2021


The following serie is the first step toward adding Dwarf3/4 support
into dbghelp.
It mainly includes:
- constant / definition updates
- hardening of code regarding error conditions, improper input stream...
- a couple of bug fixes

A+
---

Eric Pouech (13):
      dbghelp: fix in dwarf2 subprogram handling
      dbghelp: dwarf support of DW_FORM_ref_udata
      dbghelp: more traces while parsing dwarf
      dbghelp: update dwarf definitions
      dbghelp: fix dwarf constants
      dbghelp: dwarf's internals adjustement
      dbghelp: Mostly get rid of symt_cache in dwarf debug information
      dbghelp: Added an unknown type in symt_cache for handling bad references to types
      dbghelp: check correctness of type (esp. in case of unknown ones)
      dbghelp: No longer call assert() on missing subprogram dwarf's information
      dbghelp: Harden inspection of Dwarf line number information
      dbghelp: Fix some erroneous string manipulation when said string is empty ""
      dbghelp: Properly handle errors when reading first DIE in compilation unit


 dlls/dbghelp/dbghelp_private.h |   5 +
 dlls/dbghelp/dwarf.c           | 191 ++++++++++++++-------------------
 dlls/dbghelp/dwarf.h           |  44 +++++++-
 dlls/dbghelp/source.c          |   2 +-
 4 files changed, 129 insertions(+), 113 deletions(-)




More information about the wine-devel mailing list