|Submitter||Diff||Changes||Open Issues||Last Updated|
|Error loading review requests:|
It looks like it should be possible to fuzz our beloved sipcc based SDP parser these days with LibFuzzer instead of using Peach.
The idea behind the old sdp_file_parser was to have a small executable to make fuzzing with Peach faster (compared to starting a Firefox binary). From looking at some examples from LibFuzzer I think the attached patch is about what we need to accomplish the same now with LibFuzzer. But what I'm missing right now is how I would be able to build/link such an executable. Maybe I'm on the wrong path here and LibFuzzer always requires the fuzzing target to be a lib which the LibFuzzer executable can link in? Any help/advice on this would be appreciated.
Discussed this on IRC. This might be a good opportunity to try out the new unified fuzzing interface.
Comment on attachment 8876338 [details] Bug 1371161: port SDP file parser to LibFuzzer https://reviewboard.mozilla.org/r/147738/#review152630 Looks good, FUZZING only, r+ from me with nits ::: media/webrtc/signaling/fuzztest/sdp_parser_libfuzz.cpp:8 (Diff revision 1) > /* This Source Code Form is subject to the terms of the Mozilla Public > * License, v. 2.0. If a copy of the MPL was not distributed with this file, > * You can obtain one at http://mozilla.org/MPL/2.0/. */ > > #include <string> > -#include <iostream> > +//#include <iostream> Remove these if they are no longer needed
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/c902eebc0191 port SDP file parser to LibFuzzer r=decoder