Skip to content
  • noel's avatar
    Add LLVM fuzzer: QCMS color space and color transform · 6997c5c9
    noel authored
    Add fuzzer that reads test input and creates a color profile
    from it (or bails if not). Given that profile |test|, create
    another profile |srgb| used to transform colors to/from when
    running the color transform fuzzer test stage.
    
    Test ICC version 2 profiles only since ICC version 4 support
    in QCMS is not enabled in Chrome.
    
    Add third_party/qcms/DEPS: allows qcms_color_space_fuzzer to
    use //base and //testing code.
    
    Speed: achieves ~2300 execs/s on Mac Air. Seed corpus of ICC
    profiles uploaded to qcms_color_space_fuzzer GCS bucket.
    
    Set max_len to 4Meg (color profiles can be large and this is
    the limit that Chrome accepts), and use the ICC profile dict
    added in http://crrev.com/461603
    
    TBR=inferno@chromium.org
    BUG=708016
    
    Review-Url: https://codereview.chromium.org/2807083002
    Cr-Commit-Position: refs/heads/master@{#464398}
    6997c5c9