Uh oh!
There was an error while loading. Please reload this page.
Public globals - #2
Merged
Merged
Conversation
For the moment, this field is ignored.
Restrict pointer event values to public global names. Update proofs accordingly. PowerPC and ARM need updating.
…lobal definitions). Assorted changes to ia32/Op.v. PowerPC and ARM need updating.
xavierleroyforce-pushed
the
public-globals
branch
from
November 24, 2014 17:05
21fd8eb to
a0310edComparexavierleroy
commented
Nov 24, 2014
ContributorAuthor
Rebased on current master. |
Lin23299 pushed a commit
to Lin23299/CompCert
that referenced
this pull request
Feb 25, 2022
Proof of cc_asm_ref and cc_asm_compose
xavierleroy added a commit
that referenced
this pull request
Jul 21, 2026
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 freeto 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.
As recently discussed on the compcert-users mailing list, this branch marks global definitions as either public (visible from the outside) or static (private to the compilation unit). Then, pointer values exchanged with the outside world (e.g. results of volatile read operations) are restricted to public global names.
This makes it possible to prove the correctness of compilation passes that add or remove static global definitions. As an application, this branch proves the correctness of the Unusedglob pass (removal of unreferenced static definitions), which was not verified before.