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