blob: 0eebbf4d12d8f4ca5b6f72618f97e2573c641e53 [file] [log] [blame] [edit]
// Copyright 2021 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 "src/sys/fuzzing/common/engine.h"
#include "src/sys/fuzzing/common/testing/runner.h"
namespace fuzzing {
ZxResult<RunnerPtr> MakeFakeRunnerPtr(ComponentContext& context) {
return fpromise::ok(FakeRunner::MakePtr(context.executor()));
}
} // namespace fuzzing
int main(int argc, char** argv) {
return fuzzing::RunEngine(argc, argv, fuzzing::MakeFakeRunnerPtr);
}