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

[Go] remove "-lpthread" flag from "compile_fuzzer" and fix comments (#2714). #3657

Merged
merged 3 commits into from
Apr 16, 2020

Conversation

Dor1s
Copy link
Contributor

@Dor1s Dor1s commented Apr 16, 2020

Looks like it isn't needed anymore, or maybe it was never needed and I mistakenly added it in the first place.

Also fixed gonids and go-dns builds, they had import errors.

@Dor1s
Copy link
Contributor Author

Dor1s commented Apr 16, 2020

Also fixed gonids and go-dns builds.

@TravisBuddy
Copy link

Hey @Dor1s,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: 0e9a4610-7fae-11ea-8584-e9567e2fd09d

Copy link
Collaborator

@inferno-chromium inferno-chromium left a comment

Choose a reason for hiding this comment

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

Thanks!

# Copy the fuzzer binary
cp fuzzer-$fuzzer $OUT
# Copy the fuzzer binary
cp fuzzer-$fuzzer $OUT
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: i think these two cps can be removed by adding $OUT/ as prefix in the two commands.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

}

compile_fuzzer /root/go/src/github.com/google/gonids/ FuzzParseRule fuzz_parserule
compile_fuzzer github.com/google/gonids FuzzParseRule fuzz_parserule
Copy link
Collaborator

Choose a reason for hiding this comment

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

You might want to remove RUN go get github.com/google/gonids from Dockerfile.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why? I think that commands checks out the project to fuzz

Copy link
Collaborator

Choose a reason for hiding this comment

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

My bad!, skip.

@TravisBuddy
Copy link

Hey @Dor1s,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: 37d41fc0-8002-11ea-a591-33c228b1c119

@Dor1s Dor1s merged commit 13cb49b into master Apr 16, 2020
@jonathanmetzman jonathanmetzman deleted the go_lpthread branch November 19, 2020 19:05
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.

4 participants