Skip to content

Commit

Permalink
Fix opsem EInit: entry point at base address
Browse files Browse the repository at this point in the history
  • Loading branch information
JuneRousseau committed Jan 7, 2025
1 parent 1e89a43 commit e06cc31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theories/cap_lang.v
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ Section opsem.
φ |>> update_mem b' seals (* store seals at base address of enclave's data sec.*)
|>> update_etable fresh_tid eid (* create a new index in the ETable *)
|>> update_enumcur ((enumcur φ)+1) (* EC := EC + 1 *)
|>> update_reg rd (WCap E b e a) (* Position cursor at address a: client specifies entry point *)
|>> update_reg rd (WCap E b e (b^+1)%a) (* Position cursor at address b+1: entry point always at base address *)
|>> updatePC

(* enclave deinitialization *)
Expand Down

0 comments on commit e06cc31

Please sign in to comment.