Open newthis opened 2 years ago
*Describe the bug When emulate asus-ac5300 firmware, Invalid instruction (UC_ERR_INSN_INVALID) occured, firmware download link: http://ftp.ufanet.ru/pub/firmware/Asus/RT-AC5300/RT-AC5300_3.0.0.4_380_7266-g6439257.trx
Sample Code
PROJECT_ROOT="/opt/firmwares/asus" ql = Qiling([PROJECT_ROOT + "/usr/sbin/httpd"], PROJECT_ROOT, console=True, verbose=QL_VERBOSE.DEBUG) ql.run()
Error File "/home/test/PycharmProjects/Py3.8Emu/venv/lib/python3.8/site-packages/qiling/core.py", line 879, in emu_start self.uc.emu_start(begin, end, timeout, count) File "/home/test/PycharmProjects/Py3.8Emu/venv/lib/python3.8/site-packages/unicorn/unicorn.py", line 465, in emu_start raise UcError(status) unicorn.unicorn.UcError: Invalid instruction (UC_ERR_INSN_INVALID)
Additional context file command output: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped
We need more information to debug this issue
*Describe the bug When emulate asus-ac5300 firmware, Invalid instruction (UC_ERR_INSN_INVALID) occured, firmware download link: http://ftp.ufanet.ru/pub/firmware/Asus/RT-AC5300/RT-AC5300_3.0.0.4_380_7266-g6439257.trx
Sample Code
Error File "/home/test/PycharmProjects/Py3.8Emu/venv/lib/python3.8/site-packages/qiling/core.py", line 879, in emu_start self.uc.emu_start(begin, end, timeout, count) File "/home/test/PycharmProjects/Py3.8Emu/venv/lib/python3.8/site-packages/unicorn/unicorn.py", line 465, in emu_start raise UcError(status) unicorn.unicorn.UcError: Invalid instruction (UC_ERR_INSN_INVALID)
Additional context file command output: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped