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

Side by Side Diff: syzygy/instrument/instrument_app.cc

Issue 2990493002: Skip gap blocks early to avoid stdout flooding in verbose mode, and (Closed)
Patch Set: Better the comment layout. Created 3 years, 5 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 | « no previous file | syzygy/instrument/transforms/afl_transform.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 2012 Google Inc. All Rights Reserved. 1 // Copyright 2012 Google Inc. All Rights Reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 " metadata.\n" 79 " metadata.\n"
80 " --no-strip-strings Indicates that the relinker should not strip\n" 80 " --no-strip-strings Indicates that the relinker should not strip\n"
81 " the strings when augmenting the PDB. They\n" 81 " the strings when augmenting the PDB. They\n"
82 " are stripped by default to keep PDB sizes\n" 82 " are stripped by default to keep PDB sizes\n"
83 " down.\n" 83 " down.\n"
84 " --output-pdb=<path> The PDB for the instrumented DLL. If not\n" 84 " --output-pdb=<path> The PDB for the instrumented DLL. If not\n"
85 " provided will attempt to generate one.\n" 85 " provided will attempt to generate one.\n"
86 " --overwrite Allow output files to be overwritten.\n" 86 " --overwrite Allow output files to be overwritten.\n"
87 " afl options:\n" 87 " afl options:\n"
88 " --config=<path> Specifies a JSON file describing, either\n" 88 " --config=<path> Specifies a JSON file describing, either\n"
89 " a whitelist of functions to instrument or\n"
90 " a blacklist of functions to not instrument.\n"
89 " --cookie-check-hook Hooks __security_cookie_check.\n" 91 " --cookie-check-hook Hooks __security_cookie_check.\n"
90 " --force-decompose Forces block decomposition.\n" 92 " --force-decompose Forces block decomposition.\n"
91 " --multithread Uses a thread-safe instrumentation.\n" 93 " --multithread Uses a thread-safe instrumentation.\n"
92 " a whitelist of functions to instrument or\n"
93 " a blacklist of functions to not instrument.\n"
94 " asan mode options:\n" 94 " asan mode options:\n"
95 " --asan-rtl-options=OPTIONS\n" 95 " --asan-rtl-options=OPTIONS\n"
96 " Allows specification of options that will\n" 96 " Allows specification of options that will\n"
97 " influence the Asan RTL that attaches to the\n" 97 " influence the Asan RTL that attaches to the\n"
98 " instrumented module. For descriptions of\n" 98 " instrumented module. For descriptions of\n"
99 " these options see common/asan_parameters. If\n" 99 " these options see common/asan_parameters. If\n"
100 " not specified then the defaults of the RTL\n" 100 " not specified then the defaults of the RTL\n"
101 " will be used.\n" 101 " will be used.\n"
102 " --hot-patching Use hot patching Asan instrumentation.\n" 102 " --hot-patching Use hot patching Asan instrumentation.\n"
103 " --instrumentation-rate=DOUBLE\n" 103 " --instrumentation-rate=DOUBLE\n"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 221 }
222 222
223 ::fprintf(err(), 223 ::fprintf(err(),
224 kUsageFormatStr, 224 kUsageFormatStr,
225 cmd_line->GetProgram().BaseName().value().c_str()); 225 cmd_line->GetProgram().BaseName().value().c_str());
226 226
227 return false; 227 return false;
228 } 228 }
229 229
230 } // namespace instrument 230 } // namespace instrument
OLDNEW
« no previous file with comments | « no previous file | syzygy/instrument/transforms/afl_transform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698