-
-
Notifications
You must be signed in to change notification settings - Fork 110
Dominance Finder Out of Bounds Error #586
Copy link
Copy link
Closed
Description
When I attempt to build a DominanceFinder object, I am getting an Array Out of Bounds Exception:
Here is the snippet of my code which produces the error:
for(JavaSootMethod aMethod : aClass.getMethods()){
if(aMethod.hasBody()){
StmtGraph<?> graph = aMethod.getBody().getStmtGraph();
df = new DominanceFinder(graph);
...Here is the stack trace:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 18
at sootup.core.graph.DominanceFinder.getFirstDefinedBlockPredIdx(DominanceFinder.java:167)
at sootup.core.graph.DominanceFinder.<init>(DominanceFinder.java:75)
at com.lesslab.ProgramGraph.GraphBuilder.buildGraphs(GraphBuilder.java:193)
at com.lesslab.ProgramGraph.App.main(App.java:45)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels