miasm
Reverse engineering framework
dis_binary_ira 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_analysis = machine.ira(mdis.loc_db)
 End common section #. More...
 
 ircfg_analysis = ir_arch_analysis.new_ircfg_from_asmcfg(asmcfg)
 

Variable Documentation

◆ addr

dis_binary_ira.addr = cont.entry_point

◆ asmcfg

dis_binary_ira.asmcfg = mdis.dis_multiblock(addr)

◆ cont

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

◆ fdesc

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

Common section from dis_binary.py #.

◆ ir_arch_analysis

dis_binary_ira.ir_arch_analysis = machine.ira(mdis.loc_db)

End common section #.

◆ ircfg_analysis

dis_binary_ira.ircfg_analysis = ir_arch_analysis.new_ircfg_from_asmcfg(asmcfg)

◆ loc_db

dis_binary_ira.loc_db = LocationDB()

◆ machine

dis_binary_ira.machine = Machine(cont.arch)

◆ mdis

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