C# Class CsDebugScript.CodeFunction

Wrapper class that represents a function pointer.
Mostra file Open project: southpolenator/WinDbgCs Class Usage Examples

Public Methods

Method Description
CodeFunction ( Variable variable ) : System

Initializes a new instance of the CodeFunction class.

CodeFunction ( ulong address, Process process = null ) : System

Initializes a new instance of the CodeFunction class.

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
ReadFunctionNameAndDisplacement ( ) : ulong>.Tuple

Reads the function name and displacement.

ReadSourceFileNameAndLine ( ) : Tuple

Reads the name of the source file, line and displacement.

VerifyCodeType ( CodeType codeType ) : bool

Verifies if the specified code type is correct for this class.

Method Details

CodeFunction() public method

Initializes a new instance of the CodeFunction class.
public CodeFunction ( Variable variable ) : System
variable Variable The variable.
return System

CodeFunction() public method

Initializes a new instance of the CodeFunction class.
public CodeFunction ( ulong address, Process process = null ) : System
address ulong The function address.
process Process The process.
return System

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string