Can SootUp be used to find missing or incompatible classes in an application? #1073
-
Application is assembled into a fat jar containing all the resolved dependencies. I was wondering if I could use SootUp to build something quick that could scan the fat jar and find where bad method references or incompatible class definitions occured. While experimenting I made a simple application that attempted to generate a call graph from the application entry point. ...
CallGraphAlgorithm cha = new ClassHierarchyAnalysisAlgorithm(view);
CallGraph cg = cha.initialize(List.of(entryMethodSignature)); That code takes a LONG time to run, but then it ultimately fails with this:
Looking at that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @swpalmer-cl, |
Beta Was this translation helpful? Give feedback.
Hi @swpalmer-cl,
the Exception occurs due to a bug I am currently working on and should be fixed in the next week.
if I understood correctly: No - as: not out of the box, because we assume the project given is working correctly - but there should be a way - outline: you need to unzip the jar and split the dependencies into their own
Analysisinputlocations
+View
s and check API compatibility between theView
s.