miasm
Reverse engineering framework
reduce_graph.py File Reference

Classes

class  reduce_graph.Regs
 
class  reduce_graph.Arch
 
class  reduce_graph.IRATest
 

Namespaces

 reduce_graph
 

Functions

def reduce_graph.gen_irblock (label, exprs_list)
 
def reduce_graph.cmp_ir_graph (g1, g2)
 

Variables

 reduce_graph.loc_db = LocationDB()
 
 reduce_graph.A = ExprId("a", 32)
 
 reduce_graph.B = ExprId("b", 32)
 
 reduce_graph.C = ExprId("c", 32)
 
 reduce_graph.D = ExprId("d", 32)
 
 reduce_graph.R = ExprId("r", 32)
 
 reduce_graph.A_INIT = ExprId("a_init", 32)
 
 reduce_graph.B_INIT = ExprId("b_init", 32)
 
 reduce_graph.C_INIT = ExprId("c_init", 32)
 
 reduce_graph.D_INIT = ExprId("d_init", 32)
 
 reduce_graph.IRDst = ExprId("IRDst", 32)
 
 reduce_graph.PC = ExprId("pc", 32)
 
 reduce_graph.SP = ExprId("sp", 32)
 
 reduce_graph.CST0 = ExprInt(0x0, 32)
 
 reduce_graph.CST1 = ExprInt(0x1, 32)
 
 reduce_graph.CST2 = ExprInt(0x2, 32)
 
 reduce_graph.CST3 = ExprInt(0x3, 32)
 
 reduce_graph.CST22 = ExprInt(0x22, 32)
 
 reduce_graph.CST23 = ExprInt(0x23, 32)
 
 reduce_graph.CST24 = ExprInt(0x24, 32)
 
 reduce_graph.CST33 = ExprInt(0x33, 32)
 
 reduce_graph.CST35 = ExprInt(0x35, 32)
 
 reduce_graph.CST37 = ExprInt(0x37, 32)
 
 reduce_graph.LBL0 = loc_db.add_location("lbl0", 0)
 
 reduce_graph.LBL1 = loc_db.add_location("lbl1", 1)
 
 reduce_graph.LBL2 = loc_db.add_location("lbl2", 2)
 
 reduce_graph.LBL3 = loc_db.add_location("lbl3", 3)
 
 reduce_graph.LBL4 = loc_db.add_location("lbl4", 4)
 
 reduce_graph.LBL5 = loc_db.add_location("lbl5", 5)
 
 reduce_graph.LBL6 = loc_db.add_location("lbl6", 6)
 
 reduce_graph.IRA = IRATest(loc_db)
 Tests #############. More...
 
 reduce_graph.G1 = IRA.new_ircfg()
 G1 ########## Input. More...
 
def reduce_graph.G1_IRB0
 
def reduce_graph.G1_IRB1
 
def reduce_graph.G1_IRB2
 
 reduce_graph.G1_RES = IRA.new_ircfg()
 
def reduce_graph.G1_RES_IRB0
 
 reduce_graph.G2 = IRA.new_ircfg()
 G2 ########## Input. More...
 
def reduce_graph.G2_IRB0
 
def reduce_graph.G2_IRB1
 
 reduce_graph.G2_RES = IRA.new_ircfg()
 
def reduce_graph.G2_RES_IRB0
 
 reduce_graph.G3 = IRA.new_ircfg()
 G3 ########## Input. More...
 
def reduce_graph.G3_IRB0
 
def reduce_graph.G3_IRB1
 
def reduce_graph.G3_IRB2
 
 reduce_graph.G3_RES = IRA.new_ircfg()
 
def reduce_graph.G3_RES_IRB0
 
 reduce_graph.G4 = IRA.new_ircfg()
 G4 ########## Input. More...
 
def reduce_graph.G4_IRB0
 
def reduce_graph.G4_IRB1
 
def reduce_graph.G4_IRB2
 
 reduce_graph.G4_RES = IRA.new_ircfg()
 
def reduce_graph.G4_RES_IRB0
 
def reduce_graph.G4_RES_IRB1
 
 reduce_graph.G5 = IRA.new_ircfg()
 G5 ########## Input. More...
 
def reduce_graph.G5_IRB0
 
def reduce_graph.G5_IRB1
 
def reduce_graph.G5_IRB2
 
def reduce_graph.G5_IRB3
 
 reduce_graph.G5_RES = IRA.new_ircfg()
 
def reduce_graph.G5_RES_IRB0
 
def reduce_graph.G5_RES_IRB1
 
def reduce_graph.G5_RES_IRB3
 
 reduce_graph.G6 = IRA.new_ircfg()
 G6 ########## Input. More...
 
def reduce_graph.G6_IRB0
 
def reduce_graph.G6_IRB1
 
def reduce_graph.G6_IRB2
 
def reduce_graph.G6_IRB3
 
 reduce_graph.G6_RES = IRA.new_ircfg()
 
def reduce_graph.G6_RES_IRB0
 
def reduce_graph.G6_RES_IRB2
 
def reduce_graph.G6_RES_IRB3
 
 reduce_graph.G7 = IRA.new_ircfg()
 G7 ########## Input. More...
 
def reduce_graph.G7_IRB0
 
def reduce_graph.G7_IRB1
 
 reduce_graph.G7_RES = IRA.new_ircfg()
 
def reduce_graph.G7_RES_IRB0
 
def reduce_graph.G7_RES_IRB1
 
 reduce_graph.G8 = IRA.new_ircfg()
 G8 ########## Input. More...
 
def reduce_graph.G8_IRB0
 
def reduce_graph.G8_IRB1
 
 reduce_graph.G8_RES = IRA.new_ircfg()
 
def reduce_graph.G8_RES_IRB0
 
def reduce_graph.G8_RES_IRB1
 
 reduce_graph.heads = g_test.heads()
 Tests. More...