/** * Returns the parameter number that this move-param insn refers to * @param ndefInsn a move-param insn (otherwise, exceptions will be thrown) * @return parameter number (offset in the total parameter width) */ private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) { CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn(); return ((CstInteger) origInsn.getConstant()).getValue(); } }
/** * Returns the parameter index associated with a move-param insn. Does * not verify that the insn is a move-param insn. * * @param insn {@code non-null;} a move-param insn * @return {@code >=0;} parameter index */ private int getParamIndex(NormalSsaInsn insn) { CstInsn cstInsn = (CstInsn)(insn.getOriginalRopInsn()); int param = ((CstInteger)cstInsn.getConstant()).getValue(); return param; }
/** * Returns the parameter index associated with a move-param insn. Does * not verify that the insn is a move-param insn. * * @param insn {@code non-null;} a move-param insn * @return {@code >=0;} parameter index */ private int getParamIndex(NormalSsaInsn insn) { CstInsn cstInsn = (CstInsn)(insn.getOriginalRopInsn()); int param = ((CstInteger)cstInsn.getConstant()).getValue(); return param; }
/** * Returns the parameter index associated with a move-param insn. Does * not verify that the insn is a move-param insn. * * @param insn {@code non-null;} a move-param insn * @return {@code >=0;} parameter index */ private int getParamIndex(NormalSsaInsn insn) { CstInsn cstInsn = (CstInsn)(insn.getOriginalRopInsn()); int param = ((CstInteger)cstInsn.getConstant()).getValue(); return param; }
/** * Returns the parameter number that this move-param insn refers to * @param ndefInsn a move-param insn (otherwise, exceptions will be thrown) * @return parameter number (offset in the total parameter width) */ private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) { CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn(); return ((CstInteger) origInsn.getConstant()).getValue(); } }
/** * Returns the parameter index associated with a move-param insn. Does * not verify that the insn is a move-param insn. * * @param insn {@code non-null;} a move-param insn * @return {@code >=0;} parameter index */ private int getParamIndex(NormalSsaInsn insn) { CstInsn cstInsn = (CstInsn)(insn.getOriginalRopInsn()); int param = ((CstInteger)cstInsn.getConstant()).getValue(); return param; }
/** * Returns the parameter index associated with a move-param insn. Does * not verify that the insn is a move-param insn. * * @param insn {@code non-null;} a move-param insn * @return {@code >=0;} parameter index */ private int getParamIndex(NormalSsaInsn insn) { CstInsn cstInsn = (CstInsn)(insn.getOriginalRopInsn()); int param = ((CstInteger)cstInsn.getConstant()).getValue(); return param; }
/** * Returns the parameter number that this move-param insn refers to * @param ndefInsn a move-param insn (otherwise, exceptions will be thrown) * @return parameter number (offset in the total parameter width) */ private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) { CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn(); return ((CstInteger) origInsn.getConstant()).getValue(); } }
/** * Returns the parameter index associated with a move-param insn. Does * not verify that the insn is a move-param insn. * * @param insn {@code non-null;} a move-param insn * @return {@code >=0;} parameter index */ private int getParamIndex(NormalSsaInsn insn) { CstInsn cstInsn = (CstInsn)(insn.getOriginalRopInsn()); int param = ((CstInteger)cstInsn.getConstant()).getValue(); return param; }
/** * Returns the parameter number that this move-param insn refers to * @param ndefInsn a move-param insn (otherwise, exceptions will be thrown) * @return parameter number (offset in the total parameter width) */ private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) { CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn(); return ((CstInteger) origInsn.getConstant()).getValue(); } }
/** * Returns the parameter number that this move-param insn refers to * @param ndefInsn a move-param insn (otherwise, exceptions will be thrown) * @return parameter number (offset in the total parameter width) */ private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) { CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn(); return ((CstInteger) origInsn.getConstant()).getValue(); } }
/** * Returns the parameter index associated with a move-param insn. Does * not verify that the insn is a move-param insn. * * @param insn {@code non-null;} a move-param insn * @return {@code >=0;} parameter index */ private int getParamIndex(NormalSsaInsn insn) { CstInsn cstInsn = (CstInsn)(insn.getOriginalRopInsn()); int param = ((CstInteger)cstInsn.getConstant()).getValue(); return param; }
/** * Returns the parameter number that this move-param insn refers to * @param ndefInsn a move-param insn (otherwise, exceptions will be thrown) * @return parameter number (offset in the total parameter width) */ private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) { CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn(); return ((CstInteger) origInsn.getConstant()).getValue(); } }
/** * Returns the parameter number that this move-param insn refers to * @param ndefInsn a move-param insn (otherwise, exceptions will be thrown) * @return parameter number (offset in the total parameter width) */ private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) { CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn(); return ((CstInteger) origInsn.getConstant()).getValue(); } }
/** * Returns the parameter number that this move-param insn refers to * @param ndefInsn a move-param insn (otherwise, exceptions will be thrown) * @return parameter number (offset in the total parameter width) */ private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) { CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn(); return ((CstInteger) origInsn.getConstant()).getValue(); } }
@Override public void visitPlainCstInsn(PlainCstInsn insn) { if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { int param = ((CstInteger) insn.getConstant()).getValue(); paramsAreInOrder[0] = paramsAreInOrder[0] && ((initialRegCount - paramSize + param) == insn.getResult().getReg()); } } });
@Override public void visitPlainCstInsn(PlainCstInsn insn) { if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { int param = ((CstInteger) insn.getConstant()).getValue(); paramsAreInOrder[0] = paramsAreInOrder[0] && ((initialRegCount - paramSize + param) == insn.getResult().getReg()); } } });
@Override public void visitPlainCstInsn(PlainCstInsn insn) { if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { int param = ((CstInteger) insn.getConstant()).getValue(); paramsAreInOrder[0] = paramsAreInOrder[0] && ((initialRegCount - paramSize + param) == insn.getResult().getReg()); } } });
@Override public void visitPlainCstInsn(PlainCstInsn insn) { if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { int param = ((CstInteger) insn.getConstant()).getValue(); paramsAreInOrder[0] = paramsAreInOrder[0] && ((initialRegCount - paramSize + param) == insn.getResult().getReg()); } } });
@Override public void visitPlainCstInsn(PlainCstInsn insn) { if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { int param = ((CstInteger) insn.getConstant()).getValue(); paramsAreInOrder[0] = paramsAreInOrder[0] && ((initialRegCount - paramSize + param) == insn.getResult().getReg()); } } });