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
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
c7d9336b70
Refactor: preload event
2026-04-05 14:26:33 +08:00
xiaozhou233
c11891e718
Style: rename
2026-04-05 13:48:59 +08:00
xiaozhou233
f8be8cb795
Feat: Event of preload & loaded
2026-04-04 21:51:12 +08:00
xiaozhou233
eb3a76769d
Refactor: move eventbus.hpp/event_type to includes/event
2026-04-04 21:44:03 +08:00
xiaozhou233
49d2499f73
Feat: EventBus
2026-04-04 21:42:15 +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