Added cvc4 and mathsat to scripts/smt2-bmc

This commit is contained in:
Clifford Wolf 2015-08-15 11:51:55 +02:00
parent f227332a98
commit e4ddc26576
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ class smtio:
if solver == "z3": if solver == "z3":
popen_vargs = ['z3', '-smt2', '-in'] popen_vargs = ['z3', '-smt2', '-in']
if solver == "cvc4":
popen_vargs = ['cvc4', '--incremental']
if solver == "mathsat":
popen_vargs = ['mathsat']
self.debug_print = debug_print self.debug_print = debug_print
self.debug_file = debug_file self.debug_file = debug_file
self.p = subprocess.Popen(popen_vargs, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) self.p = subprocess.Popen(popen_vargs, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)