-
Hi, First of all thanks so much for the powerful tool. I'm able to use SootUp to do some interesting analysis of a code base. Problem is, the CallGraph we constructed is a big one. It took about 50 minutes to generate the call graph with the Class Hierarchy Analysis (CHA) algorithm. That means every time we want to tweak the analysis a little bit and rerun it, we need to wait 50 minutes before seeing any result..... Is there a faster way to construct the CallGraph? Like for example persist the generated CallGraph into a file and reload it? Thanks! Bing |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi, Markus |
Beta Was this translation helpful? Give feedback.
-
CHA runs quite slow, probably because it causes a lot of Jimple generation, or there are some issues in the implementation. Edit: that are some work arounds to decrease the runtime, but I agree on swissiety to implement a way to save and load call graphs |
Beta Was this translation helpful? Give feedback.
-
@swissiety instead of persisting call graph, I implemented a graph pruning feature so that I can generate a partial call graph and not going down the path that I'm not interested. Please review the PR #1025 , thanks! |
Beta Was this translation helpful? Give feedback.
Hi,
that seems to be very annoying. Unfortunately not yet, but we are happy if you like to contribute that feature - I could assign you to #1000 :)
Markus