xiaozhou233
f2ce4e6a5a
Fix: simplify DllMain attach logic and add pause to java-system-load test
2026-08-16 16:13:26 +08:00
xiaozhou233
092110672a
Fix: avoid running agent/loader logic on plain System.load
2026-08-16 15:32:23 +08:00
xiaozhou233
bcc1ecbf0e
Refactor: simplify injector/libinject/loader code
...
- libinject: drop debug cruft, dedup JNI overloads into jni_inject, const-correct inject()
- loader: reuse Utils::call_java_impl for JNI bootstrap
- JvmAttach: collapse acquire_jvm/env/jvmti retry loops into one template
- injector: remove redundant copy_arg wrapper
- DllMain: remove no-op DLL_THREAD cases, merge attach logs
- libagent: guard add_library so empty source dir does not break configure
2026-08-15 12:55:27 +08:00
xiaozhou233
1931072b96
Fix: harden injector/libinject/loader against UB, format bugs and leaks
2026-08-15 12:30:49 +08:00
xiaozhou233
ce08b19170
Feat: add Config/Utils headers and Loader module, wire entrypoint into DllMain
2026-08-15 12:26:12 +08:00
xiaozhou233
5023ecf90c
Feat: add reflective DLL injection library, JVM headers and libinject JNI module
2026-08-15 11:37:15 +08:00
xiaozhou233
01f966c5f2
Refactor: add spdlog vendored headers, Logger wrapper and libloader module skeleton
2026-08-15 11:20:36 +08:00
xiaozhou233
fe64308942
DELETE: all code
2026-08-15 10:23:15 +08:00
xiaozhou233
1dcad52e15
Revert "Perf & Fix: reduce ClassFileLoadHook overhead and fix retransform patch path"
...
This reverts commit bb5b215a33 .
2026-08-14 23:09:40 +08:00
xiaozhou233
bb5b215a33
Perf & Fix: reduce ClassFileLoadHook overhead and fix retransform patch path
...
- Skip mutable event dispatch when no mutable listeners exist (hot path)
- Wire retransformClass bytecode into pendingRetransform so patches are applied
- Guard pendingRetransform with its mutex; check jvmti Allocate result
- Store global refs in captured ClassFileData and release on re-capture
- Add null/exception checks in defineClass/getLoadedClasses
- Extract shared find_class_by_internal_name helper
- Use CONFIGURE_DEPENDS for CMake globs; guard InitLogger; delete leaked jArgs
2026-08-14 17:07:36 +08:00
xiaozhou233
4305000bf7
Feat: entrypoint_with_env
2026-05-07 15:54:02 +08:00
xiaozhou233
41a8572c55
feat: update tempfile creation to use SHA-256 hash in filename for JuiceAgent-API
2026-04-28 22:04:30 +08:00
xiaozhou233 and Copilot
e2d6dcaa25
feat: remove JuiceAgentAPIJarPath from LoaderConfig and update loader logic to use temporary file
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-28 21:31:21 +08:00
xiaozhou233
6a7e5a1d38
[Refactor] Config and Loader
...
[Add] toml11 library
[Refactor] Config
[Refactor] Data Struct
[Refactor] Loader
2026-04-19 16:41:39 +08:00
xiaozhou233
c348529e65
Style: Rename
2026-04-18 19:53:59 +08:00
xiaozhou233
cc52a25db4
Style: Rename
2026-04-18 19:28:47 +08:00
xiaozhou233
8b0bf8f211
Style: move LocalRef to header / move check_and_clear_exception to header
2026-04-18 19:24:49 +08:00
xiaozhou233
11aaac0f0b
Style: Config
2026-04-16 21:29:13 +08:00
xiaozhou233
011fafb5b0
BugFix
2026-04-04 14:24:47 +08:00
xiaozhou233
748b118fb1
Feat: Custom path support
2026-04-03 16:35:24 +08:00
xiaozhou233
b78839a8d4
Feat: Config support ".xxx.xx" or "./xxx.xx"
2026-04-03 16:30:27 +08:00
xiaozhou233
bbea7b72c3
update config.hpp
2026-04-02 17:56:21 +08:00
xiaozhou233
d6d17aac35
BugFix: null jstring
2026-03-30 19:03:10 +08:00
xiaozhou233
6350bfb0ec
Refactor: Rename key
2026-03-30 18:51:19 +08:00
xiaozhou233
8421d3817a
Fix: #pragma once
2026-03-30 17:40:14 +08:00
xiaozhou233
3362e2071c
Patch: AI Fix
2026-03-30 17:38:46 +08:00
xiaozhou233
72c0518ebc
BugFix: No default value was retrieved when the configuration value was empty
2026-03-30 14:19:38 +08:00
xiaozhou233
0a4ec5e97a
Impl: Invoke JuiceAgentAPI start
2026-03-30 14:14:40 +08:00
xiaozhou233
15d7f0295a
Patch: AI Fix
2026-03-30 13:49:47 +08:00
xiaozhou233
c5817a3b06
Impl: Inject JuiceLoaderAPI
2026-03-30 13:37:51 +08:00
xiaozhou233
e5ac60d476
BugFix: Wrong config key
2026-03-30 13:37:30 +08:00
xiaozhou233
3e3f9d1c14
Impl: Attach JavaVM
2026-03-30 13:28:32 +08:00
xiaozhou233
3ce1bccf02
Impl: Read config and print
2026-03-24 19:56:51 +08:00
xiaozhou233
205e608d60
Refactor: Config System
2026-03-24 19:24:37 +08:00
xiaozhou233
9dab75b5fd
[Refactor] Config System
2026-03-24 13:53:54 +08:00
xiaozhou233
c9c10686ab
[Refactor] Delete
2026-03-08 10:05:03 +08:00
xiaozhou233
a110e675c6
[Refactor] API
2026-03-07 22:38:36 +08:00
xiaozhou233
9b24ea0ae4
[Refactor] libloader
2026-03-07 17:44:27 +08:00
xiaozhou233
172f354b04
[Refactor] Config
2026-03-07 16:41:20 +08:00
xiaozhou233
cf49ed0a7b
[Refactor] Rename
2026-03-01 13:07:00 +08:00
xiaozhou233
ea5ce8258d
[Refactor] Rename
2026-03-01 13:03:32 +08:00
xiaozhou233
ab9369d8b7
[Refactor] rename and remove useless log
2026-03-01 13:02:33 +08:00
xiaozhou233
2ce6a8e192
[Refactor] Modify the loader structure
2026-03-01 12:50:33 +08:00
xiaozhou233
d8bed79f84
[Refactor] Rename
2026-03-01 12:38:12 +08:00