miasm
Reverse engineering framework
graph_dataflow.py File Reference

Namespaces

 graph_dataflow
 

Functions

def graph_dataflow.get_node_name (label, i, n)
 
def graph_dataflow.intra_block_flow_symb (ir_arch, _, flow_graph, irblock, in_nodes, out_nodes)
 
def graph_dataflow.node2str (node)
 
def graph_dataflow.gen_block_data_flow_graph (ir_arch, ircfg, ad, block_flow_cb)
 

Variables

 graph_dataflow.parser = ArgumentParser("Simple expression use for generating dataflow graph")
 
 graph_dataflow.help
 
 graph_dataflow.action
 
 graph_dataflow.args = parser.parse_args()
 
 graph_dataflow.ad = int(args.addr, 16)
 
 graph_dataflow.loc_db = LocationDB()
 
 graph_dataflow.cont = Container.from_stream(open(args.filename, 'rb'), loc_db)
 
 graph_dataflow.machine = Machine("x86_32")
 
 graph_dataflow.mdis = machine.dis_engine(cont.bin_stream, loc_db=loc_db)
 
 graph_dataflow.follow_call
 
 graph_dataflow.asmcfg = mdis.dis_multiblock(ad)
 
 graph_dataflow.ir_arch_analysis = machine.ira(loc_db)
 
 graph_dataflow.ircfg = ir_arch_analysis.new_ircfg_from_asmcfg(asmcfg)
 
 graph_dataflow.deadrm = DeadRemoval(ir_arch_analysis)
 
def graph_dataflow.block_flow_cb = intra_block_flow_symb