- Feb 01, 2017
-
-
Robbert Krebbers authored
The port makes the following notable changes: * The carrier types of separation algebras and integer environments are no longer in Set. Now they have a type at a fixed type level above Set. This both works better in 8.5 and makes the formalization more general. I have tried putting them at polymorphic type levels, but that increased the compilation time by an order of magnitude. * I am using a custom f_equal tactic written in Ltac to circumvent bug #4069. That bug has been fixed, so this custom tactic can be removed when the next beta of 8.5 is out.
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Jun 10, 2015
-
-
Robbert Krebbers authored
-
- Jun 04, 2015
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Jun 02, 2015
-
-
Robbert Krebbers authored
-
- May 21, 2015
-
-
Robbert Krebbers authored
It would still be far more efficient to have a counter for the next memory index in the executable semantics/frontend.
-
- Apr 22, 2015
-
-
Robbert Krebbers authored
-
- Apr 16, 2015
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Mar 15, 2015
-
-
Robbert Krebbers authored
-
- Mar 02, 2015
-
-
Robbert Krebbers authored
-
- Feb 25, 2015
-
-
Robbert Krebbers authored
-
- Feb 24, 2015
-
-
Robbert Krebbers authored
-
- Feb 16, 2015
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Feb 13, 2015
-
-
Robbert Krebbers authored
Ported from popl2014 branch.
-
- Feb 08, 2015
-
-
Robbert Krebbers authored
First it would destruct on the decider, which sometimes would result in unfolded hypotheses.
-
Robbert Krebbers authored
The tactic "injection' H" now uses the name "H" for the first hypothesis it generates. Fresh names will still be used for the remaining hypotheses.
-
Robbert Krebbers authored
-
Robbert Krebbers authored
Important changes in the core semantics: * Types extended with function types. Since function types are a special kind of pointer types, types now have an additional mutual part called "ptr_type". * Pointers extended with function pointers. Theses are just names that refer to an actual function in the function environment. * Typing environments extended to assign argument and return types to function names. Before we used a separate environment for these, but since the argument and return types are already needed to type function pointers, this environment would appear in pretty much every typing judgment. As a side-effect, the frontend has been rewritten entirely. The important changes are: * Type checking of expressions is more involved: there is a special kind of expression type corresponding to a function designator. * To handle things like block scoped extern function, more state-fullness was needed. To prepare for future extensions, the entire frontend now uses a state monad.
-
- Jan 31, 2015
-
-
Robbert Krebbers authored
Type environments now describe alignment, this allows to: * Prove properties about alignment, for example that bit offsets of addresses are always aligned. * Support align_of expressions in the frontend.
-
- Jan 29, 2015
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
addresses. The operation "mem_force Γ m a" used to apply the identify function to pricisely the object "a", even in case "a" is an "unsigned char" address refering to an individual byte. This caused the ctree substructure of the entire subobject to disappear and had the undesired effect that: mem_force Γ a m ⊑{Γ,true@Γm} m failed to hold (i.e. unused reads cannot be removed).
-
- Jan 27, 2015
-
-
Robbert Krebbers authored
* This behavior is "implementation defined" and can be turned on and off using the Boolean field "alloc_can_fail" of the class "Env". * The expression "EAlloc" is now an r-value of pointer type instead of an l-value. * The executable semantics for expressions is now non-deterministic. Hence, some proofs had to be revised.
-
- Jan 25, 2015
-
-
Robbert Krebbers authored
-
Robbert Krebbers authored
-
- Dec 23, 2014
-
-
Robbert Krebbers authored
Pointer equality is now defined using absolute object offsets. The treatment is similar to CompCert: * Equality of pointers in the same object is defined provided the object has not been deallocated. * Equality of pointers in different objects is defined provided both pointers have not been deallocated and both are strict (i.e. not end-of-array). Thus, pointer equality is defined for all pointers that are not-end-of-array and have not been deallocated. The following examples have defined behavior: int x, y; printf("%d\n", &x == &y); int *p = malloc(sizeof(int)), *q = malloc(sizeof(int)); printf("%d\n", p == q); struct S { int a; int b; } s, *r = &s; printf("%d\n", &s.a + 1 == &(r->b)); The following not: int x, y; printf("%d\n", &x + 1 == &y);
-
- Dec 17, 2014
-
-
Robbert Krebbers authored
-
- Dec 16, 2014
-
-
Robbert Krebbers authored
The refinement relation on addresses allows union references to be refined: (β2 → β1) → RUnion i s β1 ⊆ RUnion i s β2 The result is that frozen values are below their unfrozen variant, which made it possible to prove that constant propagation (see constant_propagation.v) can be performed on the level of the memory model.
-
- Nov 23, 2014
-
-
Robbert Krebbers authored
-
- Nov 15, 2014
-
-
Robbert Krebbers authored
Integers with the same size, are no longer supposed to have the same rank. As a result, the C integer types (char, short, int, long, long long) are different (and thus cannot alias) even if they have the same size. We now have to use a more involved definition of integer promotions and usual arithmetic conversions. However, this new definition follows the C standard literally.
-
- Nov 06, 2014
-
-
Robbert Krebbers authored
-
- Oct 10, 2014
-
-
Robbert Krebbers authored
The proof now uses the stronger notion of memory permutation instead of a more general memory refinement. We have also proven that memory permutations are symmetric.
-
- Oct 08, 2014
-
-
Robbert Krebbers authored
Memory refinements now carry a boolean parameter that has the following meaning: [false] : Behave like a simple renaming of memories that merely allows to permute object identifiers. It does not allow to refine memories into a more defined version. [true] : Behave like before. Objects can be injected, and memory contents can be refined into a more defined variant. We make refinements parametric in these two variant to avoid code duplication, and because the [false] variant is a special case of the [true] variant. For completeness of the executable semantics, we now use the [false] variant.
-
- Oct 07, 2014
-
-
Robbert Krebbers authored
-
- Oct 03, 2014
-
-
Robbert Krebbers authored
Also better error messages if a constant expression is expected.
-
- Sep 30, 2014
-
-
Robbert Krebbers authored
-