remove alternate solver support (#35)

This commit is contained in:
JP Smith
2017-03-01 11:06:32 -06:00
committed by GitHub
parent a4576009de
commit ca158dd5b4
2 changed files with 0 additions and 24 deletions
-1
View File
@@ -40,7 +40,6 @@ Manticore is officially supported on Linux and uses Python 2.7.
- Python Dependencies: Run `pip install -r requirements.txt`
- Z3 Theorem Prover: Download the latest release for your platform from https://github.com/Z3Prover/z3/releases/latest, and place the enclosed `z3` binary in your `$PATH`.
- Alternatively, CVC4 or Yices can be used.
### development dependencies
-23
View File
@@ -510,27 +510,4 @@ class Z3Solver(SMTSolver):
except (IndexError, ValueError, TypeError):
pass
class Cvc4Solver(SMTSolver):
def __init__(self):
self.command = 'cvc4 --incremental --lang=smt2'
self.init = ['(set-logic QF_AUFBV)', '(set-option :produce-models true)']
self.get_value_fmt = (re.compile('\(\((?P<expr>(.*))\ \(_\ bv(?P<value>(\d*))\ \d*\)\)\)'), 10)
self.support_simplify = False
self.support_reset = False
self.support_maximize = False
self.support_minimize = False
super(Cvc4Solver, self).__init__()
class YicesSolver(SMTSolver):
def __init__(self):
self.command = 'yices-smt2 --incremental'
self.init = ['(set-logic QF_AUFBV)']
self.get_value_fmt = (re.compile('\(\((?P<expr>(.*))\ #b(?P<value>([0-1]*))\)\)'), 2)
self.support_simplify = False
self.support_reset = True
self.support_maximize = False
self.support_minimize = False
super(YicesSolver, self).__init__()
solver = Z3Solver()