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

Side by Side Diff: tools/ipc_fuzzer/fuzzer/fuzzer.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.h ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.gyp » ('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 <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "ipc/ipc_message.h" 12 #include "ipc/ipc_message.h"
13 #include "ipc/ipc_message_utils.h" 13 #include "ipc/ipc_message_utils.h"
14 #include "ipc/ipc_switches.h" 14 #include "ipc/ipc_switches.h"
15 #include "ipc/ipc_sync_channel.h" 15 #include "ipc/ipc_sync_channel.h"
16 #include "ipc/ipc_sync_message.h" 16 #include "ipc/ipc_sync_message.h"
17 #include "tools/ipc_fuzzer/fuzzer/fuzzer.h"
18 #include "tools/ipc_fuzzer/fuzzer/rand_util.h"
17 #include "tools/ipc_fuzzer/message_lib/message_cracker.h" 19 #include "tools/ipc_fuzzer/message_lib/message_cracker.h"
18 #include "tools/ipc_fuzzer/message_lib/message_file.h" 20 #include "tools/ipc_fuzzer/message_lib/message_file.h"
19 #include "tools/ipc_fuzzer/mutate/fuzzer.h"
20 #include "tools/ipc_fuzzer/mutate/rand_util.h"
21 21
22 #if defined(OS_POSIX) 22 #if defined(OS_POSIX)
23 #include <unistd.h> 23 #include <unistd.h>
24 #endif 24 #endif
25 25
26 // First include of all message files to provide basic types. 26 // First include of all message files to provide basic types.
27 #include "tools/ipc_fuzzer/message_lib/all_messages.h" 27 #include "tools/ipc_fuzzer/message_lib/all_messages.h"
28 #include "ipc/ipc_message_null_macros.h" 28 #include "ipc/ipc_message_null_macros.h"
29 29
30 #if defined(COMPILER_GCC) 30 #if defined(COMPILER_GCC)
(...skipping 2037 matching lines...) Expand 10 before | Expand all | Expand 10 after
2068 #include "ipc/ipc_message_null_macros.h" 2068 #include "ipc/ipc_message_null_macros.h"
2069 #undef IPC_MESSAGE_DECL 2069 #undef IPC_MESSAGE_DECL
2070 #define IPC_MESSAGE_DECL(kind, type, name, in, out, ilist, olist) \ 2070 #define IPC_MESSAGE_DECL(kind, type, name, in, out, ilist, olist) \
2071 (*map)[static_cast<uint32>(name::ID)] = fuzzer_for_##name; 2071 (*map)[static_cast<uint32>(name::ID)] = fuzzer_for_##name;
2072 2072
2073 void PopulateFuzzerFunctionMap(FuzzerFunctionMap* map) { 2073 void PopulateFuzzerFunctionMap(FuzzerFunctionMap* map) {
2074 #include "tools/ipc_fuzzer/message_lib/all_messages.h" 2074 #include "tools/ipc_fuzzer/message_lib/all_messages.h"
2075 } 2075 }
2076 2076
2077 } // namespace ipc_fuzzer 2077 } // namespace ipc_fuzzer
OLDNEW
« no previous file with comments | « tools/ipc_fuzzer/fuzzer/fuzzer.h ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698