B2R2


Register Module

This module exposes several useful functions to handle Intel registers.

Types

Type Description

Kind

Intel register kind, which is based on their usage.

Functions and values

Function or value Description

Register.extendRegister32 _arg1

Full Usage: Register.extendRegister32 _arg1

Parameters:
Returns: Register
_arg1 : Register
Returns: Register

Register.extendRegister64 _arg1

Full Usage: Register.extendRegister64 _arg1

Parameters:
Returns: Register
_arg1 : Register
Returns: Register

Register.getAliases _arg1

Full Usage: Register.getAliases _arg1

Parameters:
Returns: Register[]
_arg1 : Register
Returns: Register[]

Register.getKind reg

Full Usage: Register.getKind reg

Parameters:
Returns: Kind
reg : Register
Returns: Kind

Register.getSize reg

Full Usage: Register.getSize reg

Parameters:
Returns: int<MeasureProduct<rt, MeasureOne>>
reg : Register
Returns: int<MeasureProduct<rt, MeasureOne>>

Register.make id kind size

Full Usage: Register.make id kind size

Parameters:
    id : int
    kind : Kind
    size : int

Returns: Register
id : int
kind : Kind
size : int
Returns: Register

Register.ofRegID n

Full Usage: Register.ofRegID n

Parameters:
Returns: Register
n : RegisterID
Returns: Register

Register.ofString str

Full Usage: Register.ofString str

Parameters:
    str : string

Returns: Register
str : string
Returns: Register

Register.pseudoRegToReg _arg1

Full Usage: Register.pseudoRegToReg _arg1

Parameters:
Returns: Register
_arg1 : Register
Returns: Register

Register.regToPseudoReg _arg1

Full Usage: Register.regToPseudoReg _arg1

Parameters:
Returns: Register list
_arg1 : Register
Returns: Register list

Register.toRegID reg

Full Usage: Register.toRegID reg

Parameters:
Returns: int<MeasureProduct<T, MeasureOne>>
reg : Register
Returns: int<MeasureProduct<T, MeasureOne>>

Register.toRegType _arg1

Full Usage: Register.toRegType _arg1

Parameters:
Returns: int<MeasureProduct<rt, MeasureOne>>
_arg1 : Register
Returns: int<MeasureProduct<rt, MeasureOne>>

Register.toString _arg1

Full Usage: Register.toString _arg1

Parameters:
Returns: string
_arg1 : Register
Returns: string