-
Notifications
You must be signed in to change notification settings - Fork 44
Add --smt-arg
to kore
#4025
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
Add --smt-arg
to kore
#4025
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one suggestion
, SMT.rLimit = rLimit | ||
, SMT.resetInterval = resetInterval | ||
, SMT.prelude = prelude | ||
, SMT.arguments = args <> SMT.Config.arguments SMT.defaultConfig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should only use the default if the args
are empty? This would enable users to get rid of defaults that we may set in the future.
, SMT.arguments = args <> SMT.Config.arguments SMT.defaultConfig | |
, SMT.arguments = if null args then SMT.Config.arguments SMT.defaultConfig else args |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default options contain -smt2 -in
command which is necessary I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, we certainly need the -in
option in any way
(BTW smtlib-backends
does not use the -smt2
option)
Fixes #4024