You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some if statements in RISCVAsmBackend.cpp were intended to have multiple statements, but are missing braces. This causes the beq instruction to be encoded as -1 (FF FF FF FF)
Activity
RossComputerGuy commentedon Sep 7, 2025
That code is from LLVM 3.9.0, LLVM's current release is 21.1.0. This project really should update LLVM.
petabyt commentedon Sep 8, 2025
I don't see any problem with the old LLVM, it's just that the person who backported RISC-V support made a dumb mistake lol
https://github.com/keystone-engine/keystone/pull/549/files
RossComputerGuy commentedon Sep 8, 2025
Says:
Surely, the RISC-V support from LLVM 9 isn't as stable as something like 21. That's about 6 years of improvements.