Header menu logo B2R2

IRegisterFactory Type

Provides a platform-agnostic interface for accessing register information.

Instance members

Instance member Description

this.FramePointer

Full Usage: this.FramePointer

Returns: RegisterID option
Modifiers: abstract

Returns a frame pointer register for a given BinHandle.

Returns: RegisterID option

this.GetRegType

Full Usage: this.GetRegType

Parameters:
Returns: RegType
Modifiers: abstract

Returns a RegType from a given RegisterID.

arg0 : RegisterID
Returns: RegType

this.GetRegisterID

Full Usage: this.GetRegisterID

Parameters:
    name : string

Returns: RegisterID
Modifiers: abstract

Returns RegisterID from a given register string. Depending on the underlying architecture of the BinHandle, we may have different RegisterID.

name : string
Returns: RegisterID

this.GetRegisterID

Full Usage: this.GetRegisterID

Parameters:
Returns: RegisterID
Modifiers: abstract

Returns RegisterID from a given register var expression.

expr : Expr
Returns: RegisterID

this.GetRegisterIDAliases

Full Usage: this.GetRegisterIDAliases

Parameters:
Returns: RegisterID[]
Modifiers: abstract

Returns an array of aliases of a given register based on the current architecture of BinHandle.

arg0 : RegisterID
Returns: RegisterID[]

this.ISA

Full Usage: this.ISA

Returns: ISA
Modifiers: abstract

Returns the ISA associated with the current register factory.

Returns: ISA

this.IsFramePointer

Full Usage: this.IsFramePointer

Parameters:
Returns: bool
Modifiers: abstract

Checks if the given RegisterID represents a frame pointer.

arg0 : RegisterID
Returns: bool

this.IsProgramCounter

Full Usage: this.IsProgramCounter

Parameters:
Returns: bool
Modifiers: abstract

Checks if the given RegisterID represents PC.

arg0 : RegisterID
Returns: bool

this.IsStackPointer

Full Usage: this.IsStackPointer

Parameters:
Returns: bool
Modifiers: abstract

Checks if the given RegisterID represents a stack pointer.

arg0 : RegisterID
Returns: bool

this.ProgramCounter

Full Usage: this.ProgramCounter

Returns: RegisterID
Modifiers: abstract

Returns a program counter register for a given BinHandle.

Returns: RegisterID

this.StackPointer

Full Usage: this.StackPointer

Returns: RegisterID option
Modifiers: abstract

Returns a stack pointer register for a given BinHandle.

Returns: RegisterID option

Type something to start searching.