Specifies flags which apply to a Section.
Namespace: SharpAssembler.CoreAssembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
[FlagsAttribute] public enum SectionFlags |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration SectionFlags |
| Visual C++ |
|---|
[FlagsAttribute] public enum class SectionFlags |
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | No flags are specified. | |
| Allocated | 1 | The contents of this section is copied from the object file to memory on execution. | |
| Writable | 2 | The contents of this section requires writing permission. | |
| Executable | 4 | The contents of this section requires execute permission. | |
| Virtual | 8 | The contents of this section is zeroed. It is assumed to be present in memory on execution, but is not written in the file. | |
| SetFlag | Sets or clears the specified flags in an enum, and returns the result. |