Reputation: 1
For example, in the CallGraphs.java file below, the doStuff1 function is not defined, so the file can not be compiled. When I use the command
java -cp soot.jar soot.Main -cp .:soot.jar -pp -allow-phantom-refs -allow-phantom-elms -src-prec java CallGraphs
, it throws soot.CompilationDeathException.
public class CallGraphs
{
public static void main(String[] args) {
doStuff1();
}
public static void doStuff() {
new A().foo();
}
}
class A
{
public void foo() {
bar();
}
public void bar() {
}
}
Is there a way for soot to continue to analyse the file without throwing soot.CompilationDeathException? Moreover,if soot can not do this, is there a tool that can finish the task?
Upvotes: 0
Views: 50