Changeset 1555 for zzuf/trunk/src/zzuf.c
- Timestamp:
- Jan 4, 2007, 9:59:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/zzuf.c
r1554 r1555 114 114 { "quiet", 0, NULL, 'q' }, 115 115 { "ratio", 1, NULL, 'r' }, 116 { "refuse", 1, NULL, 'R' }, 116 117 { "seed", 1, NULL, 's' }, 117 118 { "signal", 0, NULL, 'S' }, … … 119 120 { "version", 0, NULL, 'v' }, 120 121 }; 121 int c = getopt_long(argc, argv, "B:cdE:F:hiI:P:qr: s:ST:v",122 int c = getopt_long(argc, argv, "B:cdE:F:hiI:P:qr:R:s:ST:v", 122 123 long_options, &option_index); 123 124 # else 124 125 # define MOREINFO "Try `%s -h' for more information.\n" 125 int c = getopt(argc, argv, "B:cdE:F:hiI:P:qr: s:ST:v");126 int c = getopt(argc, argv, "B:cdE:F:hiI:P:qr:R:s:ST:v"); 126 127 # endif 127 128 if(c == -1) … … 171 172 case 'P': /* --protect */ 172 173 setenv("ZZUF_PROTECT", optarg, 1); 174 break; 175 case 'R': /* --refuse */ 176 setenv("ZZUF_REFUSE", optarg, 1); 173 177 break; 174 178 case 'q': /* --quiet */ … … 546 550 static void usage(void) 547 551 { 548 printf("Usage: zzuf [ -qdic ] [ -r ratio ] [ -s seed | -s start:stop ]\n"); 549 printf(" [ -F children ] [ -B bytes ] [ -T seconds ] [ -P protect ]\n"); 550 printf(" [ -I include ] [ -E exclude ] COMMAND [ARGS]...\n"); 552 printf("Usage: zzuf [ -cdiqS ] [ -r ratio ] [ -s seed | -s start:stop ]\n"); 553 printf(" [ -F children ] [ -B bytes ] [ -T seconds ]\n"); 554 printf(" [ -P protect ] [ -R refuse ]\n"); 555 printf(" [ -I include ] [ -E exclude ] COMMAND [ARGS]...\n"); 551 556 printf(" zzuf -h\n"); 552 557 printf(" zzuf -v\n"); … … 565 570 printf(" -q, --quiet do not print children's messages\n"); 566 571 printf(" -r, --ratio <ratio> bit fuzzing ratio (default 0.004)\n"); 572 printf(" -R, --refuse <list> refuse bytes and characters in <list>\n"); 567 573 printf(" -s, --seed <seed> random seed (default 0)\n"); 568 574 printf(" --seed <start:stop> specify a seed range\n"); … … 582 588 printf(" -q do not print the fuzzed application's messages\n"); 583 589 printf(" -r <ratio> bit fuzzing ratio (default 0.004)\n"); 590 printf(" -R <list> refuse bytes and characters in <list>\n"); 584 591 printf(" -s <seed> random seed (default 0)\n"); 585 592 printf(" <start:stop> specify a seed range\n");
Note: See TracChangeset
for help on using the changeset viewer.