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

Side by Side Diff: tools/ipc_fuzzer/fuzzer/fuzzer_main.cc

Issue 1025483002: Restructure the ipc_fuzzer directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move more files around Created 5 years, 9 months 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 unified diff | Download patch
« no previous file with comments | « tools/ipc_fuzzer/fuzzer/fuzzer.gyp ('k') | tools/ipc_fuzzer/fuzzer/generator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <iostream> 5 #include <iostream>
6 #include <set> 6 #include <set>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/strings/string_split.h" 10 #include "base/strings/string_split.h"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 #include "tools/ipc_fuzzer/fuzzer/fuzzer.h"
13 #include "tools/ipc_fuzzer/fuzzer/generator.h"
14 #include "tools/ipc_fuzzer/fuzzer/mutator.h"
15 #include "tools/ipc_fuzzer/fuzzer/rand_util.h"
12 #include "tools/ipc_fuzzer/message_lib/message_file.h" 16 #include "tools/ipc_fuzzer/message_lib/message_file.h"
13 #include "tools/ipc_fuzzer/mutate/fuzzer.h"
14 #include "tools/ipc_fuzzer/mutate/generator.h"
15 #include "tools/ipc_fuzzer/mutate/mutator.h"
16 #include "tools/ipc_fuzzer/mutate/rand_util.h"
17 17
18 namespace ipc_fuzzer { 18 namespace ipc_fuzzer {
19 19
20 namespace { 20 namespace {
21 21
22 // TODO(mbarbella): Check to see if this value is actually reasonable. 22 // TODO(mbarbella): Check to see if this value is actually reasonable.
23 const int kFrequency = 23; 23 const int kFrequency = 23;
24 24
25 const char kCountSwitch[] = "count"; 25 const char kCountSwitch[] = "count";
26 const char kCountSwitchHelp[] = 26 const char kCountSwitchHelp[] =
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 } 236 }
237 237
238 return result; 238 return result;
239 } 239 }
240 240
241 } // namespace ipc_fuzzer 241 } // namespace ipc_fuzzer
242 242
243 int main(int argc, char** argv) { 243 int main(int argc, char** argv) {
244 return ipc_fuzzer::FuzzerMain(argc, argv); 244 return ipc_fuzzer::FuzzerMain(argc, argv);
245 } 245 }
OLDNEW
« no previous file with comments | « tools/ipc_fuzzer/fuzzer/fuzzer.gyp ('k') | tools/ipc_fuzzer/fuzzer/generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698