Commit Graph

423 Commits

Author SHA1 Message Date
Gerwin Klein cfec9ea0db Merge branch 'master' into 2015 2015-05-28 11:45:13 +10:00
Gao Xin bd0f0c29d1 small fixes on haskell translator and haskell spec templates 2015-05-28 11:30:22 +10:00
Joel Beeren 7b6ddc5212 updated translated haskell spec 2015-05-28 11:30:22 +10:00
Joel Beeren 002cf370bb Updated proof with new fastpath changes removing setCurrentASID and armv_contextSwitch_fp 2015-05-28 11:30:22 +10:00
Gerwin Klein 0000b7890c misc/etc: standard settings for large builds 2015-05-27 17:26:28 +10:00
Matthew Fernandez 075349ec40 camkes: Prove there are no address space objects in a low-level generated spec.
The low-level specification roughly maps to the code generator and template
instantiation phases of CAmkES. At this point no address space objects exist
(excepting slight infidelity with respect to page directories). The address
space objects are introduced in the "extra" objects that we append, which map
roughly to the ELF derivation and CapDL filters.

Separating the two collections of objects gives us some nice preserved
properties that can be shown over generation from an abstract input. In
particular, we can phrase some provable properties that are resilient against
things like changes in compiler optimisation levels and allocation strategies.
2015-05-27 17:13:07 +10:00
Matthew Fernandez aa15249aff misc/regression: Fix some trivial typos. 2015-05-27 16:23:20 +10:00
Matthew Fernandez 7bf834300d misc/regression: Fix colouring.
ANSI terminal code 37 is white; 38 is the start of an extended colour sequence.
2015-05-27 16:22:41 +10:00
Matthew Fernandez 06e01e9e08 camkes: Add CamkesCdlRefine to regression tests. 2015-05-27 16:22:24 +10:00
Matthew Fernandez abb783acbd camkes: Add CAmkES↔CapDL beginnings.
These theories construct a locale with holes that are filled in by generated
code. Interpreting the locale manually is quite tedious and error prone, but we
entirely automate this process during code generation. For the details of this,
see the CAmkES 'architecture-semantics' and 'label-mapping' back ends.
2015-05-27 16:06:14 +10:00
Matthew Fernandez 69676bbae1 camkes: Add CamkesCdlBase session.
This session encompasses the theories relevant for reasoning about the
relationship between CAmkES and CapDL.
2015-05-27 15:57:18 +10:00
Gerwin Klein ca88de6611 Merge from master. 2015-05-26 07:47:54 +10:00
Japheth Lim 74bc3f5548 autocorres: print more useful error when \<Gamma> is absent. 2015-05-25 16:30:56 +10:00
Gerwin Klein 99e8228c2e autocorres: prune unused functions 2015-05-24 22:21:27 +10:00
Gerwin Klein b3bbcbd4d4 autocorres: add test case for autocorres in different thy
When install_C_file is in a theory different to the autocorres command,
more care is needed to get struct type names right.
2015-05-24 22:18:37 +10:00
Gerwin Klein afd8493379 c-parser: allow isa_type_to_typ from other contexts
When isa_type_to_typ is called from a theory other than the one the type was
declared in, it would pick the wrong fully qualified name. Now the function
should be robust against a) yet undeclared types (for record decls), b)
existing types in same theory (normal case), and c) existing struct types
from other theories (e.g. from autocorres).
2015-05-24 22:15:45 +10:00
Gerwin Klein b880019ea1 ignore more 2015-05-22 15:48:52 +10:00
Gerwin Klein 3432b0a20a autocorres/doc: more robust isabelle.sty customization 2015-05-22 15:47:18 +10:00
Gerwin Klein ce51c71fc7 crefine: remove unused ML file 2015-05-22 12:52:35 +10:00
Gerwin Klein 7a8f9cfab6 record more dependencies to avoid redundant rebuilds 2015-05-22 11:48:11 +10:00
Gerwin Klein 297fbebfef ignore generated file 2015-05-22 10:22:48 +10:00
Gerwin Klein a9bebcfed5 asmrefine: 2015 udpate 2015-05-22 10:21:22 +10:00
Gerwin Klein 398b22935b autocorres/tests: 2015 update 2015-05-21 19:49:11 +10:00
Gerwin Klein 854b89f071 autocorres: 2015 update 2015-05-21 19:49:11 +10:00
Gerwin Klein c6564cb4cb infoflow: 2015 update for infoflow C refinement 2015-05-20 21:10:59 +10:00
Gerwin Klein d4be402559 crefine: even more complete 2015 update 2015-05-20 21:03:48 +10:00
Gerwin Klein bfef1e10d3 crefine: 2015 update complete 2015-05-20 20:39:47 +10:00
Matthew Fernandez 221cb74dd5 Fix: Description of `SORRY_BITFIELD_PROOFS` in cspec README.
The kernel's Makefile expects this value to be `1` and will incorrectly detect
`yes` as a directive *not* to sorry these proofs.
2015-05-19 12:27:37 +10:00
Gerwin Klein eea646c84a crefine: 2015 update up to Tcb_C 2015-05-18 09:11:43 +10:00
Gerwin Klein 0f943ec13c clib: 2015 update 2015-05-17 22:24:25 +10:00
Gerwin Klein e09f88d2e7 2015 update for CBaseRefine 2015-05-17 10:42:15 +10:00
Gerwin Klein cba6a4f59e infoflow: minor cleanup 2015-05-16 21:49:01 +10:00
Gerwin Klein a6f1ab41f8 ainvs: some more cleanup 2015-05-16 21:48:24 +10:00
Gerwin Klein a09c92bdce lib/Focus: 2015 update 2015-05-16 21:47:45 +10:00
Gerwin Klein f2cfeb2a0c lib: fewer warnings in crunch and wps 2015-05-16 21:46:45 +10:00
Gerwin Klein bfe0cf85d1 bump to 2015 2015-05-16 19:55:42 +10:00
Gerwin Klein 12fa86863a fewer warnings 2015-05-16 19:52:49 +10:00
Gerwin Klein b46bc4e78d infoflow: 2015 update (apart from C refinement) 2015-05-16 18:14:59 +10:00
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