Home
last modified time | relevance | path

Searched refs:program (Results 1 – 25 of 59) sorted by relevance

123

/art/tools/dexfuzz/src/dexfuzz/fuzzers/
DFuzzer.java34 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 …]
DFuzzerSingleExecute.java20 import dexfuzz.program.Program;
33 Program program = fuzz(); in run() local
35 execute(program); in run()
DFuzzerMultipleExecute.java21 import dexfuzz.program.Program;
43 Program program = fuzz(); in run() local
45 execute(program); in run()
/art/tools/dexfuzz/src/dexfuzz/program/
DProgram.java17 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 …]
DMutation.java17 package dexfuzz.program;
19 import dexfuzz.program.mutators.CodeMutator;
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DNewInstanceChanger.java17 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()
DInstructionDeleter.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MInsnWithData;
23 import dexfuzz.program.MutatableCode;
24 import dexfuzz.program.Mutation;
DFieldFlagChanger.java17 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()
DNonsenseStringPrinter.java17 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()
DRegisterClobber.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;
DInstructionDuplicator.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;
DBranchShifter.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MBranchInsn;
22 import dexfuzz.program.MInsn;
23 import dexfuzz.program.MutatableCode;
24 import dexfuzz.program.Mutation;
DPoolIndexChanger.java17 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()
DOppositeBranchChanger.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.Mutation;
DSwitchBranchShifter.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MSwitchInsn;
23 import dexfuzz.program.MutatableCode;
24 import dexfuzz.program.Mutation;
DIfBranchChanger.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;
DInstructionSwapper.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;
DCodeMutator.java17 package dexfuzz.program.mutators;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;
DRandomBranchChanger.java17 package dexfuzz.program.mutators;
20 import dexfuzz.program.MInsn;
21 import dexfuzz.program.Mutation;
DCmpBiasChanger.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;
DTryBlockShifter.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MTryBlock;
23 import dexfuzz.program.MutatableCode;
24 import dexfuzz.program.Mutation;
DNewMethodCaller.java17 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()
DNewArrayLengthChanger.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;
DConstantValueChanger.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;
DConversionRepeater.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 import dexfuzz.program.Mutation;

123