C# Класс TUP.AsmResolver.ASM.InstructionCollection

A collection of Assembly Instructions with extra functions.
Наследование: System.Collections.CollectionBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( x86Instruction instruction ) : void

Adds an instruction to the Assembly Instruction Collection.

First ( ) : x86Instruction

Gets the first instruction of the collection.

GetAsmCode ( ) : string

Returns the instruction list in string format.

GetInstructionByOffset ( long TargetOffset ) : x86Instruction

Gets the assembly instruction in the application by its offset.

GetInstructionByVirtualOffset ( ulong TargetOffset ) : x86Instruction

Gets the assembly instruction in the application by its virtual offset.

GetInstructionIndexByOffset ( long TargetOffset ) : int

Gets the assembly instruction index by its offset

GetInstructionIndexByVirtualOffset ( ulong TargetOffset ) : int

Gets the assembly instruction in the application by its virtual offset.

IndexOf ( x86Instruction instruction ) : int

Gets the index of a given instruction.

Insert ( int index, x86Instruction instruction ) : void

Inserts at the specified index an instruction into the collection.

Last ( ) : x86Instruction

Gets the last instruction of the collection.

this ( int Index ) : x86Instruction

Gets or sets the instruction at the specific index.

Описание методов

Add() публичный Метод

Adds an instruction to the Assembly Instruction Collection.
public Add ( x86Instruction instruction ) : void
instruction x86Instruction The instruction to add.
Результат void

First() публичный Метод

Gets the first instruction of the collection.
public First ( ) : x86Instruction
Результат x86Instruction

GetAsmCode() публичный Метод

Returns the instruction list in string format.
public GetAsmCode ( ) : string
Результат string

GetInstructionByOffset() публичный Метод

Gets the assembly instruction in the application by its offset.
public GetInstructionByOffset ( long TargetOffset ) : x86Instruction
TargetOffset long The Offset of the instruction go get.
Результат x86Instruction

GetInstructionByVirtualOffset() публичный Метод

Gets the assembly instruction in the application by its virtual offset.
public GetInstructionByVirtualOffset ( ulong TargetOffset ) : x86Instruction
TargetOffset ulong The Offset of the instruction go get.
Результат x86Instruction

GetInstructionIndexByOffset() публичный Метод

Gets the assembly instruction index by its offset
public GetInstructionIndexByOffset ( long TargetOffset ) : int
TargetOffset long The Offset of the instruction go get.
Результат int

GetInstructionIndexByVirtualOffset() публичный Метод

Gets the assembly instruction in the application by its virtual offset.
public GetInstructionIndexByVirtualOffset ( ulong TargetOffset ) : int
TargetOffset ulong The Offset of the instruction go get.
Результат int

IndexOf() публичный Метод

Gets the index of a given instruction.
public IndexOf ( x86Instruction instruction ) : int
instruction x86Instruction The instruction to get the index from.
Результат int

Insert() публичный Метод

Inserts at the specified index an instruction into the collection.
public Insert ( int index, x86Instruction instruction ) : void
index int The zero-based index at which value should be inserted.
instruction x86Instruction The instruction to insert into the collection.
Результат void

Last() публичный Метод

Gets the last instruction of the collection.
public Last ( ) : x86Instruction
Результат x86Instruction

this() публичный Метод

Gets or sets the instruction at the specific index.
public this ( int Index ) : x86Instruction
Index int The index of the instruction to get or set.
Результат x86Instruction