-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QlArchARM object has no attribute unicorn_exception_handler during ARM Cortex-M emulation #1478
Comments
Hi there and welcome to Qiling. |
Hello, 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' |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: