Hack Forums
[Java] What are the best sources on where I can learn all about Java Instrumentation? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Java] What are the best sources on where I can learn all about Java Instrumentation? (/showthread.php?tid=4769467)



What are the best sources on where I can learn all about Java Instrumentation? - Psycho_HF - Apr 8, 2015

I am in need of injecting my Java code into other Java programs. I searched it up and found Instrumentation, but I am not understanding it very well.

If anybody knows any good sources on where to learn and do Instrumentation, please link them to me.

Thank-you.


* - badvibes - Apr 8, 2015

http://download.forge.objectweb.org/asm/asm4-guide.pdf
and
http://download.forge.objectweb.org/asm/

you can also use BCEL, but ASM is better

and the jvm specs
http://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf
^ contains jvm instructions sets, its structure, etc


* - Psycho_HF - Apr 8, 2015

(Apr 8, 2015 05:39 PM)bleachmaster Wrote:  -snip-
and
-snip-

you can also use BCEL, but ASM is better

and the jvm specs
-snip-
^ contains jvm instructions sets, its structure, etc

Thank-you very much for supplying the tools, but do you happen to have any tutorials on actually generally setting up Instrumentation and such? Thanks.


* - badvibes - Apr 8, 2015

(Apr 8, 2015 05:44 PM)Psycho_HF Wrote:  Thank-you very much for supplying the tools, but do you happen to have any tutorials on actually generally setting up Instrumentation and such? Thanks.

read the first link i posted, should have most of everything you need in there on how to do what you want


* - Psycho_HF - Apr 8, 2015

(Apr 8, 2015 05:46 PM)bleachmaster Wrote:  read the first link i posted, should have most of everything you need in there on how to do what you want

Thank-you. I am going to start reading right now.