Add DrFuzz support to webrtc fuzzers.

BUG=webrtc:4771
R=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/1529203003

Cr-Commit-Position: refs/heads/master@{#11059}
This commit is contained in:
pbos 2015-12-16 18:36:14 -08:00 committed by Commit bot
parent 7cae30cbe1
commit 3514cbe554
2 changed files with 4 additions and 6 deletions

View File

@ -280,7 +280,7 @@ source_set("rtc_event_log") {
}
}
if (use_libfuzzer) {
if (use_libfuzzer || use_drfuzz) {
group("webrtc_fuzzers") {
testonly = true
deps = [

View File

@ -8,11 +8,9 @@
* be found in the AUTHORS file in the root of the source tree.
*/
// This file is intended to provide a common interface for fuzzing functions, so
// whether we're running fuzzing under libFuzzer or DrFuzz the webrtc functions
// can remain the same.
// TODO(pbos): Implement FuzzOneInput() for more than one platform (currently
// libFuzzer).
// This file is intended to provide a common interface for fuzzing functions.
// It's intended to set sane defaults, such as removing logging for further
// fuzzing efficiency.
#include "webrtc/base/logging.h"