Repository navigation
Test unconditional-goto fast path taken due to path exploration - #9554
Conversation
symex_goto takes its unconditional-goto fast path either when the state guard is true or when doing path exploration. The test added in diffblue#9398 only uses constants, so its guard is always true and it never exercises the second case. Add a variant where the guard at the forward goto into the inner loop's head is not true on the second outer iteration, and run it with --paths lifo. Without the fix from diffblue#9398 this test fails with a spurious unwinding-assertion failure for the inner loop. Co-authored-by: Kiro <kiro-agent@users.noreply.github.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #9554 +/- ##
===========================================
- Coverage 81.28% 81.27% -0.01%
===========================================
Files 1725 1725
Lines 191618 191618
Branches 73 73
===========================================
- Hits 155751 155744 -7
- Misses 35867 35874 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Could consolidate with related tests in a shared subdirectory. |
symex_goto takes its unconditional-goto fast path either when the state guard is true or when doing path exploration. The test added in #9398 only uses constants, so its guard is always true and it never exercises the second case. Add a variant where the guard at the forward goto into the inner loop's head is not true on the second outer iteration, and run it with --paths lifo. Without the fix from #9398 this test fails with a spurious unwinding-assertion failure for the inner loop.