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

Add fuzz testing to libmongocrypt

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      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.

        1. libfuzzer_entry_point.patch
          11 kB
          Roberto Sanchez

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

              Created:
              Updated: