Skip to content

[CHAOSPLT-984] Add fuzzer, v2#465

Merged
edznux-dd merged 5 commits into
masterfrom
edouard/add-internal-fuzzing-infra-attempt-n2
Oct 7, 2025
Merged

[CHAOSPLT-984] Add fuzzer, v2#465
edznux-dd merged 5 commits into
masterfrom
edouard/add-internal-fuzzing-infra-attempt-n2

Conversation

@edznux-dd
Copy link
Copy Markdown
Collaborator

@edznux-dd edznux-dd commented Oct 3, 2025

This PR adds support for the internal fuzzing infrastructure.

This will run all the fuzzer, daily, from master based on the gitlab CI schedule.
It also allows user to manually start a fuzzing pipeline in gitlab (that will send it to our fuzzing infra) manually by clicking the start button.

This is a much simplified version of #436

I added a build.sh at the root of the fuzzer to simplify the fuzzing infra script.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.91%. Comparing base (8d71a04) to head (3050e1a).
⚠️ Report is 21 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #465   +/-   ##
=======================================
  Coverage   84.91%   84.91%           
=======================================
  Files         190      190           
  Lines        9820     9820           
  Branches     4293     4293           
=======================================
  Hits         8339     8339           
  Misses        612      612           
  Partials      869      869           
Flag Coverage Δ
waf_test 84.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Oct 3, 2025

Benchmarks gcc

Benchmark execution time: 2025-10-07 09:55:58

Comparing candidate commit 3050e1a in PR branch edouard/add-internal-fuzzing-infra-attempt-n2 with baseline commit 8d71a04 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 3, 2025

Artifact Size Comparison 📦

Artifact Previous Release This PR Difference
darwin-arm64::libddwaf.a 90005656 94899264 0.05%
darwin-arm64::libddwaf.a.stripped 4579560 4879672 0.06%
darwin-arm64::libddwaf.dylib 1963024 2032736 0.03%
darwin-universal::libddwaf.a 181419976 191426816 0.05%
darwin-universal::libddwaf.a.stripped 9765384 10399880 0.06%
darwin-universal::libddwaf.dylib 4142096 4293728 0.03%
darwin-x86_64::libddwaf.a 91414272 96527504 0.05%
darwin-x86_64::libddwaf.a.stripped 5185776 5520160 0.06%
darwin-x86_64::libddwaf.dylib 2150896 2238424 0.04%
linux-aarch64::libddwaf.a 73159494 75863458 0.03%
linux-aarch64::libddwaf.a.stripped 11852226 12283542 0.03%
linux-aarch64::libddwaf.so 2463216 2501000 0.01%
linux-armv7::libddwaf.a 64719098 67001894 0.03%
linux-armv7::libddwaf.a.stripped 10852762 11261726 0.03%
linux-armv7::libddwaf.so 2148652 2160120 0.00%
linux-i386::libddwaf.a 62842618 65103094 0.03%
linux-i386::libddwaf.a.stripped 9379954 9746334 0.03%
linux-i386::libddwaf.so 2392676 2424100 0.01%
linux-x86_64::libddwaf.a 73645934 76350490 0.03%
linux-x86_64::libddwaf.a.stripped 11671234 12077798 0.03%
linux-x86_64::libddwaf.so 2660048 2695488 0.01%
windows-arm64::ddwaf.dll 4788224 4916224 0.02%
windows-arm64::ddwaf.lib 11698 16410 0.40%
windows-arm64::ddwaf_static.lib 57913408 60315174 0.04%
windows-win32::ddwaf.dll 3368448 3473920 0.03%
windows-win32::ddwaf.lib 11922 16726 0.40%
windows-win32::ddwaf_static.lib 49534122 51856472 0.04%
windows-x64::ddwaf.dll 4101632 4193280 0.02%
windows-x64::ddwaf.lib 11698 16410 0.40%
windows-x64::ddwaf_static.lib 57409488 59783244 0.04%

Comment thread .gitlab/fuzzing.yml Outdated
# - if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "push"'
# - if: '$CI_PIPELINE_SOURCE == "web"'
# when: manual
before_script: |
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Feel free to open a PR on the benchmarking platform repo to update this image and avoid reinstalling every time.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

sure, I'll find the minimal working step and then port that to the base image :)

@edznux-dd edznux-dd force-pushed the edouard/add-internal-fuzzing-infra-attempt-n2 branch 4 times, most recently from fac412a to 715cd89 Compare October 3, 2025 18:19
@edznux-dd edznux-dd force-pushed the edouard/add-internal-fuzzing-infra-attempt-n2 branch from 715cd89 to 0510467 Compare October 3, 2025 18:31
@edznux-dd edznux-dd marked this pull request as ready for review October 3, 2025 18:35
@edznux-dd edznux-dd requested a review from a team as a code owner October 3, 2025 18:35
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Oct 3, 2025

Benchmarks clang

Benchmark execution time: 2025-10-07 09:56:41

Comparing candidate commit 3050e1a in PR branch edouard/add-internal-fuzzing-infra-attempt-n2 with baseline commit 8d71a04 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Oct 3, 2025

Benchmarks clang-pgo

Benchmark execution time: 2025-10-07 09:28:23

Comparing candidate commit c711f62 in PR branch edouard/add-internal-fuzzing-infra-attempt-n2 with baseline commit fd28083 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

Copy link
Copy Markdown
Collaborator

@Anilm3 Anilm3 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@edznux-dd edznux-dd force-pushed the edouard/add-internal-fuzzing-infra-attempt-n2 branch 2 times, most recently from 3c5572a to 4da3115 Compare October 7, 2025 07:55
@edznux-dd edznux-dd force-pushed the edouard/add-internal-fuzzing-infra-attempt-n2 branch from 4da3115 to 484444d Compare October 7, 2025 08:01
@edznux-dd
Copy link
Copy Markdown
Collaborator Author

/merge

@dd-devflow-routing-codex
Copy link
Copy Markdown

dd-devflow-routing-codex Bot commented Oct 7, 2025

View all feedbacks in Devflow UI.

2025-10-07 09:28:05 UTC ℹ️ Start processing command /merge


2025-10-07 09:28:09 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 0s (p90).


2025-10-07 09:32:32 UTC ⚠️ MergeQueue: This merge request build was cancelled

edouard.schweisguth@datadoghq.com cancelled this merge request build

@edznux-dd
Copy link
Copy Markdown
Collaborator Author

/remove

@dd-devflow-routing-codex
Copy link
Copy Markdown

dd-devflow-routing-codex Bot commented Oct 7, 2025

View all feedbacks in Devflow UI.

2025-10-07 09:32:25 UTC ℹ️ Start processing command /remove


2025-10-07 09:32:29 UTC ℹ️ Devflow: /remove

@edznux-dd edznux-dd enabled auto-merge (squash) October 7, 2025 09:34
@edznux-dd edznux-dd merged commit a681369 into master Oct 7, 2025
55 of 56 checks passed
@edznux-dd edznux-dd deleted the edouard/add-internal-fuzzing-infra-attempt-n2 branch October 7, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants