Home
last modified time | relevance | path

Searched refs:newInsn (Results 1 – 11 of 11) sorted by relevance

/art/tools/dexfuzz/src/dexfuzz/program/
DMSwitchInsn.java39 MSwitchInsn newInsn = new MSwitchInsn(); in clone() local
40 newInsn.insn = insn.clone(); in clone()
41 newInsn.dataTarget = dataTarget; in clone()
42 newInsn.packed = packed; in clone()
44 newInsn.targets.add(target); in clone()
46 newInsn.keys = new int[keys.length]; in clone()
47 System.arraycopy(keys, 0, newInsn.keys, 0, keys.length); in clone()
48 return newInsn; in clone()
DMInsn.java47 MInsn newInsn = new MInsn(); in clone() local
48 newInsn.insn = insn.clone(); in clone()
50 newInsn.location = location; in clone()
51 newInsn.locationUpdated = locationUpdated; in clone()
52 return newInsn; in clone()
DMInsnWithData.java32 MInsnWithData newInsn = new MInsnWithData(); in clone() local
33 newInsn.insn = insn.clone(); in clone()
34 newInsn.dataTarget = dataTarget; in clone()
35 return newInsn; in clone()
DMBranchInsn.java32 MBranchInsn newInsn = new MBranchInsn(); in clone() local
33 newInsn.insn = insn.clone(); in clone()
34 newInsn.target = target; in clone()
35 return newInsn; in clone()
DCodeTranslator.java340 MInsn newInsn = second.startInsn; in updateTryBlocks() local
341 int ptr = mutatableCode.getInstructionIndex(newInsn); in updateTryBlocks()
342 while (first.endInsn.location > newInsn.location) { in updateTryBlocks()
344 newInsn = mutatableCode.getInstructionAt(ptr); in updateTryBlocks()
346 second.startInsn = newInsn; in updateTryBlocks()
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DRandomInstructionGenerator.java216 MInsn newInsn = null; in applyMutation() local
218 newInsn = new MInsn(); in applyMutation()
220 newInsn = new MBranchInsn(); in applyMutation()
222 newInsn.insn = new Instruction(); in applyMutation()
223 newInsn.insn.info = Instruction.getOpcodeInfo(mutation.newOpcode); in applyMutation()
224 AbstractFormat fmt = newInsn.insn.info.format; in applyMutation()
228 containsConst.setConst(newInsn.insn, mutation.constValue); in applyMutation()
232 containsPoolIndex.setPoolIndex(newInsn.insn, mutation.poolIndexValue); in applyMutation()
237 newInsn.insn.vregC = mutation.vregC; in applyMutation()
240 newInsn.insn.vregB = mutation.vregB; in applyMutation()
[all …]
DNewMethodCaller.java143 MInsn newInsn = new MInsn(); in applyMutation() local
144 newInsn.insn = new Instruction(); in applyMutation()
148 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_VIRTUAL); in applyMutation()
151 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_DIRECT); in applyMutation()
154 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_SUPER); in applyMutation()
157 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_STATIC); in applyMutation()
160 newInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_INTERFACE); in applyMutation()
171 newInsn.insn.vregB = methodIdx; in applyMutation()
172 newInsn.insn.invokeFormatInfo = new InvokeFormatInfo(); in applyMutation()
184 mutatableCode.insertInstructionAt(newInsn, mutation.insertionIdx); in applyMutation()
DTryBlockShifter.java181 MInsn newInsn = in applyMutation() local
186 tryBlock.startInsn = newInsn; in applyMutation()
188 + " to be at " + newInsn); in applyMutation()
190 tryBlock.endInsn = newInsn; in applyMutation()
192 + " to be at " + newInsn); in applyMutation()
194 tryBlock.catchAllHandler = newInsn; in applyMutation()
196 + " to be at " + newInsn); in applyMutation()
199 tryBlock.handlers.set(mutation.shiftingHandlerIdx, newInsn); in applyMutation()
201 + " of try block #" + mutation.tryIdx + " to be at " + newInsn); in applyMutation()
DInstructionDuplicator.java96 MInsn newInsn = oldInsn.clone(); in applyMutation() local
102 mutatableCode.insertInstructionAt(newInsn, mutation.insnToDuplicateIdx); in applyMutation()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DInstruction.java89 Instruction newInsn = new Instruction(); in clone() local
91 if (newInsn.rawBytes != null) { in clone()
92 newInsn.rawBytes = new byte[rawBytes.length]; in clone()
94 newInsn.rawBytes[i] = rawBytes[i]; in clone()
97 newInsn.justRaw = justRaw; in clone()
98 newInsn.rawType = rawType; in clone()
99 newInsn.rawSize = rawSize; in clone()
101 newInsn.vregA = vregA; in clone()
102 newInsn.vregB = vregB; in clone()
103 newInsn.vregC = vregC; in clone()
[all …]
DCodeItem.java80 Instruction newInsn = new Instruction(); in populateInstructionList() local
81 newInsn.read(file); in populateInstructionList()
82 insns.add(newInsn); in populateInstructionList()
83 finger += (2 * newInsn.getSize()); in populateInstructionList()