Class RuntimeFunctionsSection
- Namespace
- AsmResolver.PE.DotNet.ReadyToRun
- Assembly
- AsmResolver.PE.dll
Represents a platform-agnostic ReadyToRun section containing RUNTIME_FUNCTION structures describing all code blocks in the image with pointers to their unwind info.
public abstract class RuntimeFunctionsSection : SegmentBase, IReadyToRunSection, ISegment, IOffsetProvider, IWritable
- Inheritance
-
RuntimeFunctionsSection
- Implements
- Derived
- Inherited Members
Properties
CanRead
Indicates whether the raw contents of the section can be read using a BinaryStreamReader.
public virtual bool CanRead { get; }
Property Value
Type
Gets the type of the ReadyToRun section.
public ReadyToRunSectionType Type { get; }
Property Value
Methods
CreateReader()
Creates a binary reader that reads the raw contents of the ReadyToRun section.
public virtual BinaryStreamReader CreateReader()
Returns
- BinaryStreamReader
The reader.
Exceptions
- InvalidOperationException
Occurs when CanRead is
false
.
GetFunctions()
Obtains the collection of functions stored in the section.
public abstract IEnumerable<IRuntimeFunction> GetFunctions()
Returns
- IEnumerable<IRuntimeFunction>
The functions.