What I want to do is to modify a method using ASM: I push an object (of class Object) to the stack I want to cast that object to the return type of that method Return that casted object. My code in …
Tag: java-bytecode-asm
ASM: how to easily get proper Opcode based on type
I am using ASM to generate Java bytecode. I have a need to create a dynamic proxy which can override basically any kind of method with additional post-processing. I am able to do it all, but there is …
is there hash code / Heap address for primitive types in Java?
I was trying to find some approximization to address on heap , and you guys gave me the function System.IdentityHashCode(Object). The problem is – this function doesn’t fit for primitive types. I’ll explain why. I’m given as input Java compiled program – class file. My goal is to plot some graphs that will contain some information about variable access between