C# Class AsmResolver.X86.X86Disassembler

Provides a mechanism for disassembling bytes to x86 instructions.
ファイルを表示 Open project: JerreS/AsmResolver Class Usage Examples

Public Methods

Method Description
ReadNextInstruction ( ) : X86Instruction

Disassembles the next instruction of the input stream.

X86Disassembler ( IBinaryStreamReader reader ) : System
X86Disassembler ( IBinaryStreamReader reader, long baseAddress ) : System

Private Methods

Method Description
GetOperandType ( X86OperandSize size ) : X86OperandUsage
GetRegOrMemOperand32 ( byte registerToken, X86OperandSize size ) : X86Operand
GetRegisterFromToken ( byte token, X86RegisterSize size ) : X86Register
GetRegisterSize ( X86OperandSize size ) : X86RegisterSize
MakeScaledIndexOperandFromToken ( X86Operand operand, byte token ) : void
ReadImmediateData ( X86OperandSize size ) : object
ReadOpcode ( byte code1 ) : X86OpCode
ReadOperand ( X86OperandType method, X86OperandSize size, byte opcode, byte registerToken ) : X86Operand
ReadSignedImmediateData ( X86OperandSize size ) : object

Method Details

ReadNextInstruction() public method

Disassembles the next instruction of the input stream.
public ReadNextInstruction ( ) : X86Instruction
return X86Instruction

X86Disassembler() public method

public X86Disassembler ( IBinaryStreamReader reader ) : System
reader IBinaryStreamReader
return System

X86Disassembler() public method

public X86Disassembler ( IBinaryStreamReader reader, long baseAddress ) : System
reader IBinaryStreamReader
baseAddress long
return System