Call Graph with Edges for Callbacks from Libraries #1149
Unanswered
moshethebeadle
asked this question in
Q&A
Replies: 2 comments
-
Yeah you are correct, this is an indirect edge which is currently not modeled in SootUp. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @JonasKlauke, implicit calls are really difficult to deal with. Is there any plan on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried creating a call graph using the class hierarchy algorithm. It did fine, except for code like this:
Obviously, this is a simple version, but it was unable to create the edge from
mapLongsToStrings
tolongToString
.My IDE can handle this just fine when I do Call Hierarchy, and I believe other analysis tools can as well.
Do I need to change my analysis options in order to make the algorithm add the missing edge?
(Note: I did not add the Java core library to the analysis because it took a long time).
I believe the core issue is that SootUp needs to model the library (
Collectors.toMap
) to be able to automatically add the edge. But I'm rather unfamiliar in this area.Beta Was this translation helpful? Give feedback.
All reactions