- libagent: gate JarLoaderService::onLoaded on the JarLoader.Enabled key (default false) so the module can be turned off from config
- examples: set Enabled = true in inject-via-java-api, load-via-injector-exe and retransform-class config.toml
- examples: update config.toml to the v2 schema ([JarLoader] with Mode / InjectionDir / JarPath / EntryClass / EntryMethod) for inject-via-java-api, load-via-injector-exe and retransform-class
- libagent: read JarLoader.* instead of JuiceAgent.Modules.JarLoader.*, use Config::isValid() and the new get()/getPath() accessors
- libagent: rename call_java_impl to call_static_java_method
- 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
- Rename JNI class from InjectorNative to Injector in libinject.c
- Add JNI header for cn.xiaozhou233.juiceagent.injector.Injector
- Add inject-via-java-api example with HowToUse.txt and 如何使用.txt
Drop on-the-fly compilation; the binaries and example JARs are now
committed to the repo. Jenkinsfile packages and archives:
- JuiceAgent-windows-x64.zip (pure binaries)
- JuiceAgent-windows-x64-examples.zip (binaries + runnable example)
Update examples/.gitignore to track prebuilt artifacts.
Add a complete load-via-injector-exe example with injection/target sources,
build scripts, config and bilingual docs. Remove the old loop example and
config_empty.toml. Add examples-specific .gitignore for build artifacts.