Enum SectionFlags
- Namespace
- AsmResolver.PE.File
- Assembly
- AsmResolver.PE.File.dll
Provides members describing all possible flags that can be assigned to a section.
[Flags]
public enum SectionFlags : uint
Fields
Align1024Bytes = Align1Bytes | Align512BytesAlign data on a 1024-byte boundary. Valid only for object files.
Align128Bytes = 8388608Align data on a 128-byte boundary. Valid only for object files.
Align16Bytes = Align1Bytes | Align8BytesAlign data on a 16-byte boundary. Valid only for object files.
Align1Bytes = 1048576Align data on a 1-byte boundary. Valid only for object files.
Align2048Bytes = Align8Bytes | Align128BytesAlign data on a 2048-byte boundary. Valid only for object files.
Align256Bytes = Align1Bytes | Align128BytesAlign data on a 256-byte boundary. Valid only for object files.
Align2Bytes = 2097152Align data on a 2-byte boundary. Valid only for object files.
Align32Bytes = Align2Bytes | Align8BytesAlign data on a 32-byte boundary. Valid only for object files.
Align4096Bytes = Align1Bytes | Align2048BytesAlign data on a 4096-byte boundary. Valid only for object files.
Align4Bytes = Align1Bytes | Align2BytesAlign data on a 4-byte boundary. Valid only for object files.
Align512Bytes = Align2Bytes | Align128BytesAlign data on a 512-byte boundary. Valid only for object files.
Align64Bytes = Align1Bytes | Align32BytesAlign data on a 64-byte boundary. Valid only for object files.
Align8192Bytes = Align2Bytes | Align2048BytesAlign data on an 8192-byte boundary. Valid only for object files.
Align8Bytes = 4194304Align data on an 8-byte boundary. Valid only for object files.
ContentCode = 32The section contains executable code.
ContentInitializedData = 64The section contains initialized data.
ContentUninitializedData = 128The section contains uninitialized data.
LinkComDat = 4096The section contains COMDAT data. For more information, see section 5.5.6, COMDAT Sections (Object Only). This is valid only for object files.
LinkExtendedRelocationOverflow = 16777216The section contains extended relocations.
LinkInfo = 512The section contains comments or other information. The .drectve section has this type. This is valid for object files only.
LinkOther = 256Reserved for future use.
LinkRemove = 2048The section will not become part of the image. This is valid only for object files.
MemPurgeable = 131072Reserved for future use.
Memory16Bit = 131072Reserved for future use.
MemoryDiscardable = 33554432The section can be discarded as needed.
MemoryExecute = 536870912The section can be executed as code.
MemoryLocked = 262144Reserved for future use.
MemoryNotCached = 67108864The section cannot be cached.
MemoryNotPaged = 134217728The section is not pageable.
MemoryPreload = 524288Reserved for future use.
MemoryRead = 1073741824The section can be read.
The section can be shared in memory.
MemoryWrite = 2147483648The section can be written.
NoDeferSpecExceptions = 16384Reset speculative exceptions handling bits in the TLB entries for this section.
RelativeGp = 32768The section contains data referenced through the global pointer (GP).
TypeCopy = 16Reserved for future use.
TypeDsect = 1Reserved for future use.
TypeGroup = 4Reserved for future use.
TypeNoLoad = 2Reserved for future use.
TypeNoPadded = 8The section should not be padded to the next boundary. This flag is obsolete and is replaced by Align1Bytes. This is valid only for object files.
TypeOver = 1024Reserved for future use.