Searched refs:Log (Results 1 - 25 of 53) sorted by relevance

123

/art/tools/dexfuzz/src/dexfuzz/
H A DOptions.java19 import dexfuzz.Log.LogTag;
89 Log.always("DexFuzz Usage:");
90 Log.always(" --input=<file> : Seed DEX file to be fuzzed");
91 Log.always(" (Can specify multiple times.)");
92 Log.always(" --inputs=<file> : Directory containing DEX files to be fuzzed.");
93 Log.always(" --output=<file> : Output DEX file to be produced");
94 Log.always("");
95 Log.always(" --execute : Execute the resulting fuzzed program");
96 Log.always(" --host : Execute on host");
97 Log
[all...]
H A DStreamConsumer.java92 Log.error("Client of StreamConsumer was interrupted while waiting for output?");
134 Log.error("StreamConsumer stopped consuming, but was not told to?");
141 Log.error("StreamConsumer caught IOException while consuming");
144 Log.error("StreamConsumer caught InterruptedException while consuming");
159 Log.error("StreamConsumer caught InterruptedException while waiting for work");
172 Log.error("invalid state: StreamConsumer told about work, but not CONSUMING?");
173 Log.error("state was: " + getCurrentState());
188 Log.error("StreamConsumer Unexpected state: " + state + ", expected " + previousState);
H A DDexFuzz.java47 Log.always(String.format("DexFuzz v%d.%d.%d",
49 Log.always("");
52 Log.error("Failed to validate options.");
68 } else if (!Log.likelyToLog()) {
99 Log.errorAndQuit("Invalid options provided, desired fuzzer unknown.");
H A DLog.java22 public class Log { class
26 private Log() { } method in class:Log
/art/tools/dexfuzz/src/dexfuzz/program/
H A DMutationSerializer.java19 import dexfuzz.Log;
55 Log.errorAndQuit("Could not read line during mutation loading.");
66 Log.errorAndQuit("Cannot find a mutator class called: " + mutatorClassName);
73 Log.errorAndQuit("Unable to instantiate " + mutatorClassName
76 Log.errorAndQuit("Unable to access methods in " + mutatorClassName + ".");
80 Log.errorAndQuit("Unable to get Mutation for Mutator: " + mutatorClassName);
H A DMutatableCode.java19 import dexfuzz.Log;
179 Log.debug("Try block's first instruction was updated");
182 Log.debug("Try block's first instruction was updated");
186 Log.debug("Try block's last instruction was updated");
189 Log.debug("Try block's last instruction was updated");
193 Log.debug("Try block's catch-all instruction was updated");
196 Log.debug("Try block's catch-all instruction was updated");
210 Log.debug("Try block's handler instruction was updated");
213 Log.debug("Try block's handler instruction was updated");
257 Log
[all...]
H A DProgram.java19 import dexfuzz.Log;
228 Log.debug("Legal to mutate code item " + codeItemIdx);
233 Log.debug("Not legal to mutate code item " + codeItemIdx);
241 Log.debug("Registering mutator " + mutator.getClass().getSimpleName());
329 Log.errorAndQuit("You've got an EncodedMethod that points to an Offsettable"
344 Log.debug("Mutating everything.");
348 Log.debug("Code item marked with _MUTATE.");
351 Log.debug("Code item not marked with _MUTATE, but not mutating all code items.");
402 Log.info("Attempting " + mutations + " mutations for method " + mutatableCode.name);
413 Log
[all...]
H A DIdCreator.java19 import dexfuzz.Log;
56 Log.errorAndQuit("Did not create necessary return type before finding insertion "
61 Log.errorAndQuit("Did not create necessary parameter list before finding insertion "
92 Log.errorAndQuit("Did not create necessary class, name or proto strings before finding "
117 Log.errorAndQuit("Did not create necessary descriptor string before finding "
148 Log.errorAndQuit("Did not create necessary class, type or name strings before finding "
171 Log.errorAndQuit("Referenced too many methods for the DEX file.");
207 Log.info(String.format("Created new MethodIdItem for %s %s %s, index: 0x%04x",
258 Log.errorAndQuit("Referenced too many classes for the DEX file.");
281 Log
[all...]
H A DCodeTranslator.java19 import dexfuzz.Log;
52 Log.debug("Translating CodeItem " + codeItemIdx
116 Log.errorAndQuit("Bad offset calculation in data-target insn");
123 Log.errorAndQuit("Bad offset calculation in branch insn");
141 Log.debug("Translating MutatableCode " + mutatableCode.name
160 Log.errorAndQuit(String.format("%s does not have expected location 0x%x",
274 Log.errorAndQuit(String.format(
279 Log.errorAndQuit(String.format(
294 Log.errorAndQuit(
308 Log
[all...]
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
H A DInstructionDeleter.java19 import dexfuzz.Log;
69 Log.debug("Cannot delete insns in a method with only a few.");
95 Log.info("Deleting " + toBeDeleted);
104 Log.info(toBeDeleted + " had associated data, so the data insn was deleted.");
114 Log.info(toBeDeleted
133 Log.errorAndQuit("Tried to delete a data insn, "
H A DCodeMutator.java19 import dexfuzz.Log;
75 Log.info("Set mutation likelihood to " + likelihood
93 Log.info("Skipping mutation.");
98 Log.info("Forcing mutation.");
H A DTryBlockShifter.java19 import dexfuzz.Log;
85 Log.debug("Method contains no tries.");
89 Log.debug("Not enough instructions to shift try block.");
137 Log.errorAndQuit("Faulty logic in TryBlockShifter!");
190 Log.info("Shifted the start of try block #" + mutation.tryIdx
194 Log.info("Shifted the end of try block #" + mutation.tryIdx
198 Log.info("Shifted the catch all handler of try block #" + mutation.tryIdx
203 Log.info("Shifted handler #" + mutation.shiftingHandlerIdx
206 Log.errorAndQuit("faulty logic in TryBlockShifter");
H A DBranchShifter.java19 import dexfuzz.Log;
93 Log.debug("Method contains only one instruction, skipping.");
102 Log.debug("Method contains no branch instructions.");
163 Log.info("Shifted the target of " + branchInsn + " to point to " + newTargetInsn);
H A DInstructionSwapper.java19 import dexfuzz.Log;
72 Log.debug("Cannot swap insns in a method with only one.");
151 Log.info("Swapping " + toBeSwapped + " with " + swappedWith);
157 Log.info("Now " + swappedWith + " is swapped with " + toBeSwapped);
H A DOppositeBranchChanger.java19 import dexfuzz.Log;
63 Log.errorAndQuit("Could not find if branch.");
H A DVRegChanger.java19 import dexfuzz.Log;
94 Log.debug("Impossible to change vregs in a method with fewer than 2 registers.");
135 Log.errorAndQuit("Invalid number of vregs reported by a Format.");
184 Log.errorAndQuit("Invalid number of vregs specified in a VRegChanger mutation.");
187 Log.info("In " + oldInsnString + " changed v" + vregId + ": v" + oldVregValue
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DDebugInfoItem.java19 import dexfuzz.Log;
40 Log.errorAndQuit("Error reading debug_info_item. The last byte is not DBG_END_SEQUENCE.");
H A DRawDexFile.java19 import dexfuzz.Log;
92 Log.debug("Updating StringIDs List size: " + stringIds.size());
99 Log.debug("Updating StringDatas List size: " + stringDatas.size());
105 Log.debug("Updating MethodIDs List size: " + methodIds.size());
112 Log.debug("Updating FieldIDs List size: " + fieldIds.size());
119 Log.debug("Updating ProtoIDs List size: " + protoIds.size());
126 Log.debug("Updating TypeIDs List size: " + typeIds.size());
133 Log.debug("Updating TypeLists List size: " + typeLists.size());
150 Log.errorAndQuit("MapItem's size " + mapItem.size
159 Log
[all...]
H A DOffsetTracker.java19 import dexfuzz.Log;
168 Log.error(String.format("Couldn't find original offset 0x%x!",
186 Log.errorAndQuit("Not all created Offsettable items have been added to the "
241 Log.errorAndQuit("Being asked to update dangling offsets but the "
277 Log.errorAndQuit("Being asked to go to the point before the MapList was written out,"
296 Log.errorAndQuit("Header " + offsetName + " offset not pointing at first element?");
358 Log.errorAndQuit("When calling updateMapListOffsets, could not find new "
390 Log.info("Updating offset in MapItem (type: " + mapItem.type + ") after "
415 Log.info("Calling insertNewOffsettableAsFirstEverTypeList()");
424 Log
[all...]
H A DOffset.java19 import dexfuzz.Log;
111 Log.debug("Updating what an Offset points to...");
127 Log.debug("Updating what an Offset points to...");
H A DStringDataItem.java19 import dexfuzz.Log;
38 Log.warn("Don't have full support for decoding MUTF-8 yet, DEX file "
83 Log.warn("Reading a string that hasn't been properly decoded! Returning empty string.");
H A DEncodedMethod.java19 import dexfuzz.Log;
34 Log.errorAndQuit("Sorry, DEX files with native methods are not supported yet.");
/art/tools/dexfuzz/src/dexfuzz/executors/
H A DDevice.java28 import dexfuzz.Log;
70 Log.errorAndQuit("Cannot run a fuzzed program if $" + key + " is not set!");
95 Log.errorAndQuit("Host core image not found at " + coreImage.getPath()
113 Log.errorAndQuit("Problem executing ADB - is it in your $PATH?");
116 Log.errorAndQuit("IOException when executing ADB, is it working?");
118 Log.errorAndQuit("InterruptedException when executing ADB, is it working?");
124 Log.errorAndQuit("Couldn't connect to specified ADB device: " + deviceName);
194 Log.info("Executing: " + command);
215 Log.info("Return value: " + result.returnValue);
232 Log
[all...]
/art/tools/dexfuzz/src/dexfuzz/fuzzers/
H A DFuzzer.java19 import dexfuzz.Log;
136 Log.errorAndQuit("Executor doesn't have correct constructor.");
138 Log.errorAndQuit("Executor couldn't be instantiated.");
140 Log.errorAndQuit("Executor couldn't be accessed.");
142 Log.errorAndQuit("Invalid arguments to instantiation of Executor.");
144 Log.errorAndQuit("Instantiation of Executor threw an Exception!");
199 Log.errorAndQuit("Problem loading seed file.");
212 Log.info("Skipping mutation stage as requested.");
227 Log.errorAndQuit("Your Fuzzer subclass called execute() "
402 Log
[all...]
/art/tools/dexfuzz/src/dexfuzz/listeners/
H A DUniqueProgramTrackerListener.java19 import dexfuzz.Log;
182 Log.error("Failed to successfully write out the unique programs DB!");
183 Log.error("Old DB should be saved in " + databaseFile + ".old");
200 Log.error("Failed to save divergent program! Does divergent_programs/ exist?");
250 Log.always("-- UNIQUE PROGRAM REPORT --");
251 Log.always("Unique Programs Seen: " + uniquePrograms.size());
252 Log.always("Unique Outputs Seen: " + uniqueOutputs.size());
253 Log.always("---------------------------");

Completed in 296 milliseconds

123