Skip to content
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

Add build support for AFL on ARM #157

Merged
merged 1 commit into from Jul 27, 2019
Merged

Add build support for AFL on ARM #157

merged 1 commit into from Jul 27, 2019

Conversation

ex0dus-0x
Copy link
Contributor

Installing afl.rs on ARM results in this error:

$ cargo build
...
Oops, looks like your compiler can't generate x86 code.

Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first.
(To ignore this error, set AFL_NO_X86=1 and try again.)

Makefile:52: recipe for target 'test_x86' failed

--- stderr
/tmp/ccI7TNQZ.s: Assembler messages:
/tmp/ccI7TNQZ.s:28: Error: bad instruction `xorb %al,%al'

To fix, we can add another .env() mapping to set AFL_NO_X86 when executing build_afl() on ARM.

Copy link
Member

@frewsxcv frewsxcv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better late than never 🙃

@frewsxcv frewsxcv merged commit 7f86255 into rust-fuzz:master Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants