1// Copyright 2013 The Chromium Authors. All rights reserved.
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 <stdlib.h>
6
7#include "base/at_exit.h"
8#include "tools/ipc_fuzzer/replay/replay_process.h"
9
10int main(int argc, const char** argv) {
11  base::AtExitManager exit_manager;
12  ipc_fuzzer::ReplayProcess replay;
13  if (!replay.Initialize(argc, argv))
14    return EXIT_FAILURE;
15
16  replay.OpenChannel();
17
18  if (!replay.OpenTestcase())
19    return EXIT_FAILURE;
20
21  replay.Run();
22  return EXIT_SUCCESS;
23}
24