Skip to content

Conversation

goodlyrottenapple
Copy link
Contributor

Fixes #4024

@goodlyrottenapple goodlyrottenapple marked this pull request as ready for review August 12, 2024 08:17
Copy link
Member

@jberthold jberthold left a 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
Copy link
Member

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.

Suggested change
, SMT.arguments = args <> SMT.Config.arguments SMT.defaultConfig
, SMT.arguments = if null args then SMT.Config.arguments SMT.defaultConfig else args

Copy link
Contributor Author

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.

Copy link
Member

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)

@rv-jenkins rv-jenkins merged commit 2faf6c1 into master Aug 15, 2024
6 checks passed
@rv-jenkins rv-jenkins deleted the sam/smt-arg-kore branch August 15, 2024 15:02
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.

Pass --smt-arg to Kore's SMT solver
4 participants