Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-119

Add fuzz testing to libmongocrypt

    XMLWordPrintableJSON

Details

    • Task
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Bugs in libmongocrypt mean bugs in all 12 drivers. A fuzzer will give us more coverage for odd edge cases of malformed ciphertexts, key documents, etc.

      Stuart has written a guide for setting up the AFL with the C driver.

      I envision we'll create small runnable examples that exercise a piece of code to run through the fuzzer. E.g. example-parse-key-document or example-parse-ciphertext.

      It'd be great if we could fuzz with evergreen tasks, having the fuzzer run for a fixed period of time.

      Attachments

        1. libfuzzer_entry_point.patch
          11 kB
          Roberto Sanchez

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kevin.albertson@mongodb.com Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: