UPDATE
Add Linux and macOS support, batch class transformations with a disk cache, and add cross-platform release packaging. Also improve runtime namespace handling, keybind editing, and startup behavior.
This commit is contained in:
1 parent
910a126f04
commit
38ff6d387c
29 files changed
+2234
-491
No files matched your search
@@ -7,6 +7,12 @@ public final class 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);
|
||||
|
||||
/** classBytes for many classes with one RetransformClasses call; entries are null where nothing was captured, null on failure. */
|
||||
public static native byte[][] classBytesBatch(Class<?>[] types);
|
||||
|
||||
/** RedefineClasses for many classes in one call, all or nothing; returns the JVMTI error code, 0 on success. */
|
||||
public static native int redefineBatch(Class<?>[] types, byte[][] bytes);
|
||||
|
||||
/** Appends a line to prestige-native.log, which the injector tails to show progress. */
|
||||
public static native void log(String message);
|
||||
|
||||
|
||||
Reference in new issue
Block a user