char / noverify-hackery

Force-disabling the JVM bytecode verifier
Other
46 stars 1 forks source link

libjvm.dylib on macOS doesn't seem to export HotSpotVM globals #2

Open char opened 4 years ago

char commented 4 years ago

Looking at nm it seems that the gHotSpotVM<X> symbols are set to local in libjvm.dylib from an AdoptOpenJDK installation.

If anyone knows how to still read the symbols, it'd be much appreciated.

It looks like async-profiler works fine on macOS: I think they're scanning the object itself to find the offset, and then doing arithmetic with the handle.

ccarpenter04 commented 4 years ago

If you can supply me with a copy of the file via discord preferably I can handle this.