libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

fuzz_postprocessor.dict (1874B)


      1 # libFuzzer dictionary for fuzz_postprocessor (GNU libmicrohttpd).
      2 #
      3 # Bytes 0-3 of the input select the Content-Type shape, the post-processor
      4 # buffer size, the chunking pattern and the boundary length; byte 4.. is the
      5 # POST body.  These tokens are the body syntax of the two encodings
      6 # MHD_post_process() understands.
      7 
      8 # --- application/x-www-form-urlencoded ----------------------------------
      9 amp="&"
     10 equals="="
     11 plus="+"
     12 semi=";"
     13 kv="a=b"
     14 kv_empty="a="
     15 kv_noeq="a"
     16 kv_only_eq="="
     17 kv_amp_amp="&&"
     18 pct_a="%41"
     19 pct_space="%20"
     20 pct_nul="%00"
     21 pct_cr="%0d"
     22 pct_lf="%0a"
     23 pct_pct="%25"
     24 pct_bad="%zz"
     25 pct_trunc="%4"
     26 pct_utf8="%C3%A4"
     27 pct_overlong="%C0%80"
     28 
     29 # --- multipart/form-data -------------------------------------------------
     30 dashdash="--"
     31 crlf="\x0d\x0a"
     32 crlfcrlf="\x0d\x0a\x0d\x0a"
     33 bare_lf="\x0a"
     34 bare_cr="\x0d"
     35 b_open="--b\x0d\x0a"
     36 b_close="--b--\x0d\x0a"
     37 b_close_nocrlf="--b--"
     38 b_long="--boundary-boundary-boundary\x0d\x0a"
     39 cd="Content-Disposition: "
     40 cd_form="Content-Disposition: form-data; name=\"a\"\x0d\x0a"
     41 cd_file="Content-Disposition: form-data; name=\"a\"; filename=\"f\"\x0d\x0a"
     42 cd_attach="Content-Disposition: attachment; filename=\"f\"\x0d\x0a"
     43 cd_noname="Content-Disposition: form-data\x0d\x0a"
     44 cd_empty_name="Content-Disposition: form-data; name=\"\"\x0d\x0a"
     45 p_name="name=\""
     46 p_filename="filename=\""
     47 p_filename_star="filename*=UTF-8''f"
     48 p_boundary="boundary="
     49 p_boundary_q="boundary=\"b\""
     50 p_charset="charset=UTF-8"
     51 h_ct="Content-Type: "
     52 ct_text="Content-Type: text/plain\x0d\x0a"
     53 ct_octet="Content-Type: application/octet-stream\x0d\x0a"
     54 ct_nested="Content-Type: multipart/mixed; boundary=c\x0d\x0a"
     55 h_cte="Content-Transfer-Encoding: "
     56 cte_binary="Content-Transfer-Encoding: binary\x0d\x0a"
     57 cte_b64="Content-Transfer-Encoding: base64\x0d\x0a"
     58 cte_qp="Content-Transfer-Encoding: quoted-printable\x0d\x0a"
     59 quote="\""
     60 escaped_quote="\\\""
     61 semi_sp="; "