-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
sparcv9 radare2/capstone #426
Comments
can you provide the input (in hexcode format) triggering the problem? the link above looks confused to me. thanks. |
see updated issue. I don't know exactly what input bytes trigger this, but you can look at bt full output. Greetings |
i looked at that, but it is still not clear what causes the issue. i can fix this very quickly if you can give me the input (best in hexcode form), so please narrow down on what input triggers this segfault. thanks. |
did an additional strace -Divx. Though I did not find the exact input trigger. |
Which version of capstone are you using? The one shipped with r2-git, or using the system one from the last release? I cannot reproduce your issue with r2.
|
capstone version from r2-git: d5a8e9dafe81990091ff648f23ffe92c67e34bb8 |
I have reproduced and tested the issue. it happens with and without detail, also with and without v9 bit set. The crashing bytes are BB 70 00 00. You can reproduce this by building r2 with ASAN or running it with valgrind:
|
what is the expected output here? thanks. |
I guess its an invalid instruction but the problem is that it is segfaulting
|
confirmed. this bug comes from LLVM itself. will see how to fix this, thanks. |
thanks!
|
any updates on this? |
I can fix this issue now, but will take few days to integrate with the code On Aug 8, 2015 9:33 AM, "radare" notifications@github.com wrote:
|
the right output is fixed in the "next" branch now. will fix it in "master" branch later. thanks. |
thanks |
fixed in the "master" branch, too. |
Hi,
in revision d5a8e9dafe81990091ff648f23ffe92c67e34bb8
the following bug happens in sparc code with radare2:
radareorg/radare2#3008
Greetings
--zlul
The text was updated successfully, but these errors were encountered: