C# Class Emul8.Disassembler.LLVM.LLVMDisasWrapper

Inheritance: IDisposable
Mostrar archivo Open project: emul8/emul8

Public Methods

Method Description
Disassemble ( IntPtr data, System.UInt64 sz, System.UInt64 pc, IntPtr buf, UInt32 bufSz ) : int
Dispose ( ) : void
LLVMDisasWrapper ( string cpu, string triple ) : System

Private Methods

Method Description
FormatHexForARM ( StringBuilder strBldr, int bytes, int position, byte data ) : bool
FormatHexForx86 ( StringBuilder strBldr, int bytes, int position, byte data ) : bool
LLVMCreateDisasmCPU ( string tripleName, string cpu, IntPtr disInfo, int tagType, LLVMOpInfoCallback getOpInfo, LLVMSymbolLookupCallback symbolLookUp ) : IntPtr
LLVMDisasmDispose ( IntPtr disasm ) : void
LLVMDisasmInstruction ( IntPtr dc, IntPtr bytes, System.UInt64 bytesSize, System.UInt64 PC, IntPtr outString, UInt32 outStringSize ) : int
LLVMInitializeARMDisassembler ( ) : void
LLVMInitializeARMTargetInfo ( ) : void
LLVMInitializeARMTargetMC ( ) : void
LLVMInitializeMipsDisassembler ( ) : void
LLVMInitializeMipsTargetInfo ( ) : void
LLVMInitializeMipsTargetMC ( ) : void
LLVMInitializeX86Disassembler ( ) : void
LLVMInitializeX86TargetInfo ( ) : void
LLVMInitializeX86TargetMC ( ) : void
OpInfoCallback ( IntPtr disInfo, System.UInt64 pc, System.UInt64 offset, System.UInt64 size, int tagType, IntPtr tagBuf ) : int
SymbolLoopbackCallback ( IntPtr sisInfo, System.UInt64 refVal, IntPtr &refType, System.UInt64 refPC, IntPtr refName ) : IntPtr

Method Details

Disassemble() public method

public Disassemble ( IntPtr data, System.UInt64 sz, System.UInt64 pc, IntPtr buf, UInt32 bufSz ) : int
data System.IntPtr
sz System.UInt64
pc System.UInt64
buf System.IntPtr
bufSz System.UInt32
return int

Dispose() public method

public Dispose ( ) : void
return void

LLVMDisasWrapper() public method

public LLVMDisasWrapper ( string cpu, string triple ) : System
cpu string
triple string
return System