Table of Contents

Class Arm64RuntimeFunction

Namespace
AsmResolver.PE.Exceptions
Assembly
AsmResolver.PE.dll

Represents a single runtime function in a Structured Exception Handler (SEH) table of a portable executable targeting the ARM64 architecture.

public class Arm64RuntimeFunction : IRuntimeFunction, IWritable
Inheritance
Arm64RuntimeFunction
Implements
Inherited Members

Constructors

Arm64RuntimeFunction(ISegmentReference, IArm64UnwindInfo)

Creates a new runtime function for the ARM64 architecture.

public Arm64RuntimeFunction(ISegmentReference begin, IArm64UnwindInfo unwindInfo)

Parameters

begin ISegmentReference

The reference to the beginning of the function.

unwindInfo IArm64UnwindInfo

The unwind information associated to the function.

Fields

EntrySize

The size of a single entry.

public const int EntrySize = 8

Field Value

int

Properties

Begin

Gets the address to the beginning of the referenced function.

public ISegmentReference Begin { get; set; }

Property Value

ISegmentReference

End

Gets the address to the end of the referenced function.

public ISegmentReference End { get; set; }

Property Value

ISegmentReference

UnwindInfo

Gets or sets the unwind info associated with this runtime function.

public IArm64UnwindInfo? UnwindInfo { get; set; }

Property Value

IArm64UnwindInfo

Methods

FromReader(PEReaderContext, ref BinaryStreamReader)

Reads a single Arm64RuntimeFunction from the provided input stream.

public static Arm64RuntimeFunction FromReader(PEReaderContext context, ref BinaryStreamReader reader)

Parameters

context PEReaderContext

The reader context.

reader BinaryStreamReader

The input stream.

Returns

Arm64RuntimeFunction

The read function entry.

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.