mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
- introduce thread-safe BytecodeStore singleton for pending captures, captured bytecode cache, and pending patches; replaces ad-hoc global mutex/map pairs - implement BytecodeService capture/patch listeners that operate on the store; keep JVMTI Allocate outside of store locks and put failed patches back so they can be retried - add JNI bindings: getClassBytes(ByName), redefineClass(ByName), retransformClass(ByName); use JVMTI GetLoadedClasses for name-based lookup instead of JNI FindClass, validate array length vs declared length in redefineClass