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
Describe the bug
When attempting to emulate a bare-metal ARM program for Cortex-M using Qiling, the following error occurs: AttributeError: 'QlArchARM' object has no attribute 'unicorn_exception_handler'.
Here is the full traceback when executing the program :
[+] Profile: default
Traceback (most recent call last):
File "/home/me/emulation/qiling_emulation.py", line 15, in<module>
ql = Qiling([ELF_FILE_PATH], ROOT_FS_PATH, archtype=QL_ARCH.ARM, ostype=QL_OS.MCU, verbose=QL_VERBOSE.DEBUG)
File "/home/me/emulation/env/lib/python3.10/site-packages/qiling/core.py", line 190, in __init__
self.loader.run()
File "/home/me/emulation/env/lib/python3.10/site-packages/qiling/loader/mcu.py", line 136, in run
self.ql.hook_intr(self.ql.arch.unicorn_exception_handler)
AttributeError: 'QlArchARM' object has no attribute 'unicorn_exception_handler''QlArchARM' object has no attribute 'unicorn_exception_handler'
Describe the bug
When attempting to emulate a bare-metal ARM program for Cortex-M using Qiling, the following error occurs:
AttributeError: 'QlArchARM' object has no attribute 'unicorn_exception_handler'.
Sample Code
Expected behavior
The Qiling emulator should successfully initialize and run the provided ARM Cortex-M ELF file without raising an
AttributeError
.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
AttributeError: 'QlArchARM' object has no attribute 'unicorn_exception_handler'
The text was updated successfully, but these errors were encountered: