Rizin
unix-like reverse engineering framework and cli tools
dbi.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2021 Basstorm <basstorm@nyist.edu.cn>
2
// SPDX-License-Identifier: LGPL-3.0-only
3
4
#ifndef PDB_DBI_H
5
#define PDB_DBI_H
6
7
#include <
rz_util.h
>
8
9
enum
dbi_stream_version
{
10
DSV_VC41
= 930803,
11
DSV_V50
= 19960307,
12
DSV_V60
= 19970606,
13
DSV_V70
= 19990903,
14
DSV_V110
= 20091201
15
};
16
17
typedef
struct
SectionContribEntry
{
18
ut16
Section
;
19
char
Padding1
[2];
20
st32
Offset
;
21
st32
Size
;
22
ut32
Characteristics
;
23
ut16
ModuleIndex
;
24
char
Padding2
[2];
25
ut32
DataCrc
;
26
ut32
RelocCrc
;
27
}
SectionContr
;
28
29
typedef
struct
dbi_stream_ex_header_t
{
30
ut32
unknown
;
31
SectionContr
sec_con
;
32
ut16
Flags
;
33
ut16
ModuleSymStream
;
34
ut32
SymByteSize
;
35
ut32
C11ByteSize
;
36
ut32
C13ByteSize
;
37
ut16
SourceFileCount
;
38
char
Padding
[2];
39
ut32
Unused2
;
40
ut32
SourceFileNameIndex
;
41
ut32
PdbFilePathNameIndex
;
42
char
*
ModuleName
;
43
char
*
ObjFileName
;
44
}
RzPdbDbiStreamExHdr
;
45
46
#endif
dbi_stream_version
dbi_stream_version
Definition:
dbi.h:9
DSV_V110
@ DSV_V110
Definition:
dbi.h:14
DSV_V60
@ DSV_V60
Definition:
dbi.h:12
DSV_V50
@ DSV_V50
Definition:
dbi.h:11
DSV_VC41
@ DSV_VC41
Definition:
dbi.h:10
DSV_V70
@ DSV_V70
Definition:
dbi.h:13
SectionContr
struct SectionContribEntry SectionContr
RzPdbDbiStreamExHdr
struct dbi_stream_ex_header_t RzPdbDbiStreamExHdr
ut16
uint16_t ut16
Definition:
demangler_util.h:30
ut32
uint32_t ut32
Definition:
demangler_util.h:31
st32
#define st32
Definition:
rz_types_base.h:12
rz_util.h
SectionContribEntry
Definition:
dbi.h:17
SectionContribEntry::Padding2
char Padding2[2]
Definition:
dbi.h:24
SectionContribEntry::Section
ut16 Section
Definition:
dbi.h:18
SectionContribEntry::Offset
st32 Offset
Definition:
dbi.h:20
SectionContribEntry::Characteristics
ut32 Characteristics
Definition:
dbi.h:22
SectionContribEntry::Padding1
char Padding1[2]
Definition:
dbi.h:19
SectionContribEntry::ModuleIndex
ut16 ModuleIndex
Definition:
dbi.h:23
SectionContribEntry::Size
st32 Size
Definition:
dbi.h:21
SectionContribEntry::DataCrc
ut32 DataCrc
Definition:
dbi.h:25
SectionContribEntry::RelocCrc
ut32 RelocCrc
Definition:
dbi.h:26
dbi_stream_ex_header_t
Definition:
dbi.h:29
dbi_stream_ex_header_t::sec_con
SectionContr sec_con
Definition:
dbi.h:31
dbi_stream_ex_header_t::ModuleName
char * ModuleName
Definition:
dbi.h:42
dbi_stream_ex_header_t::PdbFilePathNameIndex
ut32 PdbFilePathNameIndex
Definition:
dbi.h:41
dbi_stream_ex_header_t::unknown
ut32 unknown
Definition:
dbi.h:30
dbi_stream_ex_header_t::C11ByteSize
ut32 C11ByteSize
Definition:
dbi.h:35
dbi_stream_ex_header_t::C13ByteSize
ut32 C13ByteSize
Definition:
dbi.h:36
dbi_stream_ex_header_t::Flags
ut16 Flags
Definition:
dbi.h:32
dbi_stream_ex_header_t::SourceFileNameIndex
ut32 SourceFileNameIndex
Definition:
dbi.h:40
dbi_stream_ex_header_t::Padding
char Padding[2]
Definition:
dbi.h:38
dbi_stream_ex_header_t::SourceFileCount
ut16 SourceFileCount
Definition:
dbi.h:37
dbi_stream_ex_header_t::ObjFileName
char * ObjFileName
Definition:
dbi.h:43
dbi_stream_ex_header_t::SymByteSize
ut32 SymByteSize
Definition:
dbi.h:34
dbi_stream_ex_header_t::Unused2
ut32 Unused2
Definition:
dbi.h:39
dbi_stream_ex_header_t::ModuleSymStream
ut16 ModuleSymStream
Definition:
dbi.h:33
librz
bin
pdb
dbi.h
Generated by
1.9.1