This is the code that i find on soot tutorials for Call Graphs, now when i try to run it in eclipse i have this error:
Soot started on Tue Jul 10 18:50:06 CEST 2018
soot.SootResolver$SootClassNotFoundException: couldn't find class: testers.CallGraphs (is your soot-class-path set properly?)
at soot.SootResolver.bringToHierarchyUnchecked(SootResolver.java:228)
at soot.SootResolver.bringToHierarchy(SootResolver.java:208)
at soot.SootResolver.bringToSignatures(SootResolver.java:266)
at soot.SootResolver.bringToBodies(SootResolver.java:311)
at soot.SootResolver.processResolveWorklist(SootResolver.java:163)
at soot.SootResolver.resolveClass(SootResolver.java:133)
at soot.Scene.loadClass(Scene.java:853)
at soot.Scene.loadClassAndSupport(Scene.java:839)
at soot.Scene.loadNecessaryClass(Scene.java:1569)
at soot.Scene.loadNecessaryClasses(Scene.java:1582)
at soot.Main.run(Main.java:250)
at soot.Main.main(Main.java:147)
at main.CallGraphExample.main(CallGraphExample.java:54)
Ouuups... something went wrong! Sorry about that.
Follow these steps to fix the problem:
1.) Are you sure you used the right command line?
Click here to double-check:
https://soot-build.cs.uni-paderborn.de/doc/sootoptions/
3.) Sure it's a bug? Click this link to report it.
Please be as precise as possible when giving us
information on how to reproduce the problem. Thanks!
[...]
I can't understand how i must setting soot path to run it.. Can somebody explain to me?
In my eclipse project i have 2 packages, first named "Main" where there is "CallGraphExample.java" class (is the class shown above), and second named "testers" where there is "CallGraph.java" class.
The code of "CallGraphs.java" is:
package testers;
public class CallGraphs
{
public static void main(String[] args) {
doStuff();
}
public static void doStuff() {
new A().foo();
}
}
class A
{
public void foo() {
bar();
}
public void bar() {
}
}
This is the code that i find on soot tutorials for Call Graphs, now when i try to run it in eclipse i have this error: Soot started on Tue Jul 10 18:50:06 CEST 2018 soot.SootResolver$SootClassNotFoundException: couldn't find class: testers.CallGraphs (is your soot-class-path set properly?) at soot.SootResolver.bringToHierarchyUnchecked(SootResolver.java:228) at soot.SootResolver.bringToHierarchy(SootResolver.java:208) at soot.SootResolver.bringToSignatures(SootResolver.java:266) at soot.SootResolver.bringToBodies(SootResolver.java:311) at soot.SootResolver.processResolveWorklist(SootResolver.java:163) at soot.SootResolver.resolveClass(SootResolver.java:133) at soot.Scene.loadClass(Scene.java:853) at soot.Scene.loadClassAndSupport(Scene.java:839) at soot.Scene.loadNecessaryClass(Scene.java:1569) at soot.Scene.loadNecessaryClasses(Scene.java:1582) at soot.Main.run(Main.java:250) at soot.Main.main(Main.java:147) at main.CallGraphExample.main(CallGraphExample.java:54)
Ouuups... something went wrong! Sorry about that. Follow these steps to fix the problem: 1.) Are you sure you used the right command line? Click here to double-check: https://soot-build.cs.uni-paderborn.de/doc/sootoptions/
2.) Not sure whether it's a bug? Feel free to discuss the issue on the Soot mailing list: https://github.com/Sable/soot/wiki/Getting-help
3.) Sure it's a bug? Click this link to report it. Please be as precise as possible when giving us information on how to reproduce the problem. Thanks! [...]
I can't understand how i must setting soot path to run it.. Can somebody explain to me? In my eclipse project i have 2 packages, first named "Main" where there is "CallGraphExample.java" class (is the class shown above), and second named "testers" where there is "CallGraph.java" class. The code of "CallGraphs.java" is: