mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
18 lines
442 B
Python
18 lines
442 B
Python
#!/usr/bin/env python3
|
|
#
|
|
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
|
|
#
|
|
|
|
import sys
|
|
sys.path.append("..")
|
|
|
|
from qiling import Qiling
|
|
from qiling.const import QL_VERBOSE
|
|
|
|
def my_sandbox(path, rootfs):
|
|
ql = Qiling(path, rootfs, verbose=QL_VERBOSE.DEBUG, multithread=True)
|
|
ql.run()
|
|
|
|
if __name__ == "__main__":
|
|
my_sandbox(["rootfs/mips32el_linux/bin/mips32el_multithreading"], "rootfs/mips32el_linux")
|