miasm
Reverse engineering framework
|
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) | |
dis_binary_ira.addr = cont.entry_point |
dis_binary_ira.asmcfg = mdis.dis_multiblock(addr) |
dis_binary_ira.cont = Container.from_stream(fdesc, loc_db) |
dis_binary_ira.fdesc = open(sys.argv[1], 'rb') |
Common section from dis_binary.py #.
dis_binary_ira.ir_arch_analysis = machine.ira(mdis.loc_db) |
End common section #.
dis_binary_ira.ircfg_analysis = ir_arch_analysis.new_ircfg_from_asmcfg(asmcfg) |
dis_binary_ira.loc_db = LocationDB() |
dis_binary_ira.machine = Machine(cont.arch) |
dis_binary_ira.mdis = machine.dis_engine(cont.bin_stream, loc_db=cont.loc_db) |