Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Andrew Baumann 5ac1338efb z3remote: quick kludge for unexpected noise in input 2017-10-05 20:39:01 -07:00
Andrew Baumann 2430a6c76b improved remote verification tools (z3ssh + z3remote)
z3remote now wraps z3 on the server-side, which allows for a few optimisations:
 * compress entire query at app level, rather than relying on ssh
 * avoid needless round-trips: just one per query
2017-06-22 14:39:30 -07:00
Andrew Baumann ec1431ae01 bump vale to pick up anycpu build fix 2017-06-16 14:27:55 -07:00
Andrew Baumann d1b46b1e49 workaround weird 32/64 file system redirection bug that just surfaced 2017-06-16 12:02:01 -07:00
Andrew Baumann d1e6af8cdb added z3ssh, a clunky but functional z3 wrapper for remote verification
also included the original shell script which prompted it (and works
just fine with Linux/mono -- the only reason for compiling the exe is
so that win32 Boogie can call CreateProcess on it!)

use with:
  make -jN verified EXTRADAFNYFLAGS="/z3exe:tools/z3ssh/bin/z3ssh.exe /vcsCores:M"
... where N and M are adjusted to taste.
2017-06-16 11:04:09 -07:00
Andrew Baumann 0c12676b73 update boogie binaries
these match commit 3ac3045264ce9fd7d3411f4d965430b84ff27087
from https://github.com/qunyanm/boogie/tree/clean-up-common
2017-06-15 11:03:09 -07:00
Andrew Baumann fcbfab7970 added script to ship Z3 queries to an Azure "function"
use with /z3exe:tools/z3remote.py /vcsCores:10 (or more)

in practice, this currently doesn't work very well, because the load
balancer doesn't react fast enough, and all the queries end up running
on the same overloaded server
2017-06-15 11:02:34 -07:00
Andrew Baumann 8035933b14 update verification tools
* Dafny release v1.9.9

 * Boogie master 9fbb097803c640922b71ae22141c93d0f57fcdd6 PLUS one cherry-picked commit:
   a7260f1880
   (attempting to make /restartProver behave more like /proc)

 * Z3 master 169295c9ba74802e4e17b908982ba8a9f1c9f491

 * fix verification in two places that broke as a result of the
   new tools (this appears to be related to arithmetic that looks
   non-linear due to the use of constants)
2017-06-07 09:57:03 -07:00
Andrew Baumann 31af03cacc bump vale version 2017-05-24 15:18:43 -07:00
Andrew Baumann dadcebaaee pick up vale support for 'calc' in dafny direct mode, and re-enable it 2017-05-23 13:37:56 -07:00
Andrew Baumann a22ce80aa8 add support for branch comparisons using the TST instruction
... and bump vale to pull in the recent commit that adds support for them.
This will be needed for repeated enclave entry/return.
2017-03-21 22:26:18 -07:00
Andrew Baumann 30519fead2 get sha256-refined.sdfy verifying, and add it to 'make verified' target
* bump vale version to pick up {:split_here}{:refined} assert syntax
 * add some splits suggested by chris
 * minor cleanup and a split in sha256_block_data_order_inner
 * invoke dafny with /induction:1
2017-03-19 21:52:44 -07:00
Andrew Baumann bca94fa48d bump vale version, picking up the const() bugfix for refined mode 2017-03-08 13:27:02 -08:00
Andrew Baumann d56f60c3f1 bump vale version 2017-02-15 16:51:48 -08:00
Andrew Baumann 5a80212d89 add exec perms 2017-02-15 11:35:48 -08:00
Andrew Baumann 9cb5ebe7e7 fix submodule commit for 'vale' 2017-02-10 14:27:09 -08:00
Andrew Ferraiuolo 09a5e89858 Add missing DLLs. Fix typo in README.md
The DLLs were grabbed from z3-4.5.0-x64-win.zip
Verification status ("make verified"):
(Aside from the last case, verification was continued by running touch
<FILENAME> for files that fail to build.)
    - 1 timeout in ptebits.i.dfy
    - Several "unresolved identifier" errors in exception_handlers.sdfy
    - Unsupported expression in init_addrspace.sdfy (after which verification
      could not be continued by touching init_addrspace.verified)
2017-02-10 12:23:52 -05:00
Andrew Baumann 927b045fb7 check in binaries for known-good dafny & z3, and a git submodule for vale
these binaries correspond to:
z3 release 4.5.0 x64 windows

dafny commit 28bf5d11ce1a8dc5663f1f9d04c721acae12403f
    Author: qunyanm <qunyanm@hotmail.com>
    Date:   Fri Jan 27 21:02:58 2017 -0800
        Fix incorrect translation of forallstmt

(experience suggests that trying keep track of support for multiple
versions of dafny or z3 is unproductive)
2017-02-01 15:28:48 -08:00
Andrew Baumann bad4708e3e added build rules to copy the driver binary into a raspbian disk image and pass it to qemu 2016-06-15 21:28:21 -07:00
Andrew Baumann 2629935de4 quieten output 2016-05-26 14:25:51 -07:00
Andrew Baumann f051e7c95b added a quick and dirty script to copy a file (e.g. the module) into a raspbian image 2016-05-25 16:53:45 -07:00