goblint / goblint/analyzer

Re-consider `exp.volatiles_are_top`

Open
#810 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cleanup precision relational unsound
Dominant language
OCaml
Stars
252
Forks
90
Avg merge
4d 1m
Merged PRs (30d)
19

Description

We currently enable this everywhere, which leads to volatile and extern variables always having the value T.

While this is of course safe and makes sense when analyzing e.g. drivers, it may be unnecessarily imprecise to consider all volatiles T in other settings. We should, e.g., investigate if this can be turned off for sv-comp at least.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the configuration for exp.volatiles_are_top and inspect how it is applied to the sv-comp setting. Determine whether disabling it there preserves the intended driver analysis behavior while avoiding unnecessary imprecision for volatile and extern variables; the issue is done when that scope and effect are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ocaml
Domain
devtools
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.