Debian Codegraph @

tools/fuzzing/interface/harness/FuzzerRunner.h

raw
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * * This Source Code Form is subject to the terms of the Mozilla Public
3 * * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 #include "FuzzerRegistry.h"
7
8 namespace mozilla {
9
10 class FuzzerRunner {
11 public:
12 int Run(int* argc, char*** argv);
13
14 #ifdef LIBFUZZER
15 void setParams(LibFuzzerDriver aDriver);
16
17 private:
18 LibFuzzerDriver mFuzzerDriver;
19 #endif
20 };
21
22 extern FuzzerRunner* fuzzerRunner;
23
24 } // namespace mozilla