mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
18 lines
426 B
Python
18 lines
426 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 run_sandbox(path, rootfs):
|
|
ql = Qiling(path, rootfs, verbose=QL_VERBOSE.DEBUG)
|
|
ql.run(end=0x7fffb7e98af4)
|
|
|
|
if __name__ == "__main__":
|
|
run_sandbox(["rootfs/arm64_linux/bin/arm64_hello"], "rootfs/arm64_linux")
|