aboutsummaryrefslogtreecommitdiffstats
path: root/common/Separation.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 /common/Separation.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 'common/Separation.v')
-rw-r--r--common/Separation.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/Separation.v b/common/Separation.v
index 4d87443b..6a7ffbea 100644
--- a/common/Separation.v
+++ b/common/Separation.v
@@ -627,6 +627,10 @@ Next Obligation.
- intros. eapply Mem.valid_block_unchanged_on; eauto.
- assumption.
- assumption.
+- intros. destruct (Mem.perm_dec m0 b1 ofs Max Nonempty); auto.
+ eapply mi_perm_inv; eauto.
+ eapply Mem.perm_unchanged_on_2; eauto.
+ eapply IMG; eauto.
Qed.
Next Obligation.
eapply Mem.valid_block_inject_2; eauto.