Closed tosbaha closed 1 month ago
The latest Unicorn release is not stable enough for Qiling. Try reverting Unicorn to 2.0.1-post
How can I do that? Qiling’s pip version didn’t work as well. It’s puzzling that default installation via pip just doesn’t work. I will appreciate if you can write a detailed explanation.
As seen on your first message, it looks like you are using Qiling's dev
branch, which is the best option. If you pip install
-ed Qiling in parallel make sure to remove that installation and use the cloned version you downloaded at first.
When in the pyenv, use pip
to enumerate all available versions of Unicorn:
pip index versions unicorn
Then locate the 2.0.1-post version and use it in the following command (replace the_version_goes_here
with the actual version string you saw on the list):
pip install --force-reinstall -v "unicorn==the_version_goes_here"
That will revert Unicorn to the latest version that was compatible with Qiling.
but now it crashes with
➜ python crackme_x86_linux.py
[x] ialiSyscall ERROR: ql_syscall_openat DEBUG: flags were not defined for hosting ARM64 MACOS
Looks like this is a duplication of #1491
Describe the bug It crashes even if I try to run the example code from the examples folder.
Sample Code
Expected behavior It shouldn't crash.
Screenshots
Additional context I also tried installing unicorn via brew and changing the binaries but it didn't help either.