soot
soot copied to clipboard
Can soot give phantom methods when build call graph?
I need to use Soot to build the call graph, either using CHA or Spark. However, the methods called by some call sites may not be defined in the JAR packages provided by me. Can I obtain these call sites without target method definition after Soot builds the call graph?
e.g. When I use Soot to analyze A.jar's call graph, maybe A.jar can call some method defined in other jars. But I just provided A.jar for the soot argument list, so there must be some call sites in A.jar that cannot find target method definition, thus no such edge in callgraph. Can I obtain these callsites for further research by soot? Thank you!
Hi @buriedpot,
Consider using the -allow-phantom-refs
option.