Skip to content
Snippets Groups Projects
Commit 18ea1168 authored by Matt Johnston's avatar Matt Johnston
Browse files

-v for debug_trace

--HG--
branch : fuzz
parent 30d3ccd4
Branches
No related merge requests found
......@@ -8,11 +8,20 @@ int main(int argc, char ** argv) {
int i;
buffer *input = buf_new(100000);
#if DROPBEAR_TRACE
debug_trace = 1;
for (i = 1; i < argc; i++) {
#if DEBUG_TRACE
if (strcmp(argv[i], "-v") == 0) {
debug_trace = 1;
}
#endif
}
for (i = 1; i < argc; i++) {
if (argv[i][0] == '-') {
// ignore arguments
continue;
}
char* fn = argv[i];
buf_setlen(input, 0);
buf_readfile(input, fn);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment