chromium/ios/chrome/browser/crash_report/model/crashpad_intermediate_dump_fuzzer.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/crashpad/crashpad/util/ios/ios_intermediate_dump_reader.h"

extern "C" int LLVMFuzzerTestOneInput(const char* data, size_t size) {
  crashpad::internal::IOSIntermediateDumpByteArray dump_interface(data, size);
  crashpad::internal::IOSIntermediateDumpReader reader;
  reader.Initialize(dump_interface);
  return 0;
}