utf8proc

A clean C library for processing UTF-8 Unicode data
git clone https://git.sinitax.com/juliastrings/utf8proc
Log | Files | Refs | README | LICENSE | sfeed.txt

ossfuzz.sh (396B)


      1#!/bin/bash -eu
      2# This script is meant to be run by
      3# https://github.com/google/oss-fuzz/blob/master/projects/utf8proc/Dockerfile
      4
      5mkdir build
      6cd build
      7cmake .. -DUTF8PROC_ENABLE_TESTING=ON -DLIB_FUZZING_ENGINE="$LIB_FUZZING_ENGINE"
      8make -j$(nproc)
      9
     10cp $SRC/utf8proc/build/fuzzer $OUT/utf8proc_fuzzer
     11
     12find $SRC/utf8proc/test -name "*.txt" | \
     13     xargs zip $OUT/utf8proc_fuzzer_seed_corpus.zip