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

Disassembler for Win32 Assemblies. Pre-Pre-Pre Alpha version :D. UNDER CONSTRUCTION
파일 보기 프로젝트 열기: Rex-Hays/GNIDA 1 사용 예제들

공개 메소드들

메소드 설명
Disassemble ( long rawStartOffset, long length ) : InstructionCollection

Disassembles bytes to a collection of assembly instructions.

DisassembleNextInstruction ( ) : x86Instruction

Disassembles the next instruction at the current offset.

LoadOpCodes ( ) : void
x86Disassembler ( ) : System
x86Disassembler ( Stream stream ) : System

Creates a new instance of a disassembler, by using a stream as input.

x86Disassembler ( Win32Assembly assembly ) : System

Creates a new instance of a disassembler, by using an assembly as input.

x86Disassembler ( byte bytes ) : System

Creates a new instance of a disassembler, by using a byte array as input.

비공개 메소드들

메소드 설명
CreatePtr ( uint offset, OperandType offsetType = OperandType.DwordPointer ) : Operand
CreateTargetOffset ( uint offset, OperandType offsetType = OperandType.Normal ) : Operand
DecodeDoubleRegisters ( x86Instruction &instruction, byte registersToken ) : void
DecodeRegisterPair ( x86Instruction instruction, byte registerToken, x86Register &register1, x86Register &register2 ) : void
DecodeSingleRegister ( x86Instruction &instruction, byte registersToken ) : void
GetDoubleRegisterMask ( byte registerToken, byte &registerMask1, byte &registerMask2 ) : void
GetSingleRegisterMask ( byte registerToken ) : byte
MatchWithOpCodes ( byte opcodeByte ) : TUP.AsmResolver.ASM.x86OpCode[]
ProcessInvalidInstruction ( x86Instruction instruction ) : void
ProcessOperandBytes ( x86Instruction instruction ) : void
ProcessOverrideOperand ( x86Instruction instruction ) : void
ProcessRegisterOperands ( x86Instruction instruction ) : void
ProcessVariableByteIndex ( x86OpCode &opcode ) : void
ReadRawOperand ( x86OpCode opcode ) : byte[]
RetrieveNextOpCode ( ) : x86OpCode
SelectOpCodeFromToken ( x86OpCode matches, byte token ) : x86OpCode

메소드 상세

Disassemble() 공개 메소드

Disassembles bytes to a collection of assembly instructions.
public Disassemble ( long rawStartOffset, long length ) : InstructionCollection
rawStartOffset long The starting offset
length long The length. This value is overwritten when the last instruction's bounds are outside of the bounds.
리턴 InstructionCollection

DisassembleNextInstruction() 공개 메소드

Disassembles the next instruction at the current offset.
public DisassembleNextInstruction ( ) : x86Instruction
리턴 x86Instruction

LoadOpCodes() 공개 메소드

public LoadOpCodes ( ) : void
리턴 void

x86Disassembler() 공개 메소드

public x86Disassembler ( ) : System
리턴 System

x86Disassembler() 공개 메소드

Creates a new instance of a disassembler, by using a stream as input.
public x86Disassembler ( Stream stream ) : System
stream Stream The stream to be disassembled.
리턴 System

x86Disassembler() 공개 메소드

Creates a new instance of a disassembler, by using an assembly as input.
public x86Disassembler ( Win32Assembly assembly ) : System
assembly Win32Assembly The assembly to be disassembled.
리턴 System

x86Disassembler() 공개 메소드

Creates a new instance of a disassembler, by using a byte array as input.
public x86Disassembler ( byte bytes ) : System
bytes byte The bytes to be disassembled.
리턴 System