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

Add fuzzing harness #906

Merged
merged 1 commit into from
Dec 28, 2023
Merged

Add fuzzing harness #906

merged 1 commit into from
Dec 28, 2023

Conversation

nathaniel-brough
Copy link
Contributor

No description provided.

@Cyan4973
Copy link
Owner

I'm rather favorable to this effort, given the increased security coverage offered by oss-fuzz,

note though that the current proposal (this PR) fails CI tests.
This should be fixed first.

Makefile Outdated
@@ -315,6 +316,12 @@ test-xxhsum-c: xxhsum
echo "00000000 test-expects-file-not-found" | ./xxhsum -c -; test $$? -eq 1
@$(RM) .test.*

LIB_FUZZING_ENGINE?="-fsanitize=fuzzer"
ifeq '' '$(findstring clang++,$(CXX))'
Copy link
Owner

Choose a reason for hiding this comment

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

Is this ifeq correct ?
I thought it would require parenthesis

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Your probably right. Just fiddling with this to get it working.

@nathaniel-brough
Copy link
Contributor Author

I'm rather favorable to this effort, given the increased security coverage offered by oss-fuzz,

note though that the current proposal (this PR) fails CI tests. This should be fixed first.

Great! Working on getting everything green, it's been a while since I've been working with Makefiles so I'm a little rusty.

@Cyan4973 Cyan4973 merged commit 29a366a into Cyan4973:dev Dec 28, 2023
62 checks passed
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.

2 participants