Home
last modified time | relevance | path

Searched refs:switchInsn (Results 1 – 3 of 3) sorted by relevance

/art/tools/dexfuzz/src/dexfuzz/program/
DCodeTranslator.java390 private void readSwitchInstruction(MSwitchInsn switchInsn, in readSwitchInstruction() argument
393 ContainsTarget containsTarget = (ContainsTarget) switchInsn.insn.info.format; in readSwitchInstruction()
394 int dataLocation = switchInsn.location + (int) containsTarget.getTarget(switchInsn.insn); in readSwitchInstruction()
395 switchInsn.dataTarget = insnLocationMap.get(dataLocation); in readSwitchInstruction()
396 if (switchInsn.dataTarget == null) { in readSwitchInstruction()
401 Instruction dataInsn = switchInsn.dataTarget.insn; in readSwitchInstruction()
412 switchInsn.packed = true; in readSwitchInstruction()
439 switchInsn.keys = keys; in readSwitchInstruction()
443 int targetLocation = switchInsn.location + target; in readSwitchInstruction()
445 switchInsn.targets.add(targetInsn); in readSwitchInstruction()
[all …]
DMutatableCode.java262 MSwitchInsn switchInsn = (MSwitchInsn) mInsn; in deleteInstructionFull() local
265 for (MInsn target : switchInsn.targets) { in deleteInstructionFull()
268 Log.debug(switchInsn + "[" + idx in deleteInstructionFull()
274 switchInsn.targets.remove(idxToChange); in deleteInstructionFull()
275 switchInsn.targets.add(idxToChange, replacementTarget); in deleteInstructionFull()
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DSwitchBranchShifter.java110 MSwitchInsn switchInsn = switchInsns.get(switchInsnIdx); in generateMutation() local
113 int switchTargetIdx = rng.nextInt(switchInsn.targets.size()); in generateMutation()
116 MInsn oldTargetInsn = switchInsn.targets.get(switchTargetIdx); in generateMutation()
157 MSwitchInsn switchInsn = switchInsns.get(mutation.switchInsnIdx); in applyMutation() local
164 switchInsn.targets.remove(mutation.switchTargetIdx); in applyMutation()
165 switchInsn.targets.add(mutation.switchTargetIdx, newTargetInsn); in applyMutation()
167 Log.info("Shifted target #" + mutation.switchTargetIdx + " of " + switchInsn in applyMutation()