BytecodeParser
BytecodeParser copied to clipboard
A Java library to parse JVM bytecode, simulate the stack and extract as much information as possible
class.forname("test") with example code: ``` DecodedMethodInvocationOp dmio = (DecodedMethodInvocationOp) frame.decodedOp; MethodParams methodParams = DecodedMethodInvocationOp.resolveParameters(frame); MethodParam[] params = methodParams.merge(); System.out.println("method '" + dmio.getName() + "' has been called with the following...
When parsing Java8 code with lambdas (that use invokedynamic opcode), NPE is thrown because invokedynamic is not listed in Opcodes.java
Hi, I'm a new user of this package. I'm now trying to retrieve the information of local variables as the sample you show on the website http://stephane.godbillon.com/BytecodeParser/. The problem I...
This makes possible to run playframework 1.3 with Java 8 and lambdas. INVOKEDYNAMIC opcode is not parsed and analyzed.
I am not sure how to reproduce this and I worked around it by just doing if something != null but basically the bytecode stuff was wrapping enterMethod and exitMethod...