You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Description
When importing and using qiling in a python file compiled using Python 3.12, a bug appears that says something along the lines as distutils cannot be found. This is because in Python 3.12 distutils is deprecated.
Sample Code
fromqilingimportQilingfromqiling.constimportQL_VERBOSEif__name__=="__main__":
# set up command line argv, emulated os root path, os default profile, and verboseness level.argv=r"hello".split()
rootfs=r"rootfs/arm64_linux"profile="linux.ql"verboseness=QL_VERBOSE.DEBUG# instantiate a Qiling object using above arguments;# additional settings are read from profile fileql=Qiling(argv, rootfs, verbose=verboseness, profile=profile)
# https://docs.qiling.io/en/latest/debugger/# ql.debugger = True# https://docs.qiling.io/en/latest/register/# https://docs.qiling.io/en/latest/memory/ql.run()
*Description
When importing and using qiling in a python file compiled using Python 3.12, a bug appears that says something along the lines as distutils cannot be found. This is because in Python 3.12 distutils is deprecated.
Sample Code
Expected output
The text was updated successfully, but these errors were encountered: