-
Notifications
You must be signed in to change notification settings - Fork 203
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
Update SeaHorn's tool-info module #1051
Update SeaHorn's tool-info module #1051
Conversation
The wrapper script (executable) of SeaHorn `sea` does not support `--version`, but the binary `seahorn` does.
- SeaHorn 14 does not support SV-COMP properties
27040ff
to
b5d4bac
Compare
The updated tool-info module is not backward compatible. @PhilippWendler Should I create another file instead? |
The best would be to let the tool-info module work automatically with all versions of the tool, if necessary by detecting the tool's version. This is what we do in several similar cases. |
Let me provide more information: The old tool-info module is written for the SV-COMP wrapper ( (the SV-COMP wrapper does not exist for newer version anymore.) In this case, should I
|
Having a separate tool-info module is technically always possible, but I would consider it the least desirable solution if there are no strong arguments against a unified tool-info module, in particular because the nice name Detecting which tool to call wouldn't really work based on the command-line arguments, because one basically needs to decide already in the |
Sure! I could also add some logging if needed.
This I am not sure, but I think it is likely the case. The later releases are only available as Docker images. |
With level debug, sure.
If you think this is a good detection strategy, I would go with it. |
Is it possible to still retrieve the information of |
You can store the outcome of the check which executable is there in an attribute of your |
…default and SV-COMP wrapper In `executable()`, we look for `bin/sea_svcomp` (the SV-COMP wrapper) first. If it does not exist, then we look for `bin/sea` (the default wrapper).
@PhilippWendler I have updated the tool-info modulo to be compatible with SeaHorn's SV-COMP wrapper in fa218eb, and also tested it using SeaHorn 0.1.0 and 14. The old tool-info was written with |
The existing tool-info module for SeaHorn was created for the version submitted to SV-COMP 2016.
This PR updates the module to work with the latest version.