We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I used Soot CHA to generate the call graph and found a bug about incorrect loop edges. See the minimized code example below:
public class Main { public void foo(){ String str = this.toString(); } @Override public String toString(){ return "1"; } }
When I set the 'Main.toString()' as the entry method, there is a call edge from Main.toString() to Main.toString(), which is incorrect.
Main.toString()
Options
Options.v().set_whole_program(true); Options.v().set_soot_classpath("Path/to/jdk"); Options.v().set_no_bodies_for_excluded(true); Options.v().set_process_dir("Path/to/dir"); Options.v().process_dir(); Options.v().set_allow_phantom_refs(true); Options.v().setPhaseOption("jb", "use-original-names:true"); Options.v().set_prepend_classpath(false); Options.v().set_exclude(Constants.excludedClassList); Scene.v().loadNecessaryClasses(); CHATransformer.v().transform(); PackManager.v().runPacks(); CallGraph cg = Scene.v().getCallGraph();
Version: Soot 4.4.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I used Soot CHA to generate the call graph and found a bug about incorrect loop edges. See the minimized code example below:
When I set the 'Main.toString()' as the entry method, there is a call edge from
Main.toString()
toMain.toString()
, which is incorrect.Options
Version: Soot 4.4.1
The text was updated successfully, but these errors were encountered: