Home
last modified time | relevance | path

Searched refs:MutatableCode (Results 1 – 25 of 28) sorted by relevance

12

/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DCodeMutator.java22 import dexfuzz.program.MutatableCode;
88 public boolean attemptToMutate(MutatableCode mutatableCode) { in attemptToMutate()
112 private boolean shouldMutate(MutatableCode mutatableCode) { in shouldMutate()
116 private void generateAndApplyMutation(MutatableCode mutatableCode) { in generateAndApplyMutation()
127 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
131 protected abstract Mutation generateMutation(MutatableCode mutatableCode); in generateMutation()
DNewArrayLengthChanger.java22 import dexfuzz.program.MutatableCode;
71 private void generateCachedArrayLengthInsns(MutatableCode mutatableCode) { in generateCachedArrayLengthInsns()
86 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
99 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
114 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
149 private int scanNewArray(MutatableCode mutatableCode) { in scanNewArray()
DIfBranchChanger.java22 import dexfuzz.program.MutatableCode;
78 private void generateCachedifBranchInsns(MutatableCode mutatableCode) { in generateCachedifBranchInsns()
93 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
105 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
119 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DRegisterClobber.java22 import dexfuzz.program.MutatableCode;
68 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
73 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
85 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DBranchShifter.java23 import dexfuzz.program.MutatableCode;
75 private void generateCachedBranchInsns(MutatableCode mutatableCode) { in generateCachedBranchInsns()
90 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
107 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
151 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DCmpBiasChanger.java22 import dexfuzz.program.MutatableCode;
71 private void generateCachedCmpBiasInsns(MutatableCode mutatableCode) { in generateCachedCmpBiasInsns()
86 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
98 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
113 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DFieldFlagChanger.java22 import dexfuzz.program.MutatableCode;
78 private void generateCachedFieldInsns(MutatableCode mutatableCode) { in generateCachedFieldInsns()
93 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
105 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
132 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
155 private boolean isFileDefinedFieldInstruction(MInsn mInsn, MutatableCode mutatableCode) { in isFileDefinedFieldInstruction()
DInstructionDeleter.java23 import dexfuzz.program.MutatableCode;
65 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
76 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
90 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DConstantValueChanger.java22 import dexfuzz.program.MutatableCode;
75 private void generateCachedConstInsns(MutatableCode mutatableCode) { in generateCachedConstInsns()
89 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
101 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
130 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DNewInstanceChanger.java22 import dexfuzz.program.MutatableCode;
82 private void generateCachedNewInstanceInsns(MutatableCode mutatableCode) { in generateCachedNewInstanceInsns()
97 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
114 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
141 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
173 MutatableCode mutatableCode = mutation.mutatableCode; in changeInvokeDirect()
208 protected int foundInsnIdx(MutatableCode mutatableCode, MInsn newInstanceInsn) { in foundInsnIdx()
DSwitchBranchShifter.java23 import dexfuzz.program.MutatableCode;
78 private void generateCachedSwitchInsns(MutatableCode mutatableCode) { in generateCachedSwitchInsns()
93 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
105 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
153 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DConversionRepeater.java22 import dexfuzz.program.MutatableCode;
71 private void generateCachedConversionInsns(MutatableCode mutatableCode) { in generateCachedConversionInsns()
86 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
98 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
111 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DInstructionSwapper.java22 import dexfuzz.program.MutatableCode;
69 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
79 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
146 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DInvokeChanger.java22 import dexfuzz.program.MutatableCode;
89 private void generateCachedinvokeCallInsns(MutatableCode mutatableCode) { in generateCachedinvokeCallInsns()
104 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
116 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
131 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DPoolIndexChanger.java22 import dexfuzz.program.MutatableCode;
76 private void generateCachedPoolIndexInsns(MutatableCode mutatableCode) { in generateCachedPoolIndexInsns()
90 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
127 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
177 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DVRegChanger.java22 import dexfuzz.program.MutatableCode;
78 private void generateCachedVRegInsns(MutatableCode mutatableCode) { in generateCachedVRegInsns()
92 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
108 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
156 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DInstructionDuplicator.java22 import dexfuzz.program.MutatableCode;
65 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
92 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DTryBlockShifter.java23 import dexfuzz.program.MutatableCode;
83 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
96 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
180 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DNonsenseStringPrinter.java22 import dexfuzz.program.MutatableCode;
71 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
99 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DNewMethodCaller.java22 import dexfuzz.program.MutatableCode;
105 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
141 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
DValuePrinter.java22 import dexfuzz.program.MutatableCode;
66 protected boolean canMutate(MutatableCode mutatableCode) { in canMutate()
78 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation()
109 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation()
/art/tools/dexfuzz/src/dexfuzz/program/
DMutation.java28 public MutatableCode mutatableCode;
37 public void setup(Class<? extends CodeMutator> mutatorClass, MutatableCode mutatableCode) { in setup()
DProgram.java109 private List<MutatableCode> mutatableCodes;
116 private List<MutatableCode> mutatedCodes;
190 mutatableCodes = new ArrayList<MutatableCode>(); in Program()
191 mutatedCodes = new ArrayList<MutatableCode>(); in Program()
399 private boolean mutateAMutatableCode(MutatableCode mutatableCode) { in mutateAMutatableCode()
460 for (MutatableCode mutatableCode : mutatableCodes) { in mutateTheProgram()
472 MutatableCode mutatableCode = mutatableCodes.get(randomMethodIdx); in mutateTheProgram()
549 for (MutatableCode mutatedCode : mutatedCodes) { in updateRawDexFile()
DCodeTranslator.java50 public MutatableCode codeItemToMutatableCode(Program program, CodeItem codeItem, in codeItemToMutatableCode()
55 MutatableCode mutatableCode = new MutatableCode(program); in codeItemToMutatableCode()
140 public void mutatableCodeToCodeItem(CodeItem codeItem, MutatableCode mutatableCode) { in mutatableCodeToCodeItem()
249 private void readTryBlocks(CodeItem codeItem, MutatableCode mutatableCode, in readTryBlocks()
320 private void updateTryBlocks(CodeItem codeItem, MutatableCode mutatableCode) { in updateTryBlocks()
456 private void updateSwitchInstruction(MSwitchInsn switchInsn, MutatableCode mutatableCode) { in updateSwitchInstruction()
511 private void alignDataInstructions(MutatableCode mutatableCode) { in alignDataInstructions()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DCodeItem.java20 import dexfuzz.program.MutatableCode;
37 private MutatableCode mutatableCode;
121 public void registerMutatableCode(MutatableCode mutatableCode) { in registerMutatableCode()

12