Adapt to the change in CompCert semantics between CompCert 3.7 and 3.8 - #857
Merged
Conversation
Collaborator
Author
|
This P.R. adapts to AbsInt/CompCert@142fc76 |
andrew-appel
referenced
this pull request
in AbsInt/CompCert
Jun 9, 2026
Fail if the addressed bytes straddle the 2^32 or 2^64 boundary. This can happen for memory chunks where alignment is less than size, e.g. a 64-bit access 4-aligned at address 0xFFFF_FFFC on a 32-bit machine.
…values aligned on 4-byte multiples)
andrew-appel
marked this pull request as ready for review
June 9, 2026 14:43
1. Use InteractionTrees from coq-released opam install, not submodule 2. Fix dry_mem_lemmas for recent Clight operational semantics change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The painful thing is a new restriction in CompCert's load and store semantics, that the offset must be <= Ptrofs.modulus. This requires preserving a new invariant.