sample:
  description: native_posix-based libfuzzer example
  name: fuzz
tests:
  sample.debug.fuzz:
    toolchain_allow: llvm
    platform_allow: native_posix/native/64
    harness: console
    harness_config:
      type: one_line
      # The sample will run all the way to key 6 (to show off its
      # ability to search a 1-in-2^56 haystack), but that takes 20-60s
      # and is quite variable.  It's enough to know that it's finding
      # new code paths by the third new coverage announcement.
      regex:
        - "Found key 2"
