Home
last modified time | relevance | path

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

123

/art/tools/dexfuzz/src/dexfuzz/fuzzers/
DFuzzer.java38 import dexfuzz.program.Mutation;
39 import dexfuzz.program.Program;
197 Program program = loadProgram(inputFile, null); in fuzz() local
198 if (program == null) { in fuzz()
204 program.mutateTheProgram(); in fuzz()
206 mutatedSuccessfully = program.updateRawDexFile(); in fuzz()
216 savedSuccessfully = saveProgram(program, getNextOutputFilename()); in fuzz()
218 return program; in fuzz()
225 protected void execute(Program program) { in execute() argument
259 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;
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()
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()
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;
DInstructionSwapper.java17 package dexfuzz.program.mutators;
21 import dexfuzz.program.MInsn;
22 import dexfuzz.program.MutatableCode;
23 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;
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;
/art/runtime/
Dexec_utils.cc38 const char* program = arg_vector[0].c_str(); in ExecAndReturnCode() local
60 execv(program, &args[0]); in ExecAndReturnCode()
62 execve(program, &args[0], envp); in ExecAndReturnCode()

123