Searched refs:insertionIdx (Results 1 – 5 of 5) sorted by relevance
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
D | NonsenseStringPrinter.java | 37 public int insertionIdx; field in NonsenseStringPrinter.AssociatedMutation 43 builder.append(insertionIdx).append(" "); in getString() 50 insertionIdx = Integer.parseInt(elements[2]); in parseString() 73 int insertionIdx = 0; in generateMutation() local 77 insertionIdx = rng.nextInt(mutatableCode.getInstructionCount()); in generateMutation() 79 mutatableCode.getInstructionAt(insertionIdx); in generateMutation() 90 mutation.insertionIdx = insertionIdx; in generateMutation() 112 MInsn insertionPoint = mutatableCode.getInstructionAt(mutation.insertionIdx); in applyMutation() 145 mutatableCode.insertInstructionAt(invokeInsn, mutation.insertionIdx); in applyMutation() 146 mutatableCode.insertInstructionAt(streamLoadInsn, mutation.insertionIdx); in applyMutation() [all …]
|
D | NewMethodCaller.java | 46 public int insertionIdx; field in NewMethodCaller.AssociatedMutation 64 insertionIdx, in getString() 76 insertionIdx = Integer.parseInt(elements[2]); in parseString() 107 int insertionIdx = 0; in generateMutation() local 111 insertionIdx = rng.nextInt(mutatableCode.getInstructionCount()); in generateMutation() 113 mutatableCode.getInstructionAt(insertionIdx); in generateMutation() 124 mutation.insertionIdx = insertionIdx; in generateMutation() 177 mutatableCode.getInstructionAt(mutation.insertionIdx); in applyMutation() 184 mutatableCode.insertInstructionAt(newInsn, mutation.insertionIdx); in applyMutation()
|
D | RandomInstructionGenerator.java | 44 public int insertionIdx; field in RandomInstructionGenerator.AssociatedMutation 60 insertionIdx, in getString() 78 insertionIdx = Integer.parseInt(elements[2]); in parseString() 111 int insertionIdx = 0; in generateMutation() local 115 insertionIdx = rng.nextInt(mutatableCode.getInstructionCount()); in generateMutation() 117 mutatableCode.getInstructionAt(insertionIdx); in generateMutation() 152 mutation.insertionIdx = insertionIdx; in generateMutation() 257 mutatableCode.getInstructionAt(mutation.insertionIdx); in applyMutation() 264 mutatableCode.insertInstructionAt(newInsn, mutation.insertionIdx); in applyMutation() 270 mutatableCode.insertInstructionAfter(exitInsn, mutation.insertionIdx); in applyMutation() [all …]
|
D | RegisterClobber.java | 74 int insertionIdx = rng.nextInt(mutatableCode.getInstructionCount()); in generateMutation() local 78 mutation.regClobberIdx = insertionIdx; in generateMutation()
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | MutatableCode.java | 146 public void insertInstructionAfter(MInsn toBeInserted, int insertionIdx) { in insertInstructionAfter() argument 147 if ((insertionIdx + 1) < mutatableInsns.size()) { in insertInstructionAfter() 148 insertInstructionAt(toBeInserted, insertionIdx + 1); in insertInstructionAfter() 160 public void insertInstructionAt(MInsn toBeInserted, int insertionIdx) { in insertInstructionAt() argument 161 MInsn currentInsn = mutatableInsns.get(insertionIdx); in insertInstructionAt() 163 mutatableInsns.add(insertionIdx , toBeInserted); in insertInstructionAt()
|