OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <limits.h> | 5 #include <limits.h> |
| 6 #include <stddef.h> |
6 #include <stdlib.h> | 7 #include <stdlib.h> |
7 #include <iostream> | 8 #include <iostream> |
8 #include <string> | 9 #include <string> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/command_line.h" | 12 #include "base/command_line.h" |
12 #include "base/strings/string_split.h" | 13 #include "base/strings/string_split.h" |
13 #include "third_party/re2/src/re2/re2.h" | 14 #include "third_party/re2/src/re2/re2.h" |
14 #include "tools/ipc_fuzzer/message_lib/message_file.h" | 15 #include "tools/ipc_fuzzer/message_lib/message_file.h" |
15 #include "tools/ipc_fuzzer/message_lib/message_names.h" | 16 #include "tools/ipc_fuzzer/message_lib/message_names.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 } | 170 } |
170 } else { | 171 } else { |
171 if (!ipc_fuzzer::MessageFile::Write( | 172 if (!ipc_fuzzer::MessageFile::Write( |
172 base::FilePath(output_file_name), output_message_vector)) { | 173 base::FilePath(output_file_name), output_message_vector)) { |
173 return EXIT_FAILURE; | 174 return EXIT_FAILURE; |
174 } | 175 } |
175 } | 176 } |
176 | 177 |
177 return EXIT_SUCCESS; | 178 return EXIT_SUCCESS; |
178 } | 179 } |
OLD | NEW |