Browse code

updated documentation on '--statistics' option

Kevin Lin authored on 2015/02/20 02:47:20
Showing 4 changed files
... ...
@@ -62,7 +62,7 @@ static void help(void)
62 62
     printf("    --printbcir            -c         Print IR of bytecode signature\n");
63 63
     printf("    --trace <level>        -T         Set bytecode trace level 0..7 (default 7)\n");
64 64
     printf("    --no-trace-showsource  -s         Don't show source line during tracing\n");
65
-    printf("    --bytecode-statistics             Collect and print bytecode execution statistics\n");
65
+    printf("    --statistics=bytecode             Collect and print bytecode execution statistics\n");
66 66
     printf("    file                              file to test\n");
67 67
     printf("\n");
68 68
     return;
... ...
@@ -239,7 +239,7 @@ void help(void)
239 239
     mprintf("    --bytecode[=yes(*)/no]               Load bytecode from the database\n");
240 240
     mprintf("    --bytecode-unsigned[=yes/no(*)]      Load unsigned bytecode\n");
241 241
     mprintf("    --bytecode-timeout=N                 Set bytecode timeout (in milliseconds)\n");
242
-    mprintf("    --bytecode-statistics[=yes/no(*)]    Collect and print bytecode statistics\n");
242
+    mprintf("    --statistics[=none(*)/bytecode/pcre] Collect and print execution statistics\n");
243 243
     mprintf("    --detect-pua[=yes/no(*)]             Detect Possibly Unwanted Applications\n");
244 244
     mprintf("    --exclude-pua=CAT                    Skip PUA sigs of category CAT\n");
245 245
     mprintf("    --include-pua=CAT                    Load PUA sigs of category CAT\n");
... ...
@@ -39,7 +39,7 @@ Set bytecode trace level 0..7 (default 7)
39 39
 \fB\-\-no\-trace\-showsource\fR
40 40
 Don't show source line during tracing
41 41
 .TP
42
-\fB\-\-bytecode\-statistics\fR
42
+\fB\-\-statistics=bytecode\fR
43 43
 Collect and print bytecode execution statistics
44 44
 .TP
45 45
 file
... ...
@@ -102,8 +102,8 @@ Allow loading bytecode from outside digitally signed .c[lv]d files.
102 102
 \fB\-\-bytecode\-timeout=N\fR
103 103
 Set bytecode timeout in milliseconds (default: 60000 = 60s)
104 104
 .TP 
105
-\fB\-\-bytecode\-statistics[=yes/no(*)]\fR
106
-Collect and print bytecode statistics.
105
+\fB\-\-statistics[=none(*)/bytecode/pcre]\fR
106
+Collect and print execution statistics.
107 107
 .TP 
108 108
 \fB\-\-detect\-pua[=yes/no(*)]\fR
109 109
 Detect Possibly Unwanted Applications.