Zicfiss instructions
Shadow Stack
The Zicfiss extension introduces a shadow stack to enforce backward-edge control-flow integrity.
The extension provides instructions to store and load the link register to and from the shadow stack, check the integrity of the return address, read the shadow stack pointer, and perform atomic swaps on shadow stack locations.
Extension description from riscv-unified-db, reformatted.
Specification chapter: The RISC-V Instruction Set Manual, src/unpriv/cfi.adoc.
Instructions (9)
| Mnemonic | Name (riscv-unified-db) | XLEN |
|---|---|---|
c.sspopchk.x5 | (pseudo-op) | RV32 and RV64 |
c.sspush.x1 | (pseudo-op) | RV32 and RV64 |
ssamoswap.d | No synopsis available | RV32 and RV64 |
ssamoswap.w | No synopsis available | RV32 and RV64 |
sspopchk.x1 | (pseudo-op) | RV32 and RV64 |
sspopchk.x5 | (pseudo-op) | RV32 and RV64 |
sspush.x1 | (pseudo-op) | RV32 and RV64 |
sspush.x5 | (pseudo-op) | RV32 and RV64 |
ssrdp | Read ssp into a Register (pseudo-op) | RV32 and RV64 |