1 | #include <cstddef> |
---|---|
2 | #include <cstdint> |
3 | |
4 | #include <fuzzer/FuzzedDataProvider.h> |
5 | |
6 | #include "gwp_asan/optional/options_parser.h" |
7 | |
8 | extern "C"int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { |
9 | FuzzedDataProvider Fdp(Data, Size); |
10 | gwp_asan::options::initOptions(Fdp.ConsumeRemainingBytesAsString().c_str()); |
11 | return 0; |
12 | } |
13 |