xref: /llvm-project-15.0.7/compiler-rt/tools/gwp_asan/options_parser_fuzzer.cpp (revision cf6a7c19)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025