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