miasm
Reverse engineering framework
access_c.py File Reference

Classes

class  access_c.MyExprToAccessC
 
class  access_c.MyCHandler
 

Namespaces

 access_c
 

Functions

def access_c.find_call (ircfg)
 
def access_c.get_funcs_arg0 (ctx, ira, ircfg, lbl_head)
 

Variables

 access_c.loc_db = LocationDB()
 
 access_c.data = open(sys.argv[1], 'rb').read()
 
string access_c.text
 
 access_c.base_types = CTypeAMD64_unk()
 
 access_c.types_ast = CAstTypes()
 
 access_c.types_mngr = CTypesManagerNotPacked(types_ast, base_types)
 
 access_c.cont = Container.fallback_container(data, None, addr=0)
 
 access_c.machine = Machine("x86_64")
 
 access_c.dis_engine
 
 access_c.ira
 
 access_c.mdis = dis_engine(cont.bin_stream, loc_db=loc_db)
 
int access_c.addr_head = 0
 
 access_c.asmcfg = mdis.dis_multiblock(addr_head)
 
 access_c.lbl_head = loc_db.get_offset_location(addr_head)
 
 access_c.ir_arch_a = ira(loc_db)
 
 access_c.ircfg = ir_arch_a.new_ircfg_from_asmcfg(asmcfg)
 
 access_c.ptr_llhuman = types_mngr.get_objc(CTypePtr(CTypeStruct('ll_human')))
 
 access_c.arg0 = ExprId('ptr', 64)
 
dictionary access_c.ctx = {ir_arch_a.arch.regs.RDI: arg0}
 
dictionary access_c.expr_types
 
 access_c.mychandler = MyCHandler(types_mngr, expr_types)