bcel
24014e5
Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.
finding-8
org/apache/commons/bcel6/verifier/structurals/ExecutionVisitor.java
visitLDC(LDC)
class ExecutionVisitor { /** Symbolically executes the corresponding Java Virtual Machine instruction. */ @Override public void visitLDC(LDC o){ Constant c = cpg.getConstant(o.getIndex()); if (c instanceof ConstantInteger){ stack().push(Type.INT); } if (c instanceof ConstantFloat){ stack().push(Type.FLOAT); } if (c instanceof ConstantString){ stack().push(Type.STRING); } if (c instanceof ConstantClass){ stack().push(Type.CLASS); } }}
class ExecutionVisitor {
/** Symbolically executes the corresponding Java Virtual Machine instruction. */
@Override
public void visitLDC(LDC o){
Constant c = cpg.getConstant(o.getIndex());
if (c instanceof ConstantInteger){
stack().push(Type.INT);
}
if (c instanceof ConstantFloat){
stack().push(Type.FLOAT);
if (c instanceof ConstantString){
stack().push(Type.STRING);
if (c instanceof ConstantClass){
stack().push(Type.CLASS);
8
0.97
33.68
102