Commit Graph

380 Commits

Author SHA1 Message Date
Gerwin Klein c124554d83 Dpolicy 2015 udpate 2015-05-14 18:56:32 +02:00
Gerwin Klein c7cccbf7ce sys-init: Isabelle2015 update 2015-05-14 18:43:29 +02:00
Gerwin Klein 164f1db611 proof/capDL-api: 2015 update 2015-05-14 11:41:20 +02:00
Gerwin Klein 7072c8e4a9 lib/sep_algebra: 2015 update 2015-05-14 11:40:55 +02:00
Gerwin Klein 330e730fa3 retire old obsolete ADT refinement phrasing
The observable state has been strengthened significantly years ago and
this theory has fallen into disrepair. The toplevel refinement statement
here was nicely concise for a paper, but the practical value is in the
much stronger corres statement, so instead of attempting proof
acrobatics with a new observable state, I'm retiring this theory.
2015-05-13 10:49:30 +02:00
Gerwin Klein f6124669fc 2015 update for DRefine 2015-05-13 09:52:32 +02:00
Gerwin Klein a979379e3a remove now obsolete delaration 2015-05-12 17:18:24 +02:00
Gerwin Klein d05b74ada6 misc/proof-indent.bsh: add installation instructions 2015-05-12 17:17:46 +02:00
Gerwin Klein 0c67e0bfa1 2015 update for Refine 2015-05-12 17:17:31 +02:00
Gerwin Klein eccc345f67 make unused-wp-warning a config option; false by default 2015-05-11 09:05:17 +02:00
Gerwin Klein 60c0573cf0 remove warnings 2015-05-11 09:04:59 +02:00
Gerwin Klein e4b54fea78 capDL spec: fewer warnings 2015-05-09 13:05:01 +02:00
Gerwin Klein 277ecdf2bb remove syntax ambiguity 2015-05-09 13:04:11 +02:00
Gerwin Klein be52a7c684 lib: more 2015 update 2015-05-09 13:03:30 +02:00
Gerwin Klein 177e5bf185 2015 update for access 2015-05-06 13:46:20 -04:00
Gerwin Klein b2b88d8cf6 be less chatty 2015-05-05 21:49:03 -04:00
Gerwin Klein b3dba84255 C-Parser 2015 update 2015-05-02 21:43:17 +02:00
Gerwin Klein bdc72d3bdd convert to 2015 and Isar 2015-05-02 21:43:17 +02:00
Gerwin Klein 618bff3f5d update recursive record package to 2015; make less chatty 2015-05-02 21:43:11 +02:00
Gerwin Klein 2c2de8c17d better context management 2015-05-01 18:12:59 +02:00
Gerwin Klein 0f2193894b 2015 update progress 2015-04-22 16:42:21 +01:00
Gerwin Klein 4ebd10ee1b umm_heap updated to Isabelle2015 2015-04-22 15:44:58 +01:00
Gerwin Klein 327d651ffc clean up the cleanup 2015-04-21 21:48:36 +01:00
Gerwin Klein 0746d5ffcd Isabelle2015 update: recreate nested induct rules precisely 2015-04-21 21:38:41 +01:00
Gerwin Klein 6b26c4d15c removed obsolete file 2015-04-21 19:32:43 +01:00
Gerwin Klein c5fafd6aca proof cleanup 2015-04-21 19:32:34 +01:00
Gerwin Klein cd1d7e0356 update Padding.thy 2015-04-21 16:21:24 +01:00
Gerwin Klein baa5791918 Isabelle2015 update: Bisim 2015-04-19 10:25:42 +01:00
Gerwin Klein 42e037ea9d Isabelle2015 update: AInvs 2015-04-19 10:25:21 +01:00
Gerwin Klein f9e40c29db cleanup: there already is a separate Bisim session 2015-04-19 10:24:42 +01:00
Gerwin Klein 17826f9b49 more Isabelle2015 update; AInvs up to (excluding) Syscall_AI
also includes some global replacements
2015-04-18 21:51:26 +01:00
Gerwin Klein 9c17bd32a4 some more lib updates for Isabelle2015 2015-04-17 22:06:38 +01:00
Gerwin Klein ce33a07662 add update notice 2015-04-17 16:22:45 +01:00
Gerwin Klein 190e7c38d6 start work on Isabelle 2015 update 2015-04-17 16:19:32 +01:00
Gerwin Klein 45065f6e5e re-import Simpl from AFP 2015-04-17 14:19:15 +01:00
Japheth Lim aa162a06f6 c-parser: fix a bug introduced by 2f611a4. 2015-04-16 18:11:15 +10:00
Gerwin Klein 22af66555c remove even arch calls from separation kernel setup
(patch by Simon Winwood)
2015-04-10 17:39:24 +10:00
Japheth Lim e83be48e84 autocorres: activate regression test for nested struct access (VER-321). 2015-04-10 16:23:31 +10:00
Michael Norrish 9827e78177 Handle cpp in both standalone and Isabelle parsers
Japheth's recent change (6f7c660cb) to error-reporting for the latter
broke the former. Refactor code so that old and new code can coexist.
Would just use Japheth's code in the purely SML version too, but it uses
Isabelle/ML libraries that I can't be bothered to recreate in SML.
2015-04-10 14:51:36 +10:00
Michael Norrish 0d0f571d01 Git-Ignore c-parser's tokenizer tool 2015-04-10 14:06:03 +10:00
Michael Norrish d66755aa26 Also get tokenizer tool to build given cc996ca 2015-04-10 14:05:16 +10:00
Japheth Lim 8025988556 trivial: autocorres: add some type conversions in light of cc996ca.
TODO: look more closely at the newmunge if it potentially affects VER-351.
2015-04-09 17:42:50 +10:00
Japheth Lim 6f7c660cb5 C-Parser: show cpp error messages if cpp fails. Also clean up output temp files. 2015-04-09 17:39:41 +10:00
Michael Norrish e4a38b4c65 Fix to GlobalsSwap.thy in light of cc996ca9ca 2015-04-09 16:56:03 +10:00
Michael Norrish dfa5c16ecf Style change to squash Isabelle/ML warning message 2015-04-09 15:10:04 +10:00
Michael Norrish cc996ca9ca Properly fix JIRA VER-439
The handling of local static variables is now part of a general
improvement in the handling of all the "munging" that the parser does.

*Munging* is the process of renaming variables so that Isabelle can cope
with them.  There are at least three different forms of munging at the
moment:

- static locals get munged so that multiple static locals (which have to
  be treated as globals) can co-exist with the same source name.
- local variables of the same source name but different types have to be
  able to co-exist
- variables with legitimate C names but illegal Isabelle names have to
  be allowed

The new structure MString implements an opaque version of string
designed to make it clear to the typechecker that certain strings are
"munged".
2015-04-09 15:09:29 +10:00
Michael Norrish 29e525645f Handle local static variables properly.
They are now treated as globals with a specially munged name, derived
from the given name and the name of the function where they occur. The
function NameGeneration.mk_localstatic generates the "munged" name.

As with other globals, initialisation is not handled very well (i.e., at
the moment the initialisation is completely ignored).

Close JIRA VER-439
2015-03-26 16:13:56 +11:00
Japheth Lim 408bf219a0 autocorres: save fn_info at the end, instead of throwing it away. 2015-03-23 15:44:59 +11:00
Michael Norrish e184eb69de Handle local extern declarations
Closes JIRA VER-440
2015-03-23 15:11:57 +11:00
Japheth Lim 3fe688e05d autocorres: fix "scope" option. 2015-03-21 11:32:46 +11:00