ImageSectionFlags Enumeration
Specifies the values for the Characteristics property of a section header of a PE image file.
Namespace:
BytecodeApi.FileFormats.PEAssembly: BytecodeApi.FileFormats (in BytecodeApi.FileFormats.dll)
Syntax
[FlagsAttribute] public enum ImageSectionFlags
<FlagsAttribute> _ Public Enumeration ImageSectionFlags
[FlagsAttribute] public enum class ImageSectionFlags
Members
Member name | Description | |
---|---|---|
NoPadding | Specifies that the section should not be padded to the next boundary. This flag is obsolete and is replaced by Align1. This is valid only for object files. | |
ContainsCode | Specifies that the section contains executable code. | |
ContainsInitializedData | Specifies that the section contains initialized data. | |
ContainsUninitializedData | Specifies that the section contains uninitialized data. | |
ContainsInformation | Specifies that the section contains comments or other information. The .drectve section has this type. This is valid for object files only. | |
Remove | Specifies that the section will not become part of the image. This is valid only for object files. | |
ContainsComdat | Specifies that the section contains COMDAT data. This is valid only for object files. | |
ContainsGlobalPointerData | Specifies that the section contains data referenced through the global pointer (GP). | |
Align1 | Specifies to align data on a 1-byte boundary. Valid only for object files. | |
Align2 | Specifies to align data on a 2-byte boundary. Valid only for object files. | |
Align4 | Specifies to align data on a 4-byte boundary. Valid only for object files. | |
Align8 | Specifies to align data on a 8-byte boundary. Valid only for object files. | |
Align16 | Specifies to align data on a 16-byte boundary. Valid only for object files. | |
Align32 | Specifies to align data on a 32-byte boundary. Valid only for object files. | |
Align64 | Specifies to align data on a 64-byte boundary. Valid only for object files. | |
Align128 | Specifies to align data on a 128-byte boundary. Valid only for object files. | |
Align256 | Specifies to align data on a 256-byte boundary. Valid only for object files. | |
Align512 | Specifies to align data on a 512-byte boundary. Valid only for object files. | |
Align1024 | Specifies to align data on a 1024-byte boundary. Valid only for object files. | |
Align2048 | Specifies to align data on a 2048-byte boundary. Valid only for object files. | |
Align4096 | Specifies to align data on a 4096-byte boundary. Valid only for object files. | |
Align8192 | Specifies to align data on a 8192-byte boundary. Valid only for object files. | |
ContainsExtendedRelocations | Specifies that the section contains extended relocations. | |
Discardable | Specifies that the section can be discarded as needed. | |
NotCached | Specifies that the section cannot be cached. | |
NotPaged | Specifies that the section is not pageable. | |
Shared | Specifies that the section can be shared in memory. | |
Execute | Specifies that the section can be executed as code. | |
Read | Specifies that the section can be read. | |
Write | Specifies that the section can be written to. |