Skip to content

RemoteCallHelper.FunctionDetails ​

Represents the details of a function, including its name, calling convention, return type, and parameter types.

Kind: Class

Namespace: ConnectorLib.Inject

Public Constructors

RemoteCallHelper.FunctionDetails(Type[] paramTypes, bool varParams = false)

Creates a new instance of the ConnectorLib.Inject.RemoteCallHelper.FunctionDetails class.

RemoteCallHelper.FunctionDetails(Type[] paramTypes, Type returnType)

Creates a new instance of the ConnectorLib.Inject.RemoteCallHelper.FunctionDetails class.

RemoteCallHelper.FunctionDetails(CallConv callConv, Type[] paramTypes, Type returnType)

Creates a new instance of the ConnectorLib.Inject.RemoteCallHelper.FunctionDetails class.

RemoteCallHelper.FunctionDetails(string name, CallConv callConv, Type[] paramTypes, Type returnType = null)

Creates a new instance of the ConnectorLib.Inject.RemoteCallHelper.FunctionDetails class.

RemoteCallHelper.FunctionDetails(string name, CallConv callConv, Type[] paramTypes, bool varParams = false, Type returnType = null)

Creates a new instance of the ConnectorLib.Inject.RemoteCallHelper.FunctionDetails class.

Public Static Functions

FunctionDetails

FromParameters(object[] parameters, bool varParams = false)

Creates a new instance of the ConnectorLib.Inject.RemoteCallHelper.FunctionDetails class.

bool

TryDemangle(IEnumerable mangledNames, string[] out demangledNames)

Tries to demangle a mangled name using the LLVM demangler.

bool

TryParseMangled(string mangledName, FunctionDetails out result)

Tries to parse a mangled name into a ConnectorLib.Inject.RemoteCallHelper.FunctionDetails object.

bool

TryParseDemangled(string demangledName, FunctionDetails out result)

Tries to parse a demangled name into a ConnectorLib.Inject.RemoteCallHelper.FunctionDetails object.

Public Attributes

string

Name

The name of the function.

CallConv

CallConv

The calling convention of the function.

Type

ReturnType

The return type of the function.

string

ReturnTypeName

The name of the return type of the function.

Type[]

ParamTypes

The parameter types of the function.

string[]

ParamTypeNames

The names of the parameter types of the function.

bool

VarParams

If true, the function is called with variable parameters.