Index: tools/ipc_fuzzer/replay/replay.cc |
diff --git a/tools/ipc_fuzzer/replay/replay.cc b/tools/ipc_fuzzer/replay/replay.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a0757f18f69fd647f4da10665a1a7abeb196edaa |
--- /dev/null |
+++ b/tools/ipc_fuzzer/replay/replay.cc |
@@ -0,0 +1,17 @@ |
+// Copyright 2013 The Chromium 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 "tools/ipc_fuzzer/replay/replay_process.h" |
+ |
+int main(int argc, const char **argv) { |
+ ipc_fuzzer::ReplayProcess replay; |
+ replay.Initialize(argc, argv); |
+ replay.OpenChannel(); |
Tom Sepez
2013/12/05 19:05:49
nit: can OpenChannel fail?
aedla
2013/12/05 23:16:21
It can't. Well, at least for POSIX, the channel ha
|
+ |
+ if (!replay.OpenTestcase()) |
+ return 0; |
Tom Sepez
2013/12/05 19:05:49
return EXIT_FAILURE or 1 to indicate failure.
aedla
2013/12/05 23:16:21
Done.
|
+ |
+ replay.Run(); |
+ return 0; |
Tom Sepez
2013/12/05 19:05:49
nit: return EXIT_SUCCESS just because its more por
aedla
2013/12/05 23:16:21
Done.
|
+} |