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.
This commit is contained in:
xiaozhou233 committed 2026-08-12 20:45:49 +08:00
1 parent 2d1492f3e4
commit 1f80df0af0
16 files changed
+272 -40

No files matched your search

@@ -0,0 +1,15 @@
import java.lang.management.ManagementFactory;
public class target {
public static void main(String[] args) {
String pid = ManagementFactory.getRuntimeMXBean().getName().split("@")[0];
try {
while (true) {
System.out.println("[Target] I am the target JVM (PID: " + pid + ")");
Thread.sleep(1000);
}
} catch (Exception e) {
e.printStackTrace();
}
}
}