Re: Opening -javaagent classes to named modules

2021-05-11 Thread Johannes Kuhn
In fact, the JVMTI Specification states[1]: > As an aid to agents that deploy supporting classes on the search path of the bootstrap class loader, or the search path of the class loader that loads the main class, the Java virtual machine arranges for the module of classes transformed by the Cl

Re: Opening -javaagent classes to named modules

2021-05-11 Thread Fabian Meumertzheim
Thanks a lot, that works very well. I had already redefined all modules I encountered, but was not adding the agent JAR to the bootstrap search path. Fabian On Tue, May 11, 2021 at 5:18 PM Alan Bateman wrote: > On 11/05/2021 16:10, Fabian Meumertzheim wrote: > > I am currently working on a JVM

Re: Opening -javaagent classes to named modules

2021-05-11 Thread Alan Bateman
On 11/05/2021 16:10, Fabian Meumertzheim wrote: I am currently working on a JVM fuzzer ( https://github.com/CodeIntelligenceTesting/jazzer/) and would like to apply it also to classes delivered with the JDK, e.g. the image parsers in javax.imageio.* in the java.desktop module. The fuzzer uses a J

Opening -javaagent classes to named modules

2021-05-11 Thread Fabian Meumertzheim
I am currently working on a JVM fuzzer ( https://github.com/CodeIntelligenceTesting/jazzer/) and would like to apply it also to classes delivered with the JDK, e.g. the image parsers in javax.imageio.* in the java.desktop module. The fuzzer uses a Java agent to add coverage instrumentation (similar