fixes
This commit is contained in:
1 parent
83aea53e57
commit
aa4f6b6ddc
842 files changed
+47284
-91563
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package dev.zprestige.prestige.inject;
|
||||
|
||||
/** Natives registered by the injected prestige_native.dll (JVMTI): current class bytes and class redefinition. */
|
||||
public final class NativeBridge {
|
||||
private NativeBridge() {}
|
||||
|
||||
/** Bytes of the loaded class as the JVM currently has it (including changes made by earlier transformers). */
|
||||
public static native byte[] classBytes(Class<?> type);
|
||||
|
||||
/** Appends a line to prestige-native.log, which the injector tails to show progress. */
|
||||
public static native void log(String message);
|
||||
|
||||
/** JVMTI RedefineClasses for one class; returns the JVMTI error code, 0 on success. */
|
||||
public static native int redefine(Class<?> type, byte[] bytes);
|
||||
}
|
||||
Reference in new issue
Block a user