Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make update_offset idempotent for blobs #1644

Merged
merged 3 commits into from
Jan 3, 2025
Merged

Conversation

michael-schwarz
Copy link
Member

Recreates #1559 which at the time was only merged into the branch for my thesis.

Otherwise, a publish lead to a Blob value being placed inside a zero-inited Blob, which lead to value Top inside the blob, which caused function calls to be lost.

See #1558 which shows how Goblint without this fix is unsound.

src/cdomain/value/cdomains/valueDomain.ml Outdated Show resolved Hide resolved
src/cdomain/value/cdomains/valueDomain.ml Outdated Show resolved Hide resolved
@michael-schwarz michael-schwarz merged commit c44a591 into master Jan 3, 2025
21 checks passed
@michael-schwarz michael-schwarz deleted the issue_1558_master branch January 3, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants