Skip to content

Support for using honggfuzz with gcc#288

Merged
fmeum merged 4 commits into
bazel-contrib:mainfrom
fmeum:honggfuzz-gcc
Mar 20, 2026
Merged

Support for using honggfuzz with gcc#288
fmeum merged 4 commits into
bazel-contrib:mainfrom
fmeum:honggfuzz-gcc

Conversation

@fmeum
Copy link
Copy Markdown
Member

@fmeum fmeum commented Mar 18, 2026

This allows running honggfuzz with a gcc toolchain which can be useful for code bases that don't compile with clang or where no clang toolchain is available.

Example usage:

bazel run //examples:re2_fuzz_test --config asan-honggfuzz

simonresch and others added 4 commits March 18, 2026 13:02
Using the latest mast commit since releases are very infrequent.
Co-authored-by: Simon Resch <simon.resch@code-intelligence.de>
Adds the flag --@rules_fuzzing//fuzzing:compiler_type with possible
configurations "cmake" and "gcc". This allows running honggfuzz with a gcc
toolchain which can be useful for code bases that don't compile with clang or
where no clang toolchain is available.

Co-authored-by: Markus Zoppelt <markus.zoppelt@code-intelligence.com>
@fmeum
Copy link
Copy Markdown
Member Author

fmeum commented Mar 18, 2026

I haven't tested the honggfuzz setup

Copy link
Copy Markdown
Collaborator

@simonresch simonresch left a comment

Choose a reason for hiding this comment

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

Clever! Works great.

Thanks for helping out with this. :)

@fmeum fmeum merged commit e7abea6 into bazel-contrib:main Mar 20, 2026
26 checks passed
@fmeum fmeum deleted the honggfuzz-gcc branch March 20, 2026 13:08
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.

3 participants