llvm-project
392807ec - [RISCV] Separate HW/SW shadow stack on RISC-V (#112478)

Commit
1 year ago
[RISCV] Separate HW/SW shadow stack on RISC-V (#112478) This patch follows https://github.com/llvm/llvm-project/pull/112477. Previously `-fsanitize=shadow-call-stack` (which get transform to `Attribute::ShadowCallStack`) is used for enable both hardware and software shadow stack, and another option `-force-sw-shadow-stack` is needed if the user wants to use the software shadow stack where hardware software shadow stack could be supported. It decouples both by using the string attribute `hw-shadow-stack` to distinguish from the software shadow stack attribute.
Author
Parents
Loading