Closed zonkzonk closed 9 years ago
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. I can also provide valgrind output.
Greetings --zlul
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.
On 28 Jul 2015, at 00:51, zonkzonk notifications@github.com wrote:
did an additional strace -Divx. Though I did not find the exact input trigger.
— Reply to this email directly or view it on GitHub.
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:
$ rasm2 -a sparc -b 32 -d bb700000
what is the expected output here?
thanks.
I guess its an invalid instruction but the problem is that it is segfaulting
On 28 Jul 2015, at 04:06, Nguyen Anh Quynh notifications@github.com wrote:
what is the expected output here?
thanks.
— Reply to this email directly or view it on GitHub.
confirmed. this bug comes from LLVM itself.
will see how to fix this, thanks.
thanks!
On 28 Jul 2015, at 12:18, Nguyen Anh Quynh notifications@github.com wrote:
confirmed. this bug comes from LLVM itself.
will see how to fix this, thanks.
— Reply to this email directly or view it on GitHub https://github.com/aquynh/capstone/issues/426#issuecomment-125540927.
any updates on this?
I can fix this issue now, but will take few days to integrate with the code properly. will commit the fix in few days.
On Aug 8, 2015 9:33 AM, "radare" notifications@github.com wrote:
any updates on this?
— Reply to this email directly or view it on GitHub.
the right output is popc %g0, %i5
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:
https://github.com/radare/radare2/issues/3008
Greetings --zlul