Skip to content

Commit

Permalink
fix: Better handling of analysis control flow into unrecognized label…
Browse files Browse the repository at this point in the history
… target
  • Loading branch information
Col-E committed Aug 25, 2024
1 parent 0090a03 commit bd1c3e7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ public void execute(JvmAnalysisEngine<Frame> engine, AnalysisSimulation.Info met
while (index < elementCount) {
Frame oldFrame = frame.copy();
frame = frame.copy();
if (index < 0)
throw new AnalysisException("Analysis jumped to invalid range: " + index);
CodeElement element = elements.get(index);

Frame existingFrame = engine.getFrame(index);
Expand Down

0 comments on commit bd1c3e7

Please sign in to comment.