Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / tools / gwp_asan / options_parser_fuzzer.cpp
blob2d87f12c14f1d24f51be77e51ce601a1d60f46ff
1 #include <cstddef>
2 #include <cstdint>
4 #include <fuzzer/FuzzedDataProvider.h>
6 #include "gwp_asan/optional/options_parser.h"
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;