1 // Copyright 2018 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/http/structured_headers.h" 6 7 namespace net { 8 namespace structured_headers { 9 LLVMFuzzerTestOneInput(const uint8_t * data,size_t size)10extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { 11 base::StringPiece input(reinterpret_cast<const char*>(data), size); 12 ParseItem(input); 13 ParseListOfLists(input); 14 ParseParameterisedList(input); 15 return 0; 16 } 17 18 } // namespace structured_headers 19 } // namespace net 20