5 Commits

Author SHA1 Message Date
phoglund@webrtc.org
69d46b4821 Added basic fuzzer for new API and made both work.
Added a nice mode, cleaned up.

BUG=

Review URL: https://webrtc-codereview.appspot.com/832004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2807 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-24 07:44:02 +00:00
phoglund@webrtc.org
daf32a4cb9 Adapted fuzzer for launch.
BUG=

Review URL: https://webrtc-codereview.appspot.com/813006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2787 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-19 13:44:50 +00:00
phoglund@webrtc.org
4c6c11553c Initial version of a peerconnection fuzzer.
The fuzzer can either pass random utf-8 into the SDP parser or swap lines in the generated SDP offer or answer. I've tried to implement the fuzzer so that all random choices are coded into the javascript page so that the sole source of randomness is in the fuzzer program. I initially tried to load stored sample SDP offers and fuzz them in the fuzzer program, but it didn't work since the SDP message seems to contain some magic checksum that causes the parser to choke quickly.

There's a lot of ideas for follow up patches:
- Fuzz ALL input parameters to ALL functions, not just SDP
- Swap letters/words in SDP messages
- Insert random location.reload() anywhere in the call sequence
- Swap lines in the call sequence itself

BUG=

Review URL: https://webrtc-codereview.appspot.com/784004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2772 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-14 10:06:57 +00:00
phoglund@webrtc.org
2eefb2242f Improved fuzzer. It will now throw in additional refreshes, which is known to mess with lifetime assumptions.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/679008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2492 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-04 12:29:09 +00:00
phoglund@webrtc.org
ef8ca6a801 Wrote ClusterFuzz test for WebRTC GetUserMedia.
This initial test is very simple since we are just releasing GetUserMedia in the next release.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/639006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2476 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-02 11:39:22 +00:00