| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Mutational ClusterFuzz fuzzer. A pre-built corpus of ipcdump files has | 6 """Mutational ClusterFuzz fuzzer. A pre-built corpus of ipcdump files has |
| 7 to be uploaded to ClusterFuzz along with this script. As chrome is being | 7 to be uploaded to ClusterFuzz along with this script. As chrome is being |
| 8 developed, the corpus will become out-of-date and needs to be updated. | 8 developed, the corpus will become out-of-date and needs to be updated. |
| 9 | 9 |
| 10 This fuzzer will pick some ipcdumps from the corpus, concatenate them with | 10 This fuzzer will pick some ipcdumps from the corpus, concatenate them with |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 self.set_application_paths() | 80 self.set_application_paths() |
| 81 self.set_corpus() | 81 self.set_corpus() |
| 82 for _ in xrange(self.args.no_of_files): | 82 for _ in xrange(self.args.no_of_files): |
| 83 self.create_mutated_ipcdump_testcase() | 83 self.create_mutated_ipcdump_testcase() |
| 84 | 84 |
| 85 return 0 | 85 return 0 |
| 86 | 86 |
| 87 if __name__ == "__main__": | 87 if __name__ == "__main__": |
| 88 fuzzer = MutationalFuzzer() | 88 fuzzer = MutationalFuzzer() |
| 89 sys.exit(fuzzer.main()) | 89 sys.exit(fuzzer.main()) |
| OLD | NEW |