Package bytecodeparser.analysis.opcodes

Examples of bytecodeparser.analysis.opcodes.Op.decode()


        Op op = Opcodes.OPCODES.get(iterator.byteAt(index)).init(context, index);
        trace.append("\n").append(index).append(":").append(op.getName()).append(" --> ");
        Frame frame = frames[index];
        frame.isAccessible = true;
        frame.stackBefore = currentStack.copy();
        frame.decodedOp = op.decode(context, index);
        if(frame.decodedOp instanceof DecodedBranchOp)
          trace.append(" [jump to ").append(((DecodedBranchOp)frame.decodedOp).getJump()).append("] ");
        if(frame.decodedOp instanceof DecodedMethodInvocationOp)
          trace.append(" [params = ").append(StackElementLength.add(((DecodedMethodInvocationOp)frame.decodedOp).getPops())).append(" -> ").append(Arrays.toString(((DecodedMethodInvocationOp)frame.decodedOp).getParameterTypes())).append("] ");
        frame.decodedOp.simulate(currentStack);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.