You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java 11 is EOL. I would suggest updating the project in the future to use Java 17 or newer. The current version of Soot does not support Java 17.
The raw-classes directory in the example Soot project is redundant. This is because both target/classes and raw-classes are included in the Soot classpath, and Subject.java are compiled to both raw-classes and target/classes, and Soot instruments the latter due to the order of the entries in the classpath.
This is problematic, because if we remove the following lines in scripts/instrument-run-test.sh:
then Soot will re-instrument the already instrumented code over successive runs of the script. So instead, the classpath in Soot should be set as the following, with classUnderTestPath and targetPath swapped:
Java 11 is EOL. I would suggest updating the project in the future to use Java 17 or newer. The current version of Soot does not support Java 17.
The
raw-classesdirectory in the example Soot project is redundant. This is because bothtarget/classesandraw-classesare included in the Soot classpath, andSubject.javaare compiled to bothraw-classesandtarget/classes, and Soot instruments the latter due to the order of the entries in the classpath.This is problematic, because if we remove the following lines in
scripts/instrument-run-test.sh:then Soot will re-instrument the already instrumented code over successive runs of the script. So instead, the classpath in Soot should be set as the following, with
classUnderTestPathandtargetPathswapped:and then it will instrument the class files in
raw-classes.In https://github.com/CastleLab/COMP5111-2026Spring-Assignments-Students/blob/asn1/README.md?plain=1#L107, does "line code" mean the actual source code of the line, or just the line number?