How to inspect the stack using an ASM visitor?
问题 I am attempting to use the Java byte code engineering library ASM to perform static analysis. I have the situation where I would like to inspect the variables being assigned to a field. I have MethodVisitor which implements the visitFieldInsn() method. I am specifically looking for the putfield command. That is no problem. The problem is that when I encounter putfield , I want to be able to access the variable that's going to be assigned to the field. Specifically I want to access information