xiaozhou233
1d3755952f
Feat: migrate libagent from JuiceAgent and port to spdlog
2026-08-15 13:13:55 +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
a251b8996e
Feat: add libagent CMakeLists.txt
2026-08-15 12:48:23 +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
841c0e5c2f
Refactor: add injector CLI with PID/DLL args, jps listing and keep-alive prompt
2026-08-15 11:26:47 +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
65824934d1
Refactor: Rename libagent -> JuiceAgent
2026-05-07 15:38:03 +08:00
xiaozhou233
992fbd9f8d
Refactor: Remove Remapper
2026-05-07 15:36:19 +08:00
xiaozhou233
882c19ad8f
Refactor: Move bytecodes_opt -> BytecodeService
2026-05-07 15:34:59 +08:00
xiaozhou233
637640b938
Refactor: Remove unused module files and streamline service management
2026-05-07 15:25:40 +08:00
xiaozhou233
30ecc82ca2
Feat: Update Remapper configuration to include JuiceRemapperJarPath
2026-05-06 14:15:11 +08:00
xiaozhou233
b3ec5b6eb5
Feat: Remapper balcklist/whitelist
2026-05-05 16:17:08 +08:00
xiaozhou233
d5a49a5ce7
Merge branch 'feat/Remapper2' into feat/Remapper
...
Merge feat/Remapper2
2026-05-05 16:07:41 +08:00
xiaozhou233
90689f306b
Feat: remapper blacklist/whitelist
2026-05-05 16:02:46 +08:00
xiaozhou233
1e2e5afd07
Feat: Add Remapper
2026-05-05 13:39:08 +08:00
xiaozhou233
d9d44f029f
Fix: TemplateModule
2026-05-05 13:11:38 +08:00
xiaozhou233
fc5d23109d
feat: remove Remapper module and associated JNI functions
2026-04-29 17:24:40 +08:00
xiaozhou233 and Copilot
2493a9243f
feat: refactor module structure to use ModuleBase class and improve initialization logic
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-29 16:45:13 +08:00
xiaozhou233
28804c0af3
feat: implement Dumper module for class file handling and storage
2026-04-28 22:59:08 +08:00
xiaozhou233 and Copilot
dfc5886812
feat: implement Agent_OnLoad and VMInit callback for JuiceAgent
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-28 22:47:23 +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
97e3b44130
feat: refactor class file load hook for improved readability and error handling
2026-04-26 16:38:47 +08:00
xiaozhou233
8002386230
feat: enhance Remapper module with class file load handling and method hooks
2026-04-25 00:06:17 +08:00
xiaozhou233 and Copilot
f84e13c14d
feat: impl remapper whitelist manage
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-24 16:36:06 +08:00
xiaozhou233
ee382817d3
feat: Remove remapper blacklist
2026-04-24 16:32:46 +08:00
xiaozhou233 and Copilot
a834584b9d
feat: wip - add remapper manager function
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-24 16:28:13 +08:00
xiaozhou233
49f737ec2f
feat: update module initialization and starting logic to continue on failure
2026-04-24 16:09:55 +08:00
xiaozhou233
7bf6d486c3
feat: add remapper module
2026-04-24 16:08:56 +08:00
xiaozhou233
bf75790921
feat: Refactor EventBus to use priority-based listener management and improve unsubscribe functionality
2026-04-24 16:06:58 +08:00
xiaozhou233
5b253ddd5d
feat: Implement MethodEntry and MethodExit callbacks with event posting
2026-04-24 15:50:43 +08:00
xiaozhou233
d87972242a
feat: Add Template Module
2026-04-22 13:22:14 +08:00
xiaozhou233
50eb73d4e8
feat: Refactor module management and introduce ModuleRegistry for dynamic module loading
2026-04-22 13:19:39 +08:00
xiaozhou233
08ec414094
[Revert] Restore project state to 79ae4b6
2026-04-22 13:08:39 +08:00
xiaozhou233
601c999023
feat: Add Example module implementation and registration
2026-04-21 18:47:42 +08:00
xiaozhou233
e1577d4fae
feat: Implement module registration and loading functionality
2026-04-21 18:34:32 +08:00
xiaozhou233
50773f5456
Feat: Call Java Implementation
2026-04-20 14:04:53 +08:00
xiaozhou233
9a2dd217f1
[Refactor] Update configuration handling in JarLoader and enhance Config class
2026-04-19 22:26:51 +08:00
xiaozhou233
3fe9f5a573
Feat: Modules System
2026-04-19 19:03:48 +08:00
xiaozhou233
6858a35754
Feat: Simple module system
2026-04-19 18:57:32 +08:00
xiaozhou233
e7ce54188b
[Refactor] Enhance Config class with type-safe get method and value reading
2026-04-19 18:44:59 +08:00
xiaozhou233
9f366645c9
Feat: libagent can now read the config
2026-04-19 18:36:26 +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