-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
native go fuzzing: Integrate engine #7519
Conversation
@@ -142,6 +142,7 @@ RUN cd $SRC && \ | |||
COPY precompile_afl /usr/local/bin/ | |||
RUN precompile_afl | |||
|
|||
RUN apt-get update -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't want to do this. Because of caching this step can cause the build to fail. You should put the apt-get update in the same step where it is needed.
c622e7f
to
c9f2bab
Compare
3c4c710
to
68dcab3
Compare
68dcab3
to
895f7d8
Compare
@jonathanmetzman IMO this is a good first step to get the Go 1.18 runtime engine integrated. It will need more work which includes:
Can this be merged as is at this moment, or do you see any potential for breaking anything in the backend? |
Thanks for this PR! Note that there's still a lot of work to do on the ClusterFuzz side, which are pending some required changes to the Go fuzzing implementation itself. We can merge it in, but it won't actually be usable by users. |
Integrates the native Go engine.
The following commands are supported:
build_fuzzers
run_fuzzer
To run the demo project:
python3 infra/helper.py build_image test-native-go-fuzzing
python3 infra/helper.py build_fuzzers test-native-go-fuzzing
python3 infra/helper.py run_fuzzer --engine=nativego test-native-go-fuzzing Fuzz
which prints the output: