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

suricata: adds quadfuzz #11034

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Conversation

catenacyber
Copy link
Contributor

One random build out of 10 adds a LLVM Custom Mutator to find quadratic complexities

@@ -91,6 +91,14 @@ then
fuzz_branches+=("6")
fi

if [[ `shuf -i 0-9 -n 1` -eq 0 ]]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

is there a better way such as an environment variable ? cc @alan32liu

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe try CFLAGS and CXXFLAGS?
Here is a similar example.

Adding it to LIB_FUZZING_ENGINE is indeed too hacky.

@github-actions
Copy link

catenacyber is either the primary contact or is in the CCs list of projects/suricata.
catenacyber has previously contributed to projects/suricata. The previous PR was #10042

@catenacyber
Copy link
Contributor Author

See also google/fuzzbench#1854

@DonggeLiu
Copy link
Contributor

@victorjulien, would this look good to you?
Thanks!

@victorjulien
Copy link

@victorjulien, would this look good to you? Thanks!

Yes, @catenacyber has been running this with some good success.

@catenacyber
Copy link
Contributor Author

Success for the fuzzer ;-)

@jonathanmetzman jonathanmetzman merged commit f100467 into google:master Sep 29, 2023
16 checks passed
@catenacyber
Copy link
Contributor Author

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.

4 participants