Antonio Maiorano | 15e89fa | 2021-08-05 15:52:58 +0000 | [diff] [blame] | 1 | // Copyright 2021 The Tint Authors. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Ryan Harrison | c57642c | 2021-09-30 18:58:32 +0000 | [diff] [blame] | 15 | #ifndef FUZZERS_FUZZER_INIT_H_ |
| 16 | #define FUZZERS_FUZZER_INIT_H_ |
Antonio Maiorano | 15e89fa | 2021-08-05 15:52:58 +0000 | [diff] [blame] | 17 | |
| 18 | #include "fuzzers/cli.h" |
| 19 | |
| 20 | namespace tint { |
| 21 | namespace fuzzers { |
| 22 | |
| 23 | /// Returns the common CliParams parsed and populated by LLVMFuzzerInitialize() |
| 24 | const CliParams& GetCliParams(); |
| 25 | |
| 26 | } // namespace fuzzers |
| 27 | } // namespace tint |
| 28 | |
Ryan Harrison | c57642c | 2021-09-30 18:58:32 +0000 | [diff] [blame] | 29 | #endif // FUZZERS_FUZZER_INIT_H_ |