Table of Contents

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 uint

The 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 uint

The start offset of the epilog, relative to the start of the function.

startIndex ushort

The 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

uint

Properties

StartIndex

Gets or sets the index of the first unwind code to execute.

public ushort StartIndex { get; set; }

Property Value

ushort

StartOffset

Gets or sets the start offset of the epilog, relative to the start of the function.

public uint StartOffset { get; set; }

Property Value

uint

Methods

FromReader(ref BinaryStreamReader)

Reads a single epilog scope from the provided input stream.

public static Arm64EpilogScope FromReader(ref BinaryStreamReader reader)

Parameters

reader BinaryStreamReader

The 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 BinaryStreamWriter

The output stream to write the data to.