-
Notifications
You must be signed in to change notification settings - Fork 104
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
SIGILL while compiling a project with afl.rs #11
Comments
I just confirmed that on the Linux machine where I encountered the bug, it works correctly with |
Based on the good/bad commits mentioned above, I've tracked this issue down to rust-lang/rust@f9d4149 ("rustc: Update LLVM"). |
Is this something that can be expected to work in the future because Rust pulls in another llvm snapshot, or are we stuck with older rustc versions? |
I can't think of any reason why this couldn't be fixed, so hopefully it will be fixed in the future |
fwiw there seems to be an assertion in place for this, see #14. |
New LLVM upgrade might be coming soon for Rust: rust-lang/rust#30448 Might want to try looking into this again after that happens |
I looked into this very briefly this morning. A null deref seems to happen on this line: |
In particular, this statement: |
Opened a Rust issue for this: rust-lang/rust#31067 |
Opened a PR on rust-lang/rust that fixes this: rust-lang/rust#31176 |
rust-lang/rust#31176 has merged which fixes this issue! |
Yay! |
Hi,
I do not know if this bug comes from my setup or from afl.rs, so I'll post it here. I am trying to setup fuzzing for a tar parser built with nom, but I get a SIGILL while building the project. Here is the GDB output for the incriminated rustc call:
I suspect that my version of rustc may be too new (I built it this morning):
This is on a Linux machine, but I made it work previously on a Macbook, although with an older rustc:
I have to add that this project is a great help, fuzzing the nom projects is fun :)
The text was updated successfully, but these errors were encountered: