Skip to content
Snippets Groups Projects
Commit 4b8eacfc authored by Régis Blanc's avatar Régis Blanc
Browse files

clearer error message for big int from Z3

parent ef30f85b
Branches
Tags
No related merge requests found
...@@ -1304,6 +1304,11 @@ class FairZ3Solver(reporter: Reporter) extends Solver(reporter) with AbstractZ3S ...@@ -1304,6 +1304,11 @@ class FairZ3Solver(reporter: Reporter) extends Solver(reporter) with AbstractZ3S
} }
case Z3NumeralAST(Some(v)) => IntLiteral(v) case Z3NumeralAST(Some(v)) => IntLiteral(v)
case Z3NumeralAST(None) => {
reporter.info("Cannot read exact model from Z3: Integer does not fit in machine word")
reporter.info("Exiting procedure now")
sys.exit(0)
}
case other @ _ => { case other @ _ => {
System.err.println("Don't know what this is " + other) System.err.println("Don't know what this is " + other)
System.err.println("REVERSE FUNCTION MAP:") System.err.println("REVERSE FUNCTION MAP:")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment