forked from ReClassNET/ReClass.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSection.cs
More file actions
47 lines (40 loc) · 720 Bytes
/
Section.cs
File metadata and controls
47 lines (40 loc) · 720 Bytes
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
38
39
40
41
42
43
44
45
46
47
using System;
namespace ReClassNET.Memory
{
public enum SectionCategory
{
Unknown,
CODE,
DATA,
HEAP
}
[Flags]
public enum SectionProtection
{
NoAccess = 0,
Read = 1,
Write = 2,
CopyOnWrite = 4,
Execute = 8,
Guard = 16
}
public enum SectionType
{
Unknown,
Private,
Mapped,
Image
}
public class Section
{
public IntPtr Start { get; set; }
public IntPtr End { get; set; }
public IntPtr Size { get; set; }
public string Name { get; set; }
public SectionCategory Category { get; set; }
public SectionProtection Protection { get; set; }
public SectionType Type { get; set; }
public string ModuleName { get; set; }
public string ModulePath { get; set; }
}
}