summaryrefslogtreecommitdiff
path: root/src/options
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2017-12-08 14:32:16 -0800
committerGitHub <noreply@github.com>2017-12-08 14:32:16 -0800
commit707571c8b4a572b9554f9068df796f1257cb587d (patch)
treee7773fec0ee9d2460149a391d183448956ec1d63 /src/options
parent1bf7e9db3bb501e1f3deeb905e8dec68bc028b71 (diff)
Fixed side conditions for CBQI BV, added unit tests. (#1434)
This fixes the side conditions for BITVECTOR_UREM_TOTAL, BITVECTOR_UDIV_TOTAL, BITVECTOR_LSHR, BITVECTOR_ASHR, BITVECTOR_SHL. It refactors side condition generation for better readability and unit testing. It further adds unit tests for all side conditions we generate in order to check if they too weak or to restrictive (which may result in unsound behavior). This is achieved by checking the following two implications: not (exists x. s * x = t => SC) ... if sat, SC is too restrictive not (SC => exists x. s * x = t) ... if sat SC is too weak This simplifies to checking not (SC <=> exists x. s * x = t).
Diffstat (limited to 'src/options')
0 files changed, 0 insertions, 0 deletions
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback