forked from revivalizer/rekkrunchy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pdbfile.hpp
37 lines (25 loc) · 835 Bytes
/
pdbfile.hpp
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
34
35
36
37
// Written by Fabian "ryg" Giesen.
// I hereby place this code in the public domain.
#ifndef __PDBFILE_HPP_
#define __PDBFILE_HPP_
#include "debuginfo.hpp"
namespace rekkrunchy
{
/****************************************************************************/
struct 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( struct IDiaSymbol *symbol, DebugInfo &to );
void ReadEverything( DebugInfo &to );
public:
sBool ReadDebugInfo( sChar *fileName, DebugInfo &to );
};
/****************************************************************************/
}
#endif