Skip to content

Commit

Permalink
Update command line to run SeaHorn
Browse files Browse the repository at this point in the history
- SeaHorn 14 does not support SV-COMP properties
  • Loading branch information
Po-Chun-Chien committed Jun 7, 2024
1 parent 9cabfc9 commit 925d4e2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions benchexec/tools/seahorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os


class Tool(benchexec.tools.template.BaseTool):
class Tool(benchexec.tools.template.BaseTool2):
REQUIRED_PATHS = ["bin", "crab", "include", "lib", "share"]

def executable(self, tool_locator):
Expand All @@ -33,11 +33,8 @@ def name(self):
def project_url(self):
return "https://github.com/seahorn/seahorn"

def cmdline(self, executable, options, tasks, propertyfile, rlimits):
assert len(tasks) == 1
assert propertyfile is not None
spec = ["--spec=" + propertyfile]
return [executable] + options + spec + tasks
def cmdline(self, executable, options, task, rlimits):
return [executable] + options + [task.single_input_file]

def version(self, executable):
return self._version_from_tool(
Expand Down

0 comments on commit 925d4e2

Please sign in to comment.