Commit Graph
283 Commits
Author SHA1 Message Date
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
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 cc1c2bff30 BugFix: The path for JuiceAgentNativeLibraryPath could not be resolved v3.3.2_b3 2026-05-04 20:46:15 +08:00
xiaozhou233 7352f8d872 Update: Version 3.3.2 Build 2 v3.3.2_b2 2026-04-29 23:27:54 +08:00
xiaozhou233 4be6324cf3 BugFix: Handle path 2026-04-29 19:47:02 +08:00
xiaozhou233 0169e5e133 Update: Version 3.3.2 Build 1 v3.3.2_b1 2026-04-29 17:44:07 +08:00