ExpRelation analysis ignores overflows
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 252
- Forks
- 90
- Avg merge
- 4d 1m
- Merged PRs (30d)
- 19
Description
As pointed out in https://github.com/goblint/analyzer/pull/770#discussion_r912977915, the expRelation analysis makes some claims about expressions containing arithmetic which may overflow. Depending on the configuration, we might not want it to make definite claims about expressions that become unsound due to overflows. This doesn't concern just signed overflow (for which we have an option), but also unsigned overflow.
As I found out in #770, most of those seem completely untested beforehand, so instead of fixing maybe they could largely just be removed. Unless there are some non-regression test programs where these expRelations matter.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the expRelation analysis and the discussion in PR 770, focusing on arithmetic expressions that can undergo signed or unsigned overflow. Check the configuration-dependent behavior and look for non-regression test programs; done means unsound claims are removed or corrected and retained behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, ocaml
- Domain
- devtools, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100