C# 클래스 SharpDisasm.Udis86.udis86

The C# udis86 library ported from C.

For more information about how to use the C-based library see the udis86 project on GitHub https://github.com/vmt/udis86

This static class is thread safe ONLY WHEN using separate ud instances.

This class is deliberately written to match as closely as possible to the original C-library.
파일 보기 프로젝트 열기: spazzarama/SharpDisasm

공개 메소드들

메소드 설명
ud_disassemble ( ud &u ) : int
ud_init ( ud &u ) : void
ud_insn_asm ( ud &u ) : string

returns the disassembled instruction

ud_insn_len ( ud &u ) : int

Returns the count of bytes disassembled.

ud_insn_opr ( ud &u, int n, ud_operand &op ) : void
ud_lookup_mnemonic ( ud_mnemonic_code c ) : string
ud_opr_is_gpr ( ud_operand &opr ) : bool
ud_opr_is_sreg ( ud_operand &opr ) : bool
ud_set_input_buffer ( ud &u, IAssemblyCode code ) : void

Set the buffer as input

ud_set_input_file ( ud &u, System file ) : void
ud_set_mode ( ud &u, byte m ) : void

Set Disassembly mode

ud_set_pc ( ud &u, ulong o ) : void
ud_set_syntax ( ud &u, UdTranslatorDelegate t ) : void
ud_set_vendor ( ud &u, int v ) : void

비공개 메소드들

메소드 설명
inp_file_hook ( ud &u ) : int
ud_inp_init ( ud &u ) : void
ud_input_end ( ud &u ) : int
ud_input_skip ( ud &u, int n ) : void
ud_insn_hex ( ud &u ) : string
ud_insn_mnemonic ( ud &u ) : ud_mnemonic_code
ud_insn_off ( ud &u ) : ulong
ud_insn_ptr ( ud &u ) : IAssemblyCode
ud_set_asm_buffer ( ud &u, char buf, int size ) : void
ud_set_input_hook ( ud &u, UdInputCallback hook ) : void
ud_set_sym_resolver ( ud &u, UdSymbolResolverDelegate resolver ) : void

메소드 상세

ud_disassemble() 공개 정적인 메소드

public static ud_disassemble ( ud &u ) : int
u ud
리턴 int

ud_init() 공개 정적인 메소드

public static ud_init ( ud &u ) : void
u ud
리턴 void

ud_insn_asm() 공개 정적인 메소드

returns the disassembled instruction
public static ud_insn_asm ( ud &u ) : string
u ud
리턴 string

ud_insn_len() 공개 정적인 메소드

Returns the count of bytes disassembled.
public static ud_insn_len ( ud &u ) : int
u ud
리턴 int

ud_insn_opr() 공개 정적인 메소드

public static ud_insn_opr ( ud &u, int n, ud_operand &op ) : void
u ud
n int
op ud_operand
리턴 void

ud_lookup_mnemonic() 공개 정적인 메소드

public static ud_lookup_mnemonic ( ud_mnemonic_code c ) : string
c ud_mnemonic_code
리턴 string

ud_opr_is_gpr() 공개 정적인 메소드

public static ud_opr_is_gpr ( ud_operand &opr ) : bool
opr ud_operand
리턴 bool

ud_opr_is_sreg() 공개 정적인 메소드

public static ud_opr_is_sreg ( ud_operand &opr ) : bool
opr ud_operand
리턴 bool

ud_set_input_buffer() 공개 정적인 메소드

Set the buffer as input
public static ud_set_input_buffer ( ud &u, IAssemblyCode code ) : void
u ud The u.
code IAssemblyCode The code.
리턴 void

ud_set_input_file() 공개 정적인 메소드

public static ud_set_input_file ( ud &u, System file ) : void
u ud
file System
리턴 void

ud_set_mode() 공개 정적인 메소드

Set Disassembly mode
public static ud_set_mode ( ud &u, byte m ) : void
u ud
m byte
리턴 void

ud_set_pc() 공개 정적인 메소드

public static ud_set_pc ( ud &u, ulong o ) : void
u ud
o ulong
리턴 void

ud_set_syntax() 공개 정적인 메소드

public static ud_set_syntax ( ud &u, UdTranslatorDelegate t ) : void
u ud
t UdTranslatorDelegate
리턴 void

ud_set_vendor() 공개 정적인 메소드

public static ud_set_vendor ( ud &u, int v ) : void
u ud
v int
리턴 void