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

Side by Side Diff: courgette/encoded_program_fuzz_unittest.cc

Issue 3035062: Revert 55400 - Cleanup in base. This moves the implementation (and a bunch of... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « courgette/courgette.gyp ('k') | courgette/run_all_unittests.cc » ('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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // Fuzz testing for EncodedProgram serialized format and assembly. 5 // Fuzz testing for EncodedProgram serialized format and assembly.
6 // 6 //
7 // We would like some assurance that if an EncodedProgram is malformed we will 7 // We would like some assurance that if an EncodedProgram is malformed we will
8 // not crash. The EncodedProgram could be malformed either due to malicious 8 // not crash. The EncodedProgram could be malformed either due to malicious
9 // attack to due to an error in patch generation. 9 // attack to due to an error in patch generation.
10 // 10 //
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 DeleteEncodedProgram(encoded); 224 DeleteEncodedProgram(encoded);
225 225
226 return result; 226 return result;
227 } 227 }
228 228
229 TEST_F(DecodeFuzzTest, All) { 229 TEST_F(DecodeFuzzTest, All) {
230 FuzzExe("setup1.exe"); 230 FuzzExe("setup1.exe");
231 } 231 }
232 232
233 int main(int argc, char** argv) { 233 int main(int argc, char** argv) {
234 return base::TestSuite(argc, argv).Run(); 234 return TestSuite(argc, argv).Run();
235 } 235 }
OLDNEW
« no previous file with comments | « courgette/courgette.gyp ('k') | courgette/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698