Skip to content

Commit

Permalink
formating fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed Nov 4, 2023
1 parent 921a95f commit 1a7afa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cfi_backward.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -425,11 +425,9 @@ follows:
sd x1,(sp) # on data stack
sspush x1 # push link register x1 on shadow stack
:
:
ld x1,(sp) # pop link register x1 from data stack
addi sp,sp,8
sspopchk x1 # compare link register x1 to shadow
# return address; faults if not same
sspopchk x1 # fault if x1 not equal to shadow return address
ret
----
Expand Down Expand Up @@ -472,6 +470,8 @@ usage, and requiring memory referenced by `ssp` to be idempotent does not pose a
significant restriction.
====

<<<

The operation of the `SSPOPCHK` and `C.SSPOPCHK` instructions is as follows:

.`SSPOPCHK` and `C.SSPOPCHK` operation
Expand Down

0 comments on commit 1a7afa9

Please sign in to comment.