• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

aec3-config-json-corpus/23-Nov-2023-21

agc-corpus/23-Nov-2023-

audio_processing-corpus/23-Nov-2023-

dependency_descriptor-corpus/23-Nov-2023-

field_trial-corpus/23-Nov-2023-63

mdns-corpus/23-Nov-2023-

pseudotcp-corpus/23-Nov-2023-

rtcp-corpus/23-Nov-2023-

rtp-corpus/23-Nov-2023-

rtp-depacketizer-av1-assemble-frame-corpus/23-Nov-2023-

rtpdump-corpus/23-Nov-2023-2,7762,745

sdp-corpus/23-Nov-2023-1,1631,093

string_to_number-corpus/23-Nov-2023-105

stun-corpus/23-Nov-2023-

READMED23-Nov-20231.3 KiB3425

sdp.tokensD23-Nov-2023559 5656

stun.tokensD23-Nov-202322 32

README

1This is a collection of corpora for various WebRTC fuzzers. To use
2them, the gn targets define seed_corpus=$corpus_dir, which causes the
3ClusterFuzz upload bot to bundle $corpus_dir and upload it.
4
5The format is simple: one file per test case. Specific notes are
6included below.
7
8### SDP ###
9This corpus was initially assembled manually from the following
10sources:
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
16The 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 ###
21This corpus was initially assembled from the STUN unit tests, together
22with a crash that it found relatively quickly.
23
24### RT(C)P ###
25This corpus was initially assembled from the unittests. RTCP was
26minimised first.
27
28There is also rt(c?)p-corpus-with-extra-byte, in which each sample is
29prefixed by the byte 0xff. Some of the rtp fuzzers need to decide
30which header extensions to enable, and the first byte of the fuzz data
31is used for this.
32
33### PseudoTCP ###
34Very small corpus minimised from the unit tests.