blob: c679f132ca8296056cfcf5a0d00c24bdb8fe4fe1 [file] [log] [blame] [edit]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "engine.h"
#include "libfuzzer.h"
extern "C" {
int LLVMFuzzerInitialize(int *argc, char ***argv) {
return Engine::GetInstance()->Initialize(argc, argv);
}
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
return Engine::GetInstance()->TestOneInput(data, size);
}
}