aboutsummaryrefslogtreecommitdiffstats
path: root/backend/ValueDomain.v
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2016-06-27 09:26:05 +0200
committerGitHub <noreply@github.com>2016-06-27 09:26:05 +0200
commite005f76f8260fbc3c7d60e4142a55bb5e56cf9b0 (patch)
tree6c188ffdefae96eacab73e93816a239deab2d40c /backend/ValueDomain.v
parentc52ce2f847f368391c36166aebe76515b02f7c7c (diff)
parentfb44646eb7308c1dd6a44b85415528982083200b (diff)
downloadcompcert-e005f76f8260fbc3c7d60e4142a55bb5e56cf9b0.tar.gz
compcert-e005f76f8260fbc3c7d60e4142a55bb5e56cf9b0.zip
Merge pull request #102 from AbsInt/memory_permissions
Stricter control of permissions in memory injections and extensions
Diffstat (limited to 'backend/ValueDomain.v')
-rw-r--r--backend/ValueDomain.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/ValueDomain.v b/backend/ValueDomain.v
index 8b76f44d..3c80d733 100644
--- a/backend/ValueDomain.v
+++ b/backend/ValueDomain.v
@@ -3766,6 +3766,9 @@ Proof.
- (* overflow *)
intros. exploit inj_of_bc_inv; eauto. intros (A & B & C); subst.
rewrite Zplus_0_r. split. omega. apply Int.unsigned_range_2.
+- (* perm inv *)
+ intros. exploit inj_of_bc_inv; eauto. intros (A & B & C); subst.
+ rewrite Zplus_0_r in H2. auto.
Qed.
Lemma inj_of_bc_preserves_globals: