• Home
  • Raw
  • Download

Lines Matching refs:Log

19 import dexfuzz.Log.LogTag;
87 Log.always("DexFuzz Usage:"); in usage()
88 Log.always(" --input=<file> : Seed DEX file to be fuzzed"); in usage()
89 Log.always(" (Can specify multiple times.)"); in usage()
90 Log.always(" --inputs=<file> : Directory containing DEX files to be fuzzed."); in usage()
91 Log.always(" --output=<file> : Output DEX file to be produced"); in usage()
92 Log.always(""); in usage()
93 Log.always(" --execute : Execute the resulting fuzzed program"); in usage()
94 Log.always(" --host : Execute on host"); in usage()
95 Log.always(" --device=<device> : Execute on an ADB-connected-device, where <device> is"); in usage()
96 Log.always(" the argument given to adb -s. Default execution mode."); in usage()
97 Log.always(" --execute-dir=<dir> : Push tests to this directory to execute them."); in usage()
98 Log.always(" (Default: /data/art-test)"); in usage()
99 Log.always(" --android-root=<dir> : Set path where dalvikvm should look for binaries."); in usage()
100 Log.always(" Use this when pushing binaries to a custom location."); in usage()
101 Log.always(" --no-boot-image : Use this flag when boot.art is not available."); in usage()
102 Log.always(" --skip-host-verify : When executing, skip host-verification stage"); in usage()
103 Log.always(" --execute-class=<c> : When executing, execute this class (default: Main)"); in usage()
104 Log.always(""); in usage()
105 Log.always(" --interpreter : Include the Interpreter in comparisons"); in usage()
106 Log.always(" --optimizing : Include the Optimizing Compiler in comparisons"); in usage()
107 Log.always(""); in usage()
108 Log.always(" --arm : Include ARM backends in comparisons"); in usage()
109 Log.always(" --arm64 : Include ARM64 backends in comparisons"); in usage()
110 Log.always(" --allarm : Short for --arm --arm64"); in usage()
111 Log.always(" --x86 : Include x86 backends in comparisons"); in usage()
112 Log.always(" --x86-64 : Include x86-64 backends in comparisons"); in usage()
113 Log.always(""); in usage()
114 Log.always(" --dump-output : Dump outputs of executed programs"); in usage()
115 Log.always(" --dump-verify : Dump outputs of verification"); in usage()
116 Log.always(" --repeat=<n> : Fuzz N programs, executing each one."); in usage()
117 Log.always(" --short-timeouts : Shorten timeouts (faster; use if"); in usage()
118 Log.always(" you want to focus on output divergences)"); in usage()
119 Log.always(" --divergence-retry=<n> : Number of retries when checking if test is"); in usage()
120 Log.always(" self-divergent. (Default: 10)"); in usage()
121 Log.always(" --seed=<seed> : RNG seed to use"); in usage()
122 Log.always(" --method-mutations=<n> : Maximum number of mutations to perform on each method."); in usage()
123 Log.always(" (Default: 3)"); in usage()
124 Log.always(" --min-methods=<n> : Minimum number of methods to mutate. (Default: 2)"); in usage()
125 Log.always(" --max-methods=<n> : Maximum number of methods to mutate. (Default: 10)"); in usage()
126 Log.always(" --one-mutation : Short for --method-mutations=1 "); in usage()
127 Log.always(" --min-methods=1 --max-methods=1"); in usage()
128 Log.always(" --likelihoods=<file> : A file containing a table of mutation likelihoods"); in usage()
129 Log.always(" --mutate-limit : Mutate only methods whose names end with _MUTATE"); in usage()
130 Log.always(" --skip-mutation : Do not actually mutate the input, just output it"); in usage()
131 Log.always(" after parsing"); in usage()
132 Log.always(""); in usage()
133 Log.always(" --dump-mutations[=<file>] : Dump an editable set of mutations applied"); in usage()
134 Log.always(" to <file> (default: mutations.dump)"); in usage()
135 Log.always(" --load-mutations[=<file>] : Load and apply a set of mutations"); in usage()
136 Log.always(" from <file> (default: mutations.dump)"); in usage()
137 Log.always(" --log=<tag> : Set more verbose logging level: DEBUG, INFO, WARN"); in usage()
138 Log.always(" --report=<file> : Use <file> to report results when using --repeat"); in usage()
139 Log.always(" (Default: report.log)"); in usage()
140 Log.always(" --report-unique : Print out information about unique programs generated"); in usage()
141 Log.always(" --unique-db=<file> : Use <file> store results about unique programs"); in usage()
142 Log.always(" (Default: unique_progs.db)"); in usage()
143 Log.always(" --bisection-search : Run bisection search for divergences"); in usage()
144 Log.always(" --quiet : Disables progress log"); in usage()
145 Log.always(""); in usage()
205 Log.error("Unrecognised flag: --" + flag); in handleFlagOption()
221 Log.errorAndQuit("Specified argument to --inputs is not a directory!"); in handleKeyValueOption()
225 Log.always("Adding " + inputName + " to input seed files."); in handleKeyValueOption()
244 Log.setLoggingLevel(LogTag.valueOf(value.toUpperCase())); in handleKeyValueOption()
267 Log.error("Unrecognised key: --" + key); in handleKeyValueOption()
292 Log.error("Unable to open mutation probability table file: " + tableFilename); in setupMutationLikelihoodTable()
294 Log.error("Unable to read mutation probability table file: " + tableFilename); in setupMutationLikelihoodTable()
306 Log.error("Unrecognised option: " + arg); in readOptions()
335 Log.always("Assuming --input=fuzzingseed.dex"); in validateOptions()
338 Log.errorAndQuit("No input given, and couldn't find fuzzingseed.dex!"); in validateOptions()
344 Log.always("Assuming --output=fuzzingseed_fuzzed.dex"); in validateOptions()
352 Log.always("Assuming --likelihoods=likelihoods.txt "); in validateOptions()
355 Log.always("Using default likelihoods (see README for values)"); in validateOptions()
361 Log.error("--repeat must be at least 1!"); in validateOptions()
365 Log.error("--divergence-retry cannot be negative!"); in validateOptions()
369 Log.error("Cannot use --repeat with --seed"); in validateOptions()
373 Log.error("Cannot both load and dump mutations"); in validateOptions()
377 Log.error("Must use --repeat if you have provided more than one input"); in validateOptions()
381 Log.error("Cannot use --method-mutations with a negative value."); in validateOptions()
385 Log.error("Cannot use --min-methods with a negative value."); in validateOptions()
389 Log.error("Cannot use --max-methods with a negative value."); in validateOptions()
393 Log.error("Cannot use --max-methods that's smaller than --min-methods"); in validateOptions()
397 Log.error("Cannot use --host and --device!"); in validateOptions()
407 Log.error("No architecture to execute on was specified!"); in validateOptions()
415 Log.error("Did you mean to specify ARM and x86?"); in validateOptions()
430 Log.error("Not enough backends specified! Try --optimizing --interpreter!"); in validateOptions()