Interface IStaticInstructionProvider<TInstruction>
Represents a collection of instructions that can be accessed by their offset.
public interface IStaticInstructionProvider<TInstruction> where TInstruction : notnull
Type Parameters
TInstructionThe type of instructions that this collection provides.
Properties
Architecture
Gets the architecture describing the instructions exposed by this instruction provider.
IArchitecture<TInstruction> Architecture { get; }
Property Value
- IArchitecture<TInstruction>
Methods
GetInstructionAtOffset(long)
Gets the instruction at the provided address.
TInstruction GetInstructionAtOffset(long offset)
Parameters
offsetlongThe address of the instruction to get.
Returns
- TInstruction
The instruction at the provided address.