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

Fix sem.unknown_function.spawn handling in base #1603

Merged
merged 4 commits into from
Oct 24, 2024
Merged

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Oct 23, 2024

Now that #1029 is done for a while, we can remove a hack in base whereby sem.unknown_function.spawn didn't just apply to unknown functions (like it was supposed to), but all library functions with spawning arguments as well.

The consequence is that atexit needs a separate option as planned by #1174 (comment).
This requires some generalization of the library function DSL to allow options to control the argument access of a library function.

This makes us also more sound in SV-COMP where there are some instances of atexit that we currently completely ignored. Better atexit handling is the goal of #799.

@sim642 sim642 added cleanup Refactoring, clean-up bug unsound sv-comp SV-COMP (analyses, results), witnesses labels Oct 23, 2024
@sim642 sim642 added this to the SV-COMP 2025 milestone Oct 23, 2024
@sim642 sim642 merged commit cdfb4a2 into master Oct 24, 2024
21 checks passed
@sim642 sim642 deleted the unknown-function-spawn branch October 24, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cleanup Refactoring, clean-up sv-comp SV-COMP (analyses, results), witnesses unsound
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants