/** * Helper for {@link #finishProcessingAndGetList}, which extracts * the opcode out of each instruction into a separate array, to be * further manipulated as things progress. * * @return {@code non-null;} the array of opcodes */ private Dop[] makeOpcodesArray() { int size = insns.size(); Dop[] result = new Dop[size]; for (int i = 0; i < size; i++) { result[i] = insns.get(i).getOpcode(); } return result; }
/** * Helper for {@link #finishProcessingAndGetList}, which extracts * the opcode out of each instruction into a separate array, to be * further manipulated as things progress. * * @return {@code non-null;} the array of opcodes */ private Dop[] makeOpcodesArray() { int size = insns.size(); Dop[] result = new Dop[size]; for (int i = 0; i < size; i++) { result[i] = insns.get(i).getOpcode(); } return result; }
/** * Helper for {@link #finishProcessingAndGetList}, which extracts * the opcode out of each instruction into a separate array, to be * further manipulated as things progress. * * @return {@code non-null;} the array of opcodes */ private Dop[] makeOpcodesArray() { int size = insns.size(); Dop[] result = new Dop[size]; for (int i = 0; i < size; i++) { DalvInsn insn = insns.get(i); result[i] = insn.getOpcode(); } return result; }
/** * Helper for {@link #finishProcessingAndGetList}, which extracts * the opcode out of each instruction into a separate array, to be * further manipulated as things progress. * * @return {@code non-null;} the array of opcodes */ private Dop[] makeOpcodesArray() { int size = insns.size(); Dop[] result = new Dop[size]; for (int i = 0; i < size; i++) { result[i] = insns.get(i).getOpcode(); } return result; }
/** * Helper for {@link #finishProcessingAndGetList}, which extracts * the opcode out of each instruction into a separate array, to be * further manipulated as things progress. * * @return {@code non-null;} the array of opcodes */ private Dop[] makeOpcodesArray() { int size = insns.size(); Dop[] result = new Dop[size]; for (int i = 0; i < size; i++) { result[i] = insns.get(i).getOpcode(); } return result; }
/** * Helper for {@link #finishProcessingAndGetList}, which extracts * the opcode out of each instruction into a separate array, to be * further manipulated as things progress. * * @return {@code non-null;} the array of opcodes */ private Dop[] makeOpcodesArray() { int size = insns.size(); Dop[] result = new Dop[size]; for (int i = 0; i < size; i++) { result[i] = insns.get(i).getOpcode(); } return result; }
/** * Helper for {@link #finishProcessingAndGetList}, which extracts * the opcode out of each instruction into a separate array, to be * further manipulated as things progress. * * @return {@code non-null;} the array of opcodes */ private Dop[] makeOpcodesArray() { int size = insns.size(); Dop[] result = new Dop[size]; for (int i = 0; i < size; i++) { DalvInsn insn = insns.get(i); result[i] = insn.getOpcode(); } return result; }
private Dop findExpandedOpcodeForInsn(DalvInsn insn) { Dop result = findOpcodeForInsn(insn.getLowRegVersion(), insn.getOpcode()); if (result == null) { throw new DexException("No expanded opcode for " + insn); } return result; }
/** * Helper method to get an extended (16-bit) opcode out of an * instruction, returning it as a code unit. The opcode * <i>must</i> be an extended opcode. * * @param insn {@code non-null;} the instruction containing the * extended opcode * @return the opcode as a code unit */ protected static short opcodeUnit(DalvInsn insn) { int opcode = insn.getOpcode().getOpcode(); if ((opcode < 0x100) || (opcode > 0xffff)) { throw new IllegalArgumentException("opcode out of range 0..65535"); } return (short) opcode; }
/** * Helper method to get an extended (16-bit) opcode out of an * instruction, returning it as a code unit. The opcode * <i>must</i> be an extended opcode. * * @param insn {@code non-null;} the instruction containing the * extended opcode * @return the opcode as a code unit */ protected static short opcodeUnit(DalvInsn insn) { int opcode = insn.getOpcode().getOpcode(); if ((opcode < 0x100) || (opcode > 0xffff)) { throw new IllegalArgumentException("opcode out of range 0..65535"); } return (short) opcode; }
/** * Helper method to get an extended (16-bit) opcode out of an * instruction, returning it as a code unit. The opcode * <i>must</i> be an extended opcode. * * @param insn {@code non-null;} the instruction containing the * extended opcode * @return the opcode as a code unit */ protected static short opcodeUnit(DalvInsn insn) { int opcode = insn.getOpcode().getOpcode(); if ((opcode < 0x100) || (opcode > 0xffff)) { throw new IllegalArgumentException("opcode out of range 0..65535"); } return (short) opcode; }
/** * Helper method to get an extended (16-bit) opcode out of an * instruction, returning it as a code unit. The opcode * <i>must</i> be an extended opcode. * * @param insn {@code non-null;} the instruction containing the * extended opcode * @return the opcode as a code unit */ protected static short opcodeUnit(DalvInsn insn) { int opcode = insn.getOpcode().getOpcode(); if ((opcode < 0xff) || (opcode > 0xffff)) { throw new IllegalArgumentException( "extended opcode out of range 255..65535"); } return (short) opcode; }
/** * Helper method to get an extended (16-bit) opcode out of an * instruction, returning it as a code unit. The opcode * <i>must</i> be an extended opcode. * * @param insn {@code non-null;} the instruction containing the * extended opcode * @return the opcode as a code unit */ protected static short opcodeUnit(DalvInsn insn) { int opcode = insn.getOpcode().getOpcode(); if ((opcode < 0xff) || (opcode > 0xffff)) { throw new IllegalArgumentException( "extended opcode out of range 255..65535"); } return (short) opcode; }
/** * Finds the proper opcode for the given instruction, ignoring * register constraints. * * @param insn {@code non-null;} the instruction in question * @return {@code non-null;} the opcode that fits */ private Dop findExpandedOpcodeForInsn(DalvInsn insn) { Dop result = findOpcodeForInsn(insn.getLowRegVersion(), insn.getOpcode()); if (result == null) { throw new DexException("No expanded opcode for " + insn); } return result; }
/** * Finds the proper opcode for the given instruction, ignoring * register constraints. * * @param insn {@code non-null;} the instruction in question * @return {@code non-null;} the opcode that fits */ private Dop findExpandedOpcodeForInsn(DalvInsn insn) { Dop result = findOpcodeForInsn(insn.getLowRegVersion(), insn.getOpcode()); if (result == null) { throw new DexException("No expanded opcode for " + insn); } return result; }
/** * Finds the proper opcode for the given instruction, ignoring * register constraints. * * @param insn {@code non-null;} the instruction in question * @return {@code non-null;} the opcode that fits */ private Dop findExpandedOpcodeForInsn(DalvInsn insn) { Dop result = findOpcodeForInsn(insn.getLowRegVersion(), insn.getOpcode()); if (result == null) { throw new DexException("No expanded opcode for " + insn); } return result; }
/** * Finds the proper opcode for the given instruction, ignoring * register constraints. * * @param insn {@code non-null;} the instruction in question * @return {@code non-null;} the opcode that fits */ private Dop findExpandedOpcodeForInsn(DalvInsn insn) { Dop result = findOpcodeForInsn(insn.getLowRegVersion(), insn.getOpcode()); if (result == null) { throw new DexException("No expanded opcode for " + insn); } return result; }
/** * Finds the proper opcode for the given instruction, ignoring * register constraints. * * @param insn {@code non-null;} the instruction in question * @return {@code non-null;} the opcode that fits */ private Dop findExpandedOpcodeForInsn(DalvInsn insn) { Dop result = findOpcodeForInsn(insn.getLowRegVersion(), insn.getOpcode()); if (result == null) { throw new DexException("No expanded opcode for " + insn); } return result; }
/** * Finds the proper opcode for the given instruction, ignoring * register constraints. * * @param insn {@code non-null;} the instruction in question * @return {@code non-null;} the opcode that fits */ private Dop findExpandedOpcodeForInsn(DalvInsn insn) { Dop result = findOpcodeForInsn(insn.getLowRegVersion(), insn.getOpcode()); if (result == null) { throw new DexException("No expanded opcode for " + insn); } return result; }
/** * Finds the proper opcode for the given instruction, ignoring * register constraints. * * @param insn {@code non-null;} the instruction in question * @return {@code non-null;} the opcode that fits */ private Dop findExpandedOpcodeForInsn(DalvInsn insn) { Dop result = findOpcodeForInsn(insn.getLowRegVersion(), insn.getOpcode()); if (result == null) { throw new DexException("No expanded opcode for " + insn); } return result; }