-
Notifications
You must be signed in to change notification settings - Fork 745
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
x86 Emulation crash on reading CR8 register #1495
Comments
This is caused by recent changes in Unicorn. |
Thanks for the response. |
@elicn Thank you for your help, and do we have methods to force unicorn downgrade by change source code? I also encountered this problem when using the latest code from the branch dev.It may cause confusion for those who are new to using qiling.Just my personal suggestion. I solved this problem by this method: pip install --force-reinstall -v "unicorn==2.0.1.post1" both unicorn 2.1.1 and 2.1.0 are not work. |
You should revert to Unicorn 2.0.1-post |
Thanks for the response, I will use this version. |
Hello,
My x86 emulation crash whenever it tries to load
mscoree.dll
, it happens that's the first dll where theDllMain
is actually called and when it's called it tries to save thecr8
register but reading this register crash the Unicorn engine:What's happen is that the
reg_map_cr
inx86_const.py
contains thecr8
register id:But in Unicorn, in the
reg_read
function, theUC_X86_REG_CR8
case doens't exist thus it returns an error:I managed to quick fixed it by removing the cr8 line:
Thanks!
The text was updated successfully, but these errors were encountered: