[PATCH 0/9] Stream indices in PDB files

Eric Pouech eric.pouech at orange.fr
Mon Jan 17 14:52:56 CST 2011

We had been using hardwired stream indices in PDB file to get to some objects.
It turns out (as largely believed) that quite of those hardwired values are
actually defined somewhere inside the PDB file itself.
This patch series implement two enhancements to PDB parsing:
- some streams can be given a name (it's the case for the string table)
- some streams are defined in an ad hoc structure
and implementation is provided in both winedump and dbghelp.
It also enhances a bit some dumping facilities in winedump (fpo streams in JG PDB
files, segment information is back (JG and DS)).


Eric Pouech (9):
      [WineDump]: now forcing the PDB_??_ROOT to always be present in reader object
      [WineDump]: now properly dumping streams names information out of ROOT object
      [WineDump]: now getting string table stream index out of ROOT named streams list
      [WineDump]: added stream header support
      [WineDump]: making use of PDB_STREAM_INDEXES in order to get rid of hardwired indexes
      [WineDump]: now dumping segment info out of PDB files
      [WineDump]: also dumping FPO data out of JG PDB files
      [DbgHelp]: added support for stream lookup by name in PDB files and use it for strings stream
      [DbgHelp]: now getting stream indexes out of PDB files (instead of hardwired values)

 dlls/dbghelp/msc.c     |  107 +++++++++++++-
 include/wine/mscvpdb.h |   29 ++++
 tools/winedump/pdb.c   |  359 ++++++++++++++++++++++++++++++++++++------------
 3 files changed, 391 insertions(+), 104 deletions(-)

Eric Pouech

More information about the wine-patches mailing list