Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 839fab41a5
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 34 lines (22 sloc) 0.763 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
// Written by Fabian "ryg" Giesen.
// I hereby place this code in the public domain.

#ifndef __PDBFILE_HPP_
#define __PDBFILE_HPP_

#include "debuginfo.hpp"

/****************************************************************************/

class IDiaSession;

class PDBFileReader : public DebugInfoReader
{
  struct SectionContrib;

  SectionContrib *Contribs;
  sInt nContribs;

  IDiaSession *Session;
  sU32 DanglingLengthStart;

  sU32 CompilandFromSectionOffset(sU32 section,sU32 offset,sBool &codeFlag);
  void ProcessSymbol(class IDiaSymbol *symbol,DebugInfo &to);
  void ReadEverything(DebugInfo &to);

public:
  sBool ReadDebugInfo(sChar *fileName,DebugInfo &to);
};

/****************************************************************************/

#endif
Something went wrong with that request. Please try again.