mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
- add JuiceRemapperService that listens for ClassFileLoadHook and calls the Java static Remap.remap(String, byte[]) via cached JNI declarations, then writes the returned bytes back to the JVMTI callback - add JNI bindings (initNative, add/remove/clear include/exclude) with Remapper singleton init state and cached jclass/jmethodID stored in Remapper (global.hpp) - cache static class/method declarations lazily in initNative to avoid repeated FindClass/GetStaticMethodID - add generated JuiceRemapper JNI header and runtime-remap example config
14 lines
296 B
TOML
14 lines
296 B
TOML
[JuiceAgent]
|
|
Version = 1
|
|
|
|
[JuiceAgent.Loader]
|
|
# Path to JuiceAgent-API jar, leave empty to use the built-in API
|
|
JuiceAgentAPIJarPath = ""
|
|
# Path to libagent.dll, default is "./libagent.dll"
|
|
JuiceAgentNativeLibraryPath = ""
|
|
|
|
[JuiceAgent.Modules]
|
|
|
|
[JuiceAgent.Modules.JuiceRemapper]
|
|
Enabled = true
|