Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: webrtc/test/fuzzers/corpora/README

Issue 2082943002: Add fuzzer corpora. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: remove extra-byte corpora until necessary Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 This is a collection of corpora for various WebRTC fuzzers. To use
2 them, the gn targets define seed_corpus=$corpus_dir, which causes the
3 ClusterFuzz upload bot to bundle $corpus_dir and upload it.
4
5 The format is simple: one file per test case. Specific notes are
6 included below.
7
8 ### SDP ###
9 This corpus was initially assembled manually from the following
10 sources:
11
12 - curl --silent https://www.ietf.org/rfc/rfc4317.txt | grep '^[ a-z]*=[^=]*$' | sed 's/^[[:space:]]*//' | awk -v RS='(^|\n)v=' '/./ {print "v="$0 > NR".sdp"}'
13 - all the SDPs used in the parser unit tests
14 - some manually gathered SDPs from Firefox and Opera
15
16 The SDP tokens come from:
17
18 - grep "^static const " webrtc/api/webrtcsdp.cc | cut -d'=' -f2 | cut -d ';' - f1 | tr -d '"' | tr -d "'" | tr -d ' ' | sort -u | grep -v '^(\n|\r|\r\n)$|^$' | sed -e 's/^/"/' -e 's/$/"/' | tail -n +2
19
20 ### STUN ###
21 This corpus was initially assembled from the STUN unit tests, together
22 with a crash that it found relatively quickly.
23
24 ### RT(C)P ###
25 This corpus was initially assembled from the unittests. RTCP was
26 minimised first.
27
28 There is also rt(c?)p-corpus-with-extra-byte, in which each sample is
29 prefixed by the byte 0xff. Some of the rtp fuzzers need to decide
30 which header extensions to enable, and the first byte of the fuzz data
31 is used for this.
32
33 ### PseudoTCP ###
34 Very small corpus minimised from the unit tests.
OLDNEW
« no previous file with comments | « webrtc/test/fuzzers/BUILD.gn ('k') | webrtc/test/fuzzers/corpora/pseudotcp-corpus/785b96587d0eb44dd5d75b7a886f37e2ac504511 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698