Struct Arm64EpilogScope
- Namespace
- AsmResolver.PE.Exceptions
- Assembly
- AsmResolver.PE.dll
Represents a single scope in an ARM64 .xdata unwind record.
public struct Arm64EpilogScope : IWritable
- Implements
- Inherited Members
Constructors
Arm64EpilogScope(uint)
Creates a new epilog scope from the provided raw value.
public Arm64EpilogScope(uint value)
Parameters
value
uintThe raw value.
Arm64EpilogScope(uint, ushort)
Creates a new epilog scope from the provided starting offset and index.
public Arm64EpilogScope(uint startOffset, ushort startIndex)
Parameters
startOffset
uintThe start offset of the epilog, relative to the start of the function.
startIndex
ushortThe index of the first unwind code to execute.
Fields
Size
The size of a single epilog scope record.
public const uint Size = 4
Field Value
Properties
StartIndex
Gets or sets the index of the first unwind code to execute.
public ushort StartIndex { get; set; }
Property Value
StartOffset
Gets or sets the start offset of the epilog, relative to the start of the function.
public uint StartOffset { get; set; }
Property Value
Methods
FromReader(ref BinaryStreamReader)
Reads a single epilog scope from the provided input stream.
public static Arm64EpilogScope FromReader(ref BinaryStreamReader reader)
Parameters
reader
BinaryStreamReaderThe input stream.
Returns
- Arm64EpilogScope
The epilog scope.
GetPhysicalSize()
Computes the number of bytes that the structure contains.
public uint GetPhysicalSize()
Returns
- uint
The number of bytes.
Write(BinaryStreamWriter)
Serializes the structure to an output stream.
public void Write(BinaryStreamWriter writer)
Parameters
writer
BinaryStreamWriterThe output stream to write the data to.