Skip to content

CDRIVER-5676 implement bson_validate libfuzzer entrypoint #1705

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

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

spencerjackson
Copy link
Contributor

This patch implements a fuzzer for bson_validate. It works be performing the following steps:

  1. Implement a new entrypoint
  2. Adding the entrypoint to CMakeLists
  3. Adding '-fno-sanitize-recover=all' to sanitizer flags, so that UBSan faults become unrecoverable.

@kevinAlbs kevinAlbs self-requested a review August 22, 2024 18:51
Copy link
Collaborator

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution. LGTM with removal of an unnecessary flag.

@kevinAlbs kevinAlbs requested a review from eramongodb August 22, 2024 18:59
Copy link
Contributor

@eramongodb eramongodb left a comment

Choose a reason for hiding this comment

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

Minor suggestion; otherwise, LGTM.

@eramongodb eramongodb merged commit 1858014 into mongodb:master Aug 26, 2024
48 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.

3 participants