Bytecode Instrumentation
| 2004 JavaOne
SM
Conference | Session 3042 Copyright Hewlett Packard Co., 2004.
29
Using java_crw_demo
10.
Method name in tclass to call at all return opcodes in every method
11. Signature of the method
• Format: "(II)V"
12. Method name in tclass to call when injecting java.lang.Object.<init>
13. Signature of the method
• Format: "(Ljava/lang/Object;)V"
14. Method name in tclass to call after every newarray opcode in every method
15. Signature of the method
• Format: "(Ljava/lang/Object;II)V"
16. Returns a pointer to new class file image
17. Returns the length of the new image
18. Pointer to function to call on any fatal error
• NULL sends error to stderr
19. Pointer to function that gets called with all details on methods in the class
• NULL means skip this call.