angr.analyses.data_dep.dep_nodes

class angr.analyses.data_dep.dep_nodes.DepNodeTypes

Bases: object

Enumeration of types of BaseDepNode supported by this analysis

Memory = 1
Register = 2
Tmp = 3
Constant = 4
class angr.analyses.data_dep.dep_nodes.BaseDepNode

Bases: object

Base class for all nodes in a data-dependency graph

__init__(type_, sim_act)
Parameters:
action_id: int
value: int | None
value_tuple()
Return type:

tuple[BV, int]

Returns:

A tuple containing the node’s value as a BV and as an evaluated integer

property ast: BV
property type: int

Getter :return: An integer defined in DepNodeTypes, represents the subclass type of this DepNode.

class angr.analyses.data_dep.dep_nodes.ConstantDepNode

Bases: BaseDepNode

Used to create a DepNode that will hold a constant, numeric value Uniquely identified by its value

__init__(sim_act, value)
Parameters:
class angr.analyses.data_dep.dep_nodes.MemDepNode

Bases: BaseDepNode

Used to represent SimActions of type MEM

__init__(sim_act, addr)
Parameters:
property width: int
classmethod cast_to_mem(base_dep_node)

Casts a BaseDepNode into a MemDepNode

Parameters:

base_dep_node (BaseDepNode)

class angr.analyses.data_dep.dep_nodes.VarDepNode

Bases: BaseDepNode

Abstract class for representing SimActions of TYPE reg or tmp

__init__(type_, sim_act, reg, arch_name='')
Parameters:
property display_name: str
class angr.analyses.data_dep.dep_nodes.TmpDepNode

Bases: VarDepNode

Used to represent SimActions of type TMP

__init__(sim_act, reg, arch_name='')
Parameters:
class angr.analyses.data_dep.dep_nodes.RegDepNode

Bases: VarDepNode

Base class for representing SimActions of TYPE reg

__init__(sim_act, reg, arch_name='')
Parameters:
property reg_size: int