| 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 """Generational ClusterFuzz fuzzer. It generates IPC messages using | 6 """Generational ClusterFuzz fuzzer. It generates IPC messages using |
| 7 GenerateTraits. Support of GenerateTraits for different types will be gradually | 7 GenerateTraits. Support of GenerateTraits for different types will be gradually |
| 8 added. | 8 added. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 self.parse_arguments() | 54 self.parse_arguments() |
| 55 self.set_application_paths() | 55 self.set_application_paths() |
| 56 for _ in xrange(self.args.no_of_files): | 56 for _ in xrange(self.args.no_of_files): |
| 57 self.generate_ipcdump_testcase() | 57 self.generate_ipcdump_testcase() |
| 58 | 58 |
| 59 return 0 | 59 return 0 |
| 60 | 60 |
| 61 if __name__ == "__main__": | 61 if __name__ == "__main__": |
| 62 fuzzer = GenerationalFuzzer() | 62 fuzzer = GenerationalFuzzer() |
| 63 sys.exit(fuzzer.main()) | 63 sys.exit(fuzzer.main()) |
| OLD | NEW |