Skip to content

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Sep 26, 2025

PR #1827 caused some ARG tests to fail unexpectedly.
Actually, on the surface it seems to have fixed something: there were TODOs about duplicate InlineReturn-s in the tests. However, this is very strange because that PR shouldn't change anything about ARGs.

#1128 causes some unnecessary additional contexts and paths and these end up reflected in the ARG if not deduplicated correctly. It doesn't matter if you call __VERIFIER_assert(x == 0) or __VERIFIER_assert(x == 2) if both arguments are definitely true at the call site. And that's what this PR fixes.
#1128 still exists and should be fixed for general performance, even if this PR deduplicates its inefficiency.

PR #1827 increases precision of branch which makes the ARG itself more precise and unintentionally fixes the two ARG tests for the wrong reasons.

TODO

  • TODO in code about function pointer calls.

@sim642 sim642 added this to the v2.7.0 Bamboozled Buffalo milestone Sep 26, 2025
@sim642 sim642 added bug usability sv-comp SV-COMP (analyses, results), witnesses labels Sep 26, 2025
@sim642 sim642 marked this pull request as draft October 10, 2025 10:50
@sim642 sim642 marked this pull request as ready for review October 13, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug sv-comp SV-COMP (analyses, results), witnesses usability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant