miasm
Reverse engineering framework
|
Variables | |
fdesc = open(sys.argv[1], 'rb') | |
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) | |
dis_binary.addr = cont.entry_point |
dis_binary.asmcfg = mdis.dis_multiblock(addr) |
dis_binary.cont = Container.from_stream(fdesc, loc_db) |
dis_binary.fdesc = open(sys.argv[1], 'rb') |
dis_binary.loc_db = LocationDB() |
dis_binary.machine = Machine(cont.arch) |
dis_binary.mdis = machine.dis_engine(cont.bin_stream, loc_db=cont.loc_db) |