Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/scala/viper/gobra/backend/ViperBackends.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ object ViperBackends {
var options: Vector[String] = Vector.empty
options ++= Vector("--logLevel", "ERROR")
options ++= Vector("--disableCatchingExceptions")
options ++= Vector("--respectFunctionPrePermAmounts")
if (config.conditionalizePermissions) {
options ++= Vector("--conditionalizePermissions")
}
Expand Down Expand Up @@ -84,6 +85,7 @@ object ViperBackends {
if (config.assumeInjectivityOnInhale) {
options ++= Vector("--assumeInjectivityOnInhale")
}
options ++= Vector("--respectFunctionPrePermAmounts")
options ++= exePaths

new Carbon(options)
Expand Down Expand Up @@ -135,6 +137,7 @@ object ViperBackends {
var options: Vector[String] = Vector.empty
options ++= Vector("--logLevel", "ERROR")
options ++= Vector("--disableCatchingExceptions")
options ++= Vector("--respectFunctionPrePermAmounts")
// Gobra seems to be much slower with the new silicon axiomatization of collections.
// For now, we stick to the old one.
options ++= Vector("--useOldAxiomatization")
Expand Down Expand Up @@ -172,6 +175,7 @@ object ViperBackends {
override def getViperVerifierConfig(exePaths: Vector[String], config: Config): ViperVerifierConfig = {
var options: Vector[String] = Vector.empty
options ++= Vector("--logLevel", "ERROR")
options ++= Vector("--respectFunctionPrePermAmounts")
if (config.assumeInjectivityOnInhale) {
options ++= Vector("--assumeInjectivityOnInhale")
}
Expand Down