C# 클래스 TUP.AsmResolver.Offset

Represents an offset to a value or structure in an assembly, containing the raw, virtual and relative virtual address.
파일 보기 프로젝트 열기: Rex-Hays/GNIDA 1 사용 예제들

공개 메소드들

메소드 설명
FromFileOffset ( uint rawoffset, Win32Assembly assembly ) : Offset

Creates an instance of an offset by specifying a raw offset.

FromRva ( uint rva, Win32Assembly assembly ) : Offset

Creates an instance of an offset by specifying a virtual address that is relative to a section.

FromVa ( ulong va, Win32Assembly assembly ) : Offset

Creates an instance of an offset by specifying a virtual address.

Offset ( uint offset, uint rva, ulong va ) : System

Creates a new instance of an offset.

ToAsciiString ( Win32Assembly assembly ) : string

Converts the offset to an Ascii string.

ToAsciiStringPtr ( Win32Assembly assembly ) : ulong

Converts the offset to an Ascii String pointer.

ToInstruction ( Win32Assembly assembly ) : x86Instruction

Converts the offset to an instruction.

ToMethod ( Win32Assembly assembly ) : IMethod

Converts the offset to an imported or exported method/

ToString ( ) : string

Returns a string representation of the offset value.

ToString ( string format ) : string

Returns a string representation of the offset value.

비공개 메소드들

메소드 설명
CreateConverter ( Win32Assembly assembly, ulong offset, int type ) : OffsetConverter

메소드 상세

FromFileOffset() 공개 정적인 메소드

Creates an instance of an offset by specifying a raw offset.
public static FromFileOffset ( uint rawoffset, Win32Assembly assembly ) : Offset
rawoffset uint The file offset.
assembly Win32Assembly The assembly containing the offset.
리턴 Offset

FromRva() 공개 정적인 메소드

Creates an instance of an offset by specifying a virtual address that is relative to a section.
public static FromRva ( uint rva, Win32Assembly assembly ) : Offset
rva uint The relative virtual address.
assembly Win32Assembly The assembly containing the offset.
리턴 Offset

FromVa() 공개 정적인 메소드

Creates an instance of an offset by specifying a virtual address.
public static FromVa ( ulong va, Win32Assembly assembly ) : Offset
va ulong The virtual address.
assembly Win32Assembly The assembly containing the offset.
리턴 Offset

Offset() 공개 메소드

Creates a new instance of an offset.
public Offset ( uint offset, uint rva, ulong va ) : System
offset uint The raw offset.
rva uint The virtual address that is relative to a section.
va ulong The virtual address.
리턴 System

ToAsciiString() 공개 메소드

Converts the offset to an Ascii string.
public ToAsciiString ( Win32Assembly assembly ) : string
assembly Win32Assembly The assembly that contains the offset
리턴 string

ToAsciiStringPtr() 공개 메소드

Converts the offset to an Ascii String pointer.
public ToAsciiStringPtr ( Win32Assembly assembly ) : ulong
assembly Win32Assembly The assembly that contains the offset
리턴 ulong

ToInstruction() 공개 메소드

Converts the offset to an instruction.
public ToInstruction ( Win32Assembly assembly ) : x86Instruction
assembly Win32Assembly The assembly that contains the offset
리턴 TUP.AsmResolver.ASM.x86Instruction

ToMethod() 공개 메소드

Converts the offset to an imported or exported method/
public ToMethod ( Win32Assembly assembly ) : IMethod
assembly Win32Assembly The assembly that contains the offset
리턴 IMethod

ToString() 공개 메소드

Returns a string representation of the offset value.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Returns a string representation of the offset value.
public ToString ( string format ) : string
format string
리턴 string