Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Unified Diff: tools/ipc_fuzzer/replay/replay.cc

Issue 106163003: Refactor IPC fuzzer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/ipc_fuzzer/replay/DEPS ('k') | tools/ipc_fuzzer/replay/replay.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..73bf55ae587df6ba89fc91b88eeffefa7da9f397
--- /dev/null
+++ b/tools/ipc_fuzzer/replay/replay.cc
@@ -0,0 +1,20 @@
+// 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 <stdlib.h>
+#include "tools/ipc_fuzzer/replay/replay_process.h"
+
+int main(int argc, const char** argv) {
+ ipc_fuzzer::ReplayProcess replay;
+ if (!replay.Initialize(argc, argv))
+ return EXIT_FAILURE;
+
+ replay.OpenChannel();
+
+ if (!replay.OpenTestcase())
+ return EXIT_FAILURE;
+
+ replay.Run();
+ return EXIT_SUCCESS;
+}
« no previous file with comments | « tools/ipc_fuzzer/replay/DEPS ('k') | tools/ipc_fuzzer/replay/replay.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698