miasm
Reverse engineering framework
|
Public Member Functions | |
def | __init__ (self, loc_key, pending, line_nb=None) |
def | __repr__ (self) |
def | extend (self, loc_key) |
def | get_done_state (self) |
def | as_graph (self) |
def | graph (self) |
def | remove_pendings (self, nodes) |
def | add_pendings (self, future_pending) |
def | link_element (self, element, line_nb) |
def | link_dependencies (self, element, line_nb, dependencies, future_pending) |
Public Attributes | |
loc_key | |
history | |
pending | |
line_nb | |
links | |
Store intermediate depnodes states during dependencygraph analysis
def miasm.analysis.depgraph.DependencyState.__init__ | ( | self, | |
loc_key, | |||
pending, | |||
line_nb = None |
|||
) |
def miasm.analysis.depgraph.DependencyState.__repr__ | ( | self | ) |
def miasm.analysis.depgraph.DependencyState.add_pendings | ( | self, | |
future_pending | |||
) |
Add @future_pending to the state
def miasm.analysis.depgraph.DependencyState.as_graph | ( | self | ) |
Generates a Digraph of dependencies
def miasm.analysis.depgraph.DependencyState.extend | ( | self, | |
loc_key | |||
) |
Return a copy of itself, with itself in history @loc_key: LocKey instance for the new DependencyState's loc_key
def miasm.analysis.depgraph.DependencyState.get_done_state | ( | self | ) |
Returns immutable object representing current state
def miasm.analysis.depgraph.DependencyState.graph | ( | self | ) |
Returns a DiGraph instance representing the DependencyGraph
def miasm.analysis.depgraph.DependencyState.link_dependencies | ( | self, | |
element, | |||
line_nb, | |||
dependencies, | |||
future_pending | |||
) |
Link unfollowed dependencies and create remaining pending elements. @element: the element to link @line_nb: the element's line @dependencies: the element's dependencies @future_pending: the future dependencies
def miasm.analysis.depgraph.DependencyState.link_element | ( | self, | |
element, | |||
line_nb | |||
) |
Link element to its dependencies @element: the element to link @line_nb: the element's line
def miasm.analysis.depgraph.DependencyState.remove_pendings | ( | self, | |
nodes | |||
) |
Remove resolved @nodes
miasm.analysis.depgraph.DependencyState.history |
miasm.analysis.depgraph.DependencyState.line_nb |
miasm.analysis.depgraph.DependencyState.links |
miasm.analysis.depgraph.DependencyState.loc_key |
miasm.analysis.depgraph.DependencyState.pending |