No description
This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2023-12-13 12:05:53 +01:00
.idea Added asm library 2023-12-13 12:05:53 +01:00
agent Added asm library 2023-12-13 12:05:53 +01:00
application agent works 2023-12-13 11:41:52 +01:00
profiler configured modules 2023-12-13 11:04:20 +01:00
.gitignore agent works 2023-12-13 11:41:52 +01:00
lab-6-maggicl.iml agent works 2023-12-13 11:41:52 +01:00
README.md agent works 2023-12-13 11:41:52 +01:00

Agent

Compile the agent as JAR

cd agent/src
find . -name '*.java' -print -exec javac -d ../../out/production/agent \{\} \;
cd ..
jar cfm agent.jar manifest.txt -C ../out/production/agent .

Run application with agent

java -javaagent:agent/agent.jar=hello -cp out/production/application ch.usi.inf.sp.dbi.Application