miasm
Reverse engineering framework
dis_binary_ir Namespace Reference

Variables

 fdesc = open(sys.argv[1], 'rb')
 Common section from dis_binary.py #. More...
 
 loc_db = LocationDB()
 
 cont = Container.from_stream(fdesc, loc_db)
 
 machine = Machine(cont.arch)
 
 mdis = machine.dis_engine(cont.bin_stream, loc_db=cont.loc_db)
 
 addr = cont.entry_point
 
 asmcfg = mdis.dis_multiblock(addr)
 
 ir_arch = machine.ir(mdis.loc_db)
 End common section #. More...
 
 ircfg = ir_arch.new_ircfg_from_asmcfg(asmcfg)
 

Variable Documentation

◆ addr

dis_binary_ir.addr = cont.entry_point

◆ asmcfg

dis_binary_ir.asmcfg = mdis.dis_multiblock(addr)

◆ cont

dis_binary_ir.cont = Container.from_stream(fdesc, loc_db)

◆ fdesc

dis_binary_ir.fdesc = open(sys.argv[1], 'rb')

Common section from dis_binary.py #.

◆ ir_arch

dis_binary_ir.ir_arch = machine.ir(mdis.loc_db)

End common section #.

◆ ircfg

dis_binary_ir.ircfg = ir_arch.new_ircfg_from_asmcfg(asmcfg)

◆ loc_db

dis_binary_ir.loc_db = LocationDB()

◆ machine

dis_binary_ir.machine = Machine(cont.arch)

◆ mdis

dis_binary_ir.mdis = machine.dis_engine(cont.bin_stream, loc_db=cont.loc_db)