binaryninja.function.Variable

class Variable(func, source_type, index, storage, name=None, var_type=None, identifier=None)[source]
__init__(func, source_type, index, storage, name=None, var_type=None, identifier=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(func, source_type, index, storage)

Initialize self.

from_identifier(func, identifier[, name, …])

to_BNVariable()

Attributes

dead_store_elimination

function

Function where the variable is defined

identifier

index

name

Name of the variable

source_type

VariableSourceType

storage

Stack offset for StackVariableSourceType, register index for RegisterVariableSourceType

type