
Instrument to Remove: Using Java agents for fun and profit (gpn21)
Chaos Computer Club - archive feed · Johannes Bechberger
June 10, 202337m 42s
Audio is streamed directly from the publisher (cdn.media.ccc.de) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Have you ever written a Java agent? This talk will give you an introduction into writing small custom Java agents to create profilers or help with dead code removal.
I'll present you with all the techniques to write a Java agent and javassist based instrumentation code to find unused classes and dependencies in your project. Knowing which classes and dependencies are not used in your application can save you from considering the bugs and problems in these dependencies and classes if you remove them, helping you against supply chain attacks.
Java agents and instrumentation of a few lines of code can save you a lot of effort and implementing them is great fun :)
about this event: https://cfp.gulas.ch/gpn21/talk/QJ8DYB/
Topics
gpn2150972023Software & Infrastructure