summaryrefslogtreecommitdiff
path: root/lib/string.sail
AgeCommit message (Collapse)Author
2019-10-16Make nostd Sail arena allocator thread safe (maybe)Alasdair
2019-07-16Fix all remaining tests for this branchAlasdair
2019-07-04Add coq builtin for concat_str (copied from mips prelude).Robert Norton
2019-05-09SMT: Make path conditionals more preciseAlasdair Armstrong
Previously path conditionals for a node were defined as the path conditional of the immediate dominator (+ a guard for explicit guard nodes after conditional branches), whereas now they are the path conditional of the immediate dominator plus an expression encapsulating all the guards between the immediate dominator and the node. This is needed as the previous method was incorrect for certain control flow graphs. This slows down the generated SMT massively, because it causes the path conditionals to become huge when the immediate dominator is far away from the node in question. It also changes computing path conditionals from O(n) to O(n^2) which is not ideal as our inlined graphs can become massive. Need to figure out a better way to generate minimal path conditionals between the immediate dominator and the node. I upped the timeout for the SMT tests from 20s to 300s each but this may still cause a failure in Jenkins because that machine is slow.
2019-03-08Fix the Coq mapping for eq_string in Sail lib.Prashanth Mundkur
2018-06-11Add string.sail file to libAlasdair Armstrong