Skip to content

Can sootup do a backwards analysis to construct a call graph? #1091

Answered by JonasKlauke
dimpdash asked this question in Q&A
Discussion options

You must be logged in to vote

There is currently no way to do a backwards analysis. Compared to a forwards analysis you need to know all places in which a call is possible, for CHA it might be possible to develop such an approach, but a higher precision might be difficult.
A current work around would be to add every method as entry point in the call graph algorithm. That way you would create a complete call graph and then you could extract the subgraph for your "entry method" or you can use the complete call graph for the queries.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dimpdash
Comment options

@dimpdash
Comment options

@JonasKlauke
Comment options

Answer selected by dimpdash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants