miasm
Reverse engineering framework
miasm.analysis.depgraph.DependencyNode Class Reference
Inheritance diagram for miasm.analysis.depgraph.DependencyNode:
Collaboration diagram for miasm.analysis.depgraph.DependencyNode:

Public Member Functions

def __init__ (self, loc_key, element, line_nb)
 
def __hash__ (self)
 
def __eq__ (self, depnode)
 
def __ne__ (self, depnode)
 
def __lt__ (self, node)
 
def __str__ (self)
 
def __repr__ (self)
 
def loc_key (self)
 
def element (self)
 
def line_nb (self)
 

Public Attributes

 loc_key
 
 element
 
 line_nb
 

Detailed Description

Node elements of a DependencyGraph

A dependency node stands for the dependency on the @element at line number
@line_nb in the IRblock named @loc_key, *before* the evaluation of this
line.

Constructor & Destructor Documentation

◆ __init__()

def miasm.analysis.depgraph.DependencyNode.__init__ (   self,
  loc_key,
  element,
  line_nb 
)
Create a dependency node with:
@loc_key: LocKey instance
@element: Expr instance
@line_nb: int

Member Function Documentation

◆ __eq__()

def miasm.analysis.depgraph.DependencyNode.__eq__ (   self,
  depnode 
)
Returns True if @self and @depnode are equals.
Here is the caller graph for this function:

◆ __hash__()

def miasm.analysis.depgraph.DependencyNode.__hash__ (   self)
Returns a hash of @self to uniquely identify @self

◆ __lt__()

def miasm.analysis.depgraph.DependencyNode.__lt__ (   self,
  node 
)
Compares @self with @node.

◆ __ne__()

def miasm.analysis.depgraph.DependencyNode.__ne__ (   self,
  depnode 
)

◆ __repr__()

def miasm.analysis.depgraph.DependencyNode.__repr__ (   self)
Returns a string representation of DependencyNode
Here is the call graph for this function:

◆ __str__()

def miasm.analysis.depgraph.DependencyNode.__str__ (   self)
Returns a string representation of DependencyNode
Here is the caller graph for this function:

◆ element()

def miasm.analysis.depgraph.DependencyNode.element (   self)

◆ line_nb()

def miasm.analysis.depgraph.DependencyNode.line_nb (   self)

◆ loc_key()

def miasm.analysis.depgraph.DependencyNode.loc_key (   self)

Member Data Documentation

◆ element

miasm.analysis.depgraph.DependencyNode.element

◆ line_nb

miasm.analysis.depgraph.DependencyNode.line_nb

◆ loc_key

miasm.analysis.depgraph.DependencyNode.loc_key

The documentation for this class was generated from the following file: