Library mcertikos.proc.EPTInitGenLink
Require Import LinkTemplate.
Require Import VEPTInit.
Require Import EPTInitGen.
Require Import EPTInitGenLinkSource.
Require Import VEPTOp.
Require Import VEPTOpCSource.
Require Import VEPTOpCode.
Section WITHCOMPCERTIKOS.
Context `{compcertikos_prf: CompCertiKOS} `{real_params_prf: RealParams}.
Context `{multi_oracle_prop: MultiOracleProp}.
Context `{multi_oracle_link: !MultiOracleLink}.
Lemma init_correct:
init_correct_type VEPTInit_module eptop eptinit.
Proof.
init_correct.
Qed.
Lemma link_correct_aux:
link_correct_aux_type VEPTInit_module eptop eptinit.
Proof.
link_correct_aux.
- link_cfunction
ept_gpa_to_hpa_spec_ref
EPTINITCODE.ept_gpa_to_hpa_code_correct.
- link_cfunction
ept_mmap_spec_ref
EPTINITCODE.ept_mmap_code_correct.
- link_cfunction
ept_set_permission_spec_ref
EPTINITCODE.ept_set_permission_code_correct.
- apply passthrough_correct.
Qed.
Theorem cl_backward_simulation:
cl_backward_simulation_type VEPTInit_module eptop eptinit.
Proof.
cl_backward_simulation init_correct link_correct_aux.
Qed.
Theorem make_program_exists:
make_program_exist_type VEPTInit_module eptop eptinit.
Proof.
make_program_exists link_correct_aux.
Qed.
End WITHCOMPCERTIKOS.
Require Import VEPTInit.
Require Import EPTInitGen.
Require Import EPTInitGenLinkSource.
Require Import VEPTOp.
Require Import VEPTOpCSource.
Require Import VEPTOpCode.
Section WITHCOMPCERTIKOS.
Context `{compcertikos_prf: CompCertiKOS} `{real_params_prf: RealParams}.
Context `{multi_oracle_prop: MultiOracleProp}.
Context `{multi_oracle_link: !MultiOracleLink}.
Lemma init_correct:
init_correct_type VEPTInit_module eptop eptinit.
Proof.
init_correct.
Qed.
Lemma link_correct_aux:
link_correct_aux_type VEPTInit_module eptop eptinit.
Proof.
link_correct_aux.
- link_cfunction
ept_gpa_to_hpa_spec_ref
EPTINITCODE.ept_gpa_to_hpa_code_correct.
- link_cfunction
ept_mmap_spec_ref
EPTINITCODE.ept_mmap_code_correct.
- link_cfunction
ept_set_permission_spec_ref
EPTINITCODE.ept_set_permission_code_correct.
- apply passthrough_correct.
Qed.
Theorem cl_backward_simulation:
cl_backward_simulation_type VEPTInit_module eptop eptinit.
Proof.
cl_backward_simulation init_correct link_correct_aux.
Qed.
Theorem make_program_exists:
make_program_exist_type VEPTInit_module eptop eptinit.
Proof.
make_program_exists link_correct_aux.
Qed.
End WITHCOMPCERTIKOS.