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
ISegmentReferenceThe reference to the beginning of the function.
unwindInfo
IArm64UnwindInfoThe unwind information associated to the function.
Fields
EntrySize
The size of a single entry.
public const int EntrySize = 8
Field Value
Properties
Begin
Gets the address to the beginning of the referenced function.
public ISegmentReference Begin { get; set; }
Property Value
End
Gets the address to the end of the referenced function.
public ISegmentReference End { get; set; }
Property Value
UnwindInfo
Gets or sets the unwind info associated with this runtime function.
public IArm64UnwindInfo? UnwindInfo { get; set; }
Property Value
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
PEReaderContextThe reader context.
reader
BinaryStreamReaderThe 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
BinaryStreamWriterThe output stream to write the data to.