Replies: 4 comments
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
a) The Jimple makes sense as this is an infinite loop and a BodyInterceptor (ConditionalBranchFolder) that is executed by default removed the return Stmt. @kadirayk @stschott Maybe we should add a configuration option to that b) your code: as we are in a loop and you are traversing the first successors of each Stmt the JGotoStmt points to an already visited Stmt (a backwards edge if we speak in graph theorie terms) which means you have to manage a collection of already visited Stmts or you use the provided iterator of the |
Beta Was this translation helpful? Give feedback.
-
What happened?
When I use stmtGraph to traverse a method that contains loops, such as while or nested loops, it leads to infinite recursion, causing the analysis to crash. Is there a way to handle methods with such loop structures properly?
Version
Latest develop branch
Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions