Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SectionHeader.cs
Go to the documentation of this file.
1
namespace
System.Reflection.PortableExecutable
;
2
3
public
readonly
struct
SectionHeader
4
{
5
internal
const
int
NameSize
= 8;
6
7
internal
const
int
Size
= 40;
8
9
public
string
Name
{
get
; }
10
11
public
int
VirtualSize
{
get
; }
12
13
public
int
VirtualAddress
{
get
; }
14
15
public
int
SizeOfRawData
{
get
; }
16
17
public
int
PointerToRawData
{
get
; }
18
19
public
int
PointerToRelocations
{
get
; }
20
21
public
int
PointerToLineNumbers
{
get
; }
22
23
public
ushort
NumberOfRelocations
{
get
; }
24
25
public
ushort
NumberOfLineNumbers
{
get
; }
26
27
public
SectionCharacteristics
SectionCharacteristics
{
get
; }
28
29
internal
SectionHeader
(ref
PEBinaryReader
reader)
30
{
31
Name
= reader.ReadNullPaddedUTF8(8);
32
VirtualSize
= reader.ReadInt32();
33
VirtualAddress
= reader.ReadInt32();
34
SizeOfRawData
= reader.ReadInt32();
35
PointerToRawData
= reader.ReadInt32();
36
PointerToRelocations
= reader.ReadInt32();
37
PointerToLineNumbers
= reader.ReadInt32();
38
NumberOfRelocations
= reader.ReadUInt16();
39
NumberOfLineNumbers
= reader.ReadUInt16();
40
SectionCharacteristics
= (
SectionCharacteristics
)reader.ReadUInt32();
41
}
42
}
System.Reflection.PortableExecutable.SectionCharacteristics
SectionCharacteristics
Definition
SectionCharacteristics.cs:5
System.Reflection.PortableExecutable
Definition
Characteristics.cs:1
System.Reflection.PortableExecutable.PEBinaryReader
Definition
PEBinaryReader.cs:7
System.Reflection.PortableExecutable.SectionHeader.Name
string Name
Definition
SectionHeader.cs:9
System.Reflection.PortableExecutable.SectionHeader.PointerToRelocations
int PointerToRelocations
Definition
SectionHeader.cs:19
System.Reflection.PortableExecutable.SectionHeader.NameSize
const int NameSize
Definition
SectionHeader.cs:5
System.Reflection.PortableExecutable.SectionHeader.VirtualAddress
int VirtualAddress
Definition
SectionHeader.cs:13
System.Reflection.PortableExecutable.SectionHeader.PointerToLineNumbers
int PointerToLineNumbers
Definition
SectionHeader.cs:21
System.Reflection.PortableExecutable.SectionHeader.SectionHeader
SectionHeader(ref PEBinaryReader reader)
Definition
SectionHeader.cs:29
System.Reflection.PortableExecutable.SectionHeader.SectionCharacteristics
SectionCharacteristics SectionCharacteristics
Definition
SectionHeader.cs:27
System.Reflection.PortableExecutable.SectionHeader.VirtualSize
int VirtualSize
Definition
SectionHeader.cs:11
System.Reflection.PortableExecutable.SectionHeader.NumberOfRelocations
ushort NumberOfRelocations
Definition
SectionHeader.cs:23
System.Reflection.PortableExecutable.SectionHeader.NumberOfLineNumbers
ushort NumberOfLineNumbers
Definition
SectionHeader.cs:25
System.Reflection.PortableExecutable.SectionHeader.PointerToRawData
int PointerToRawData
Definition
SectionHeader.cs:17
System.Reflection.PortableExecutable.SectionHeader.SizeOfRawData
int SizeOfRawData
Definition
SectionHeader.cs:15
System.Reflection.PortableExecutable.SectionHeader.Size
const int Size
Definition
SectionHeader.cs:7
System.Reflection.PortableExecutable.SectionHeader
Definition
SectionHeader.cs:4
source
System.Reflection.Metadata
System.Reflection.PortableExecutable
SectionHeader.cs
Generated by
1.10.0