blob: 3c5d7b3760de3e05a5d884cec82c6fad6c632e97 [file] [log] [blame]
// 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"
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);
}
}