/art/tools/dexfuzz/src/dexfuzz/fuzzers/ |
D | Fuzzer.java | 34 import dexfuzz.program.Mutation; 35 import dexfuzz.program.Program; 183 Program program = loadProgram(inputFile, null); in fuzz() local 184 if (program == null) { in fuzz() 190 program.mutateTheProgram(); in fuzz() 192 mutatedSuccessfully = program.updateRawDexFile(); in fuzz() 202 savedSuccessfully = saveProgram(program, getNextOutputFilename()); in fuzz() 204 return program; in fuzz() 211 protected void execute(Program program) { in execute() argument 245 analyseResults(program, programName); in execute() [all …]
|
D | FuzzerSingleExecute.java | 20 import dexfuzz.program.Program; 33 Program program = fuzz(); in run() local 35 execute(program); in run()
|
D | FuzzerMultipleExecute.java | 21 import dexfuzz.program.Program; 43 Program program = fuzz(); in run() local 45 execute(program); in run()
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | Program.java | 17 package dexfuzz.program; 23 import dexfuzz.program.mutators.ArithOpChanger; 24 import dexfuzz.program.mutators.BranchShifter; 25 import dexfuzz.program.mutators.CmpBiasChanger; 26 import dexfuzz.program.mutators.CodeMutator; 27 import dexfuzz.program.mutators.ConstantValueChanger; 28 import dexfuzz.program.mutators.ConversionRepeater; 29 import dexfuzz.program.mutators.FieldFlagChanger; 30 import dexfuzz.program.mutators.InstructionDeleter; 31 import dexfuzz.program.mutators.InstructionDuplicator; [all …]
|
D | Mutation.java | 17 package dexfuzz.program; 19 import dexfuzz.program.mutators.CodeMutator;
|
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
D | NewInstanceChanger.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation; 99 if (mutatableCode.program.getTotalPoolIndicesByKind(PoolIndexKind.Type) < 2) { in canMutate() 121 int totalPoolIndices = mutatableCode.program.getTotalPoolIndicesByKind(PoolIndexKind.Type); in generateMutation() 183 String className = mutatableCode.program.getTypeString(mutation.newInstanceTypeIdx); in changeInvokeDirect() 184 String methodName = mutatableCode.program.getMethodString((int) oldMethodIdx); in changeInvokeDirect() 185 String shorty = mutatableCode.program.getMethodProto((int) oldMethodIdx); in changeInvokeDirect() 190 int methodId = mutatableCode.program.getNewItemCreator(). in changeInvokeDirect()
|
D | InstructionDeleter.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MInsnWithData; 23 import dexfuzz.program.MutatableCode; 24 import dexfuzz.program.Mutation;
|
D | FieldFlagChanger.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation; 113 EncodedField encodedField = mutatableCode.program.getEncodedField(fieldIdx); in generateMutation() 139 EncodedField encodedField = mutatableCode.program.getEncodedField(fieldIdx); in applyMutation() 161 if (mutatableCode.program.getEncodedField(fieldIdx) != null) { in isFileDefinedFieldInstruction()
|
D | NonsenseStringPrinter.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation; 101 int outFieldIdx = mutatableCode.program.getNewItemCreator().findOrCreateFieldId( in applyMutation() 105 int printMethodIdx = mutatableCode.program.getNewItemCreator().findOrCreateMethodId( in applyMutation() 109 int nonsenseStringIdx = mutatableCode.program.getNewItemCreator().findOrCreateString( in applyMutation()
|
D | RegisterClobber.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|
D | InstructionDuplicator.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|
D | BranchShifter.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MBranchInsn; 22 import dexfuzz.program.MInsn; 23 import dexfuzz.program.MutatableCode; 24 import dexfuzz.program.Mutation;
|
D | PoolIndexChanger.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation; 112 int numPoolIndices = mutatableCode.program.getTotalPoolIndicesByKind(kind); in canMutate() 154 maxPoolIndex = mutatableCode.program.getTotalPoolIndicesByKind(poolIndexKind); in generateMutation()
|
D | OppositeBranchChanger.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.Mutation;
|
D | SwitchBranchShifter.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MSwitchInsn; 23 import dexfuzz.program.MutatableCode; 24 import dexfuzz.program.Mutation;
|
D | IfBranchChanger.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|
D | InstructionSwapper.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|
D | CodeMutator.java | 17 package dexfuzz.program.mutators; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|
D | RandomBranchChanger.java | 17 package dexfuzz.program.mutators; 20 import dexfuzz.program.MInsn; 21 import dexfuzz.program.Mutation;
|
D | CmpBiasChanger.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|
D | TryBlockShifter.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MTryBlock; 23 import dexfuzz.program.MutatableCode; 24 import dexfuzz.program.Mutation;
|
D | NewMethodCaller.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation; 167 int methodIdx = mutatableCode.program.getNewItemCreator() in applyMutation()
|
D | NewArrayLengthChanger.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|
D | ConstantValueChanger.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|
D | ConversionRepeater.java | 17 package dexfuzz.program.mutators; 21 import dexfuzz.program.MInsn; 22 import dexfuzz.program.MutatableCode; 23 import dexfuzz.program.Mutation;
|