C# 클래스 TUP.AsmResolver.ASM.InstructionCollection

A collection of Assembly Instructions with extra functions.
상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: Rex-Hays/GNIDA 1 사용 예제들

공개 메소드들

메소드 설명
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