Home | History | Annotate | Download | only in testing
      1 Reproducing Skia Fuzzes
      2 =======================
      3 
      4 We assume that you can [build Skia](/user/build). Many fuzzes only reproduce
      5 when building with ASAN or MSAN; see [those instructions for more details](./xsan).
      6 
      7 All that is needed to reproduce a fuzz downloaded from ClusterFuzz, oss-fuzz or
      8 fuzzer.skia.org is to run something like:
      9 
     10     out/ASAN/fuzz -b /path/to/downloaded/testcase
     11 
     12 The fuzz binary will try its best to guess what the type/name should be based on
     13 the name of the testcase. Manually providing type and name is also supported, like:
     14 
     15     out/ASAN/fuzz -t filter_fuzz -b /path/to/downloaded/testcase
     16     out/ASAN/fuzz -t api -n RasterN32Canvas -b /path/to/downloaded/testcase
     17 
     18 To enumerate all supported types and names, run the following:
     19 
     20     out/ASAN/fuzz --help  # will list all types
     21     out/ASAN/fuzz -t api  # will list all names