How to use the benchexec.util.find_executable function in BenchExec

To help you get started, we’ve selected a few BenchExec examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sosy-lab / cpachecker / BenchExec / benchexec / tools / evolcheck.py View on Github external
def preprocessSourcefile(self, sourcefile):
        gotoCcExecutable      = util.find_executable('goto-cc')
        # compile with goto-cc to same file, bith '.cc' appended
        self.preprocessedFile = sourcefile + ".cc"

        subprocess.Popen([gotoCcExecutable,
                            sourcefile,
                            '-o',
                            self.preprocessedFile],
                          stdout=subprocess.PIPE).wait()

        return self.preprocessedFile
github sosy-lab / benchexec / benchexec / tools / predatorhp.py View on Github external
def executable(self):
        return util.find_executable("predatorHP.py")
github sosy-lab / benchexec / benchexec / tools / pagai.py View on Github external
def executable(self):
        return util.find_executable("pagai")
github sosy-lab / benchexec / benchexec / tools / tbf.py View on Github external
def executable(self):
        return util.find_executable("tbf", "bin/tbf")
github sosy-lab / cpachecker / BenchExec / benchexec / tools / acsar.py View on Github external
def executable(self):
        return util.find_executable('acsar')
github sosy-lab / benchexec / benchexec / tools / lazycseq.py View on Github external
def executable(self):
        return util.find_executable("lazy-cseq.py")
github sosy-lab / benchexec / benchexec / tools / wolverine.py View on Github external
def executable(self):
        return util.find_executable("wolverine")
github sosy-lab / cpachecker / BenchExec / benchexec / tools / cpachecker.py View on Github external
def executable(self):
        executable = util.find_executable('cpa.sh', 'scripts/cpa.sh')
        executableDir = os.path.join(os.path.dirname(executable), os.path.pardir)
        if os.path.isdir(os.path.join(executableDir, 'src')):
            self._buildCPAchecker(executableDir)
        if not os.path.isfile(os.path.join(executableDir, "cpachecker.jar")):
            logging.warning("Required JAR file for CPAchecker not found in {0}.".format(executableDir))
        return executable
github sosy-lab / benchexec / benchexec / tools / cbmc.py View on Github external
def executable(self):
        return util.find_executable("cbmc")
github sosy-lab / benchexec / benchexec / tools / tabol.py View on Github external
def executable(self):
        return util.find_executable("tabol.sh")