xiaozhou233
b08656daa6
Feat: add retransform-class example with build/run scripts and docs
2026-08-15 13:41:26 +08:00
xiaozhou233
57405e810c
Restore: re-add README, examples and tools
2026-08-15 13:17:50 +08:00
xiaozhou233
6e417035b6
Merge branch 'refactor' into main
2026-08-15 13:15:02 +08:00
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
998f4d139e
Fix: switch Logger to truncating file sink with flush-on-trace
2026-08-15 11:42:15 +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
6479966472
Test: add java-loop demo with build and run scripts, ignore class artifacts
2026-08-15 11:31:21 +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
d711838948
Build: add CMake project skeleton with release/debug presets and .gitignore
2026-08-15 10:31:54 +08:00
xiaozhou233
fe64308942
DELETE: all code
2026-08-15 10:23:15 +08:00
xiaozhou233
56b6ab7e98
Refactor: remove x86_64-w64-mingw32 toolchain configuration
2026-08-15 08:55:56 +08:00
xiaozhou233
5f9fb7f1b4
Refactor: rename CMake presets and remove Docker/Jenkins build pipeline
2026-08-15 08:45:45 +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
cadd3679e9
Docs: update Todo.md to mark issues fixed by ai branch merge
2026-08-14 22:45:34 +08:00
xiaozhou233
97b100bbbb
Merge branch 'ai' into main
2026-08-14 22:32:29 +08:00
xiaozhou233
8b5ea4cf28
Docs: rewrite README to match current module structure and config
2026-08-14 17:47:02 +08:00
xiaozhou233
b17ce02ae1
Docs: record code issues found before optimization as pending fixes
2026-08-14 17:44:30 +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
8cf2b8330c
CI: build native binaries with MinGW before packaging
...
The runtime binaries are no longer committed, so compile them in the
builder container (example JARs stay committed) and package both artifacts.
2026-08-12 20:59:58 +08:00
xiaozhou233
f11687481f
Examples: stop tracking prebuilt runtime binaries
...
Ignore and untrack injector.exe and lib*.dll in load-via-injector-exe;
these are copied in by the developer and should not be committed.
2026-08-12 20:53:18 +08:00
xiaozhou233
c5889cb338
CI: package committed binaries and example into two release artifacts
...
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.
2026-08-12 20:50:43 +08:00
xiaozhou233
1f80df0af0
Examples: replace loop demo with load-via-injector-exe demo
...
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.
2026-08-12 20:45:49 +08:00
xiaozhou233
2d1492f3e4
CI: Add zip package and archive artifacts as single zip file
2026-08-12 15:04:58 +08:00
xiaozhou233
b8e2ace91c
CI: Use plain docker CLI, drop docker-workflow plugin dependency
2026-08-12 14:55:18 +08:00
xiaozhou233
4fde6477c6
CI: Add Jenkins pipeline building image and archiving artifacts
2026-08-12 14:53:04 +08:00
xiaozhou233
9ecd2e4e03
Build: Use MinGW posix thread variant for std::mutex support
...
The gcc/g++-mingw-w64-x86-64 metapackages pull in both posix and win32
variants, and update-alternatives defaults to win32 whose libstdc++ lacks
std::mutex. Install only the posix variants and add an apt retry loop for
flaky mirrors.
2026-08-12 14:49:33 +08:00
xiaozhou233
3842585777
Build: Add MinGW cross-compilation support
2026-08-12 09:49:34 +08:00
xiaozhou233
18726e59f4
Update: Link JVM lib from local lib directory
2026-08-12 09:43:05 +08:00
xiaozhou233
02c0583b34
Feat: Add Example Loop Jar
2026-06-13 11:50:18 +08:00
xiaozhou233
9ed7df8476
Feat: Add example loop
2026-06-13 11:40:00 +08:00
xiaozhou233
f49ac4dff7
Docs: Remove Dumper
2026-05-07 20:43:54 +08:00
xiaozhou233
16a36ef22a
Update: Version 3.4.0 Build 1
v3.4.0_b1
2026-05-07 20:41:04 +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
490e4ce2ac
Merge branch 'feat/Remapper'
2026-05-07 00:39:26 +08:00
xiaozhou233
30ecc82ca2
Feat: Update Remapper configuration to include JuiceRemapperJarPath
2026-05-06 14:15:11 +08:00
xiaozhou233
bf4ebd0e5b
Docs: Update README with new features and installation instructions
2026-05-06 13:33:20 +08:00
xiaozhou233
ec7d221b08
Docs: Add Note
2026-05-06 13:27:51 +08:00
xiaozhou233
e5b054fcfc
Docs: README.mc
2026-05-06 13:22:37 +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