(ql: Qiling, *args, **kw)
| 44 | snapshot_file = r'/tmp/snapshot.bin' |
| 45 | |
| 46 | def dump(ql: Qiling, *args, **kw): |
| 47 | ql.save(reg=False, cpu_context=True, snapshot=snapshot_file) |
| 48 | ql.emu_stop() |
| 49 | |
| 50 | ql = Qiling(["../examples/rootfs/x8664_linux/bin/sleep_hello"], "../examples/rootfs/x8664_linux", verbose=QL_VERBOSE.DEFAULT) |
| 51 | load_address = ql.profile.getint("OS64", "load_address") |