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

fuzztest integration #8784

Merged
merged 21 commits into from Nov 14, 2022
Merged

fuzztest integration #8784

merged 21 commits into from Nov 14, 2022

Conversation

DavidKorczynski
Copy link
Collaborator

@DavidKorczynski DavidKorczynski commented Oct 15, 2022

Signed-off-by: David Korczynski david@adalogics.com

Cross referencing google/fuzztest#69

Signed-off-by: David Korczynski <david@adalogics.com>
@DavidKorczynski
Copy link
Collaborator Author

this works with libfuzzer, centipede, ubsan, asan and coverage

Screenshot from 2022-10-14 01-18-29

infra/base-images/base-builder/Dockerfile Outdated Show resolved Hide resolved
infra/base-images/base-builder/compile_gfuzztests.sh Outdated Show resolved Hide resolved
projects/fuzztest-example/build.sh Outdated Show resolved Hide resolved
Signed-off-by: David Korczynski <david@adalogics.com>
infra/base-images/base-builder/Dockerfile Outdated Show resolved Hide resolved
infra/base-images/base-builder/compile_gfuzztests.sh Outdated Show resolved Hide resolved
infra/base-images/base-builder/compile_gfuzztests.sh Outdated Show resolved Hide resolved
projects/fuzztest-example/setup_configs.sh Outdated Show resolved Hide resolved
projects/fuzztest-raksha/setup_configs.sh Outdated Show resolved Hide resolved
infra/base-images/base-builder/compile_gfuzztests.sh Outdated Show resolved Hide resolved
infra/base-images/base-builder/compile_gfuzztests.sh Outdated Show resolved Hide resolved
infra/base-images/base-runner/coverage Show resolved Hide resolved
Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
@DavidKorczynski DavidKorczynski marked this pull request as ready for review October 27, 2022 21:58
Copy link
Collaborator

@oliverchang oliverchang left a comment

Choose a reason for hiding this comment

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

Thanks again for this PR! We just need to fix bad_build_check to check the main/base binary and we should be good to go here!

@DavidKorczynski
Copy link
Collaborator Author

bad build check should be fixed now. Which revealed an issue in the UBSAN steps, which is fixed in google/fuzztest#73

So once google/fuzztest#73 is merged then we can rerun tests here.

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py all --sanitizer address --fuzzing-engine libfuzzer

@oliverchang
Copy link
Collaborator

Thanks! @Navidem can you help merge this tomorrow if trial build passes?

@DavidKorczynski
Copy link
Collaborator Author

I see the trial build failed: is it possible to get some debug info? One of the potential pitfalls I can think of is it that some projects may have fuzzers with @ in the name as well -- these will break. If this is what's causing the trial build to fail we could make the fuzztest fuzzer check more constrained.

@jonathanmetzman
Copy link
Contributor

jonathanmetzman commented Nov 10, 2022

failures:
wasmtime - spurious
spdlog - spurious
ots -spurious
libpsl - spurious
jwt-verify-lib-fuzzing - spurious
gstreamer - spurious (zlib seemed to have connection issue)
clamav - spurious
bluez - spurious.

think all of these were zlib issues except for wasmtime which is now failing in prod

Copy link
Contributor

@jonathanmetzman jonathanmetzman left a comment

Choose a reason for hiding this comment

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

lgtm

projects/fuzztest-example/Dockerfile Outdated Show resolved Hide resolved
projects/fuzztest-example/Dockerfile Outdated Show resolved Hide resolved
projects/fuzztest-raksha/Dockerfile Outdated Show resolved Hide resolved
Signed-off-by: David Korczynski <david@adalogics.com>
@oliverchang oliverchang merged commit 9452275 into master Nov 14, 2022
@oliverchang oliverchang deleted the fuzztest-initial-int branch November 14, 2022 02:34
@Navidem Navidem removed their assignment Dec 9, 2022
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

5 participants