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
Writing register IP causes previous emu_stop useless #1356
Comments
I believe I'm running in to this also. It would be nice to get a fix for this. Also I believe this is a duplicate of #1133. |
Hi,
This would be fixed in unicorn2. Link to #1217
…________________________________
From: crass ***@***.***>
Sent: Monday, August 16, 2021 1:40:41 PM
To: unicorn-engine/unicorn ***@***.***>
Cc: lazymio ***@***.***>; Author ***@***.***>
Subject: Re: [unicorn-engine/unicorn] Writing register IP causes previous emu_stop useless (#1356)
I believe I'm running in to this also. It would be nice to get a fix for this. Also I believe this is a duplicate of #1133<#1133>.
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1356 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHJULO7DFJKMMKU5OMJWEDLT5CQFTANCNFSM4UELKNCA>.
|
That appears to be vaporware at the moment. Based on your analysis, it seems like this could be a relatively easy fix. But, perhaps not? |
Not necessarily, I have to test for various cases to determine whether it can be simply fixed by setting it to false or adding another if.
…________________________________
From: crass ***@***.***>
Sent: Monday, August 16, 2021 2:11:01 PM
To: unicorn-engine/unicorn ***@***.***>
Cc: lazymio ***@***.***>; Author ***@***.***>
Subject: Re: [unicorn-engine/unicorn] Writing register IP causes previous emu_stop useless (#1356)
That appears to be vaporware at the moment. Based on your analysis, it seems like this could be a relatively easy fix. But, perhaps not?
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1356 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHJULO4F7BAIHR33DTYSHIDT5CTXLANCNFSM4UELKNCA>.
|
I'm trying to reproduce this and testing the program above. It is stopping at |
I don't remember any fix is done for this issue. How do you produce it? |
I think you're right, that there is no fix, because I think I am reproducing it. However, its very complicated while analyzing a large binary using Qiling. Does your example above work for you? |
Closed due to uc2 beta release. |
Code snippet.
Output on my machine:
Some investigation shows that:
uc->quit_request
is set to true when writing to register ip.And that resets
uc->stop_request
and thus makes previousemu_stop
useless.The text was updated successfully, but these errors were encountered: