mirror of https://github.com/google/oss-fuzz.git
Add dictionary to json project (#3954)
This commit is contained in:
parent
7002484fd4
commit
9099c20d9e
|
@ -20,4 +20,4 @@ RUN apt-get update && apt-get install -y binutils make
|
|||
|
||||
RUN git clone --depth 1 -b develop https://github.com/nlohmann/json.git
|
||||
WORKDIR json/
|
||||
COPY build.sh *.options $SRC/
|
||||
COPY build.sh *.options parse_afl_fuzzer.dict $SRC/
|
||||
|
|
|
@ -23,3 +23,4 @@ for F in $FUZZER_FILES; do
|
|||
FUZZER=$(basename $F .cpp)
|
||||
cp $SRC/fuzzer-parse.options $OUT/$FUZZER.options
|
||||
done
|
||||
cp $SRC/parse_afl_fuzzer.dict $OUT/
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
#
|
||||
# AFL dictionary for JSON
|
||||
# -----------------------
|
||||
#
|
||||
# Just the very basics.
|
||||
#
|
||||
# Inspired by a dictionary by Jakub Wilk <jwilk@jwilk.net>
|
||||
#
|
||||
|
||||
"0"
|
||||
",0"
|
||||
":0"
|
||||
"0:"
|
||||
"-1.2e+3"
|
||||
|
||||
"true"
|
||||
"false"
|
||||
"null"
|
||||
|
||||
"\"\""
|
||||
",\"\""
|
||||
":\"\""
|
||||
"\"\":"
|
||||
|
||||
"{}"
|
||||
",{}"
|
||||
":{}"
|
||||
"{\"\":0}"
|
||||
"{{}}"
|
||||
|
||||
"[]"
|
||||
",[]"
|
||||
":[]"
|
||||
"[0]"
|
||||
"[[]]"
|
||||
|
||||
"''"
|
||||
"\\"
|
||||
"\\b"
|
||||
"\\f"
|
||||
"\\n"
|
||||
"\\r"
|
||||
"\\t"
|
||||
"\\u0000"
|
||||
"\\x00"
|
||||
"\\0"
|
||||
"\\uD800\\uDC00"
|
||||
"\\uDBFF\\uDFFF"
|
||||
|
||||
"\"\":0"
|
||||
"//"
|
||||
"/**/"
|
Loading…
Reference in New Issue