This patch is still in the early stage.
We mark some registers as secrets, and then verify whether input
assemblies will leak these secrets.
TODO:
- We need an approach to construct CFG from assemblies.
- Verify MIR instead of MCInst?
Paths
| Differential D155836
[WIP][RISCV] Verify whether a piece of assemblies leak secret Needs ReviewPublic Authored by wangpc on Jul 20 2023, 6:23 AM.
Details Summary This patch is still in the early stage. We mark some registers as secrets, and then verify whether input TODO:
Diff Detail
Event Timelinewangpc added a parent revision: D155690: [RISCV] Mask instructions in Zkt as constant-time.Jul 20 2023, 6:23 AM
Revision Contents
Diff 542486 llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/test/MC/RISCV/secret-verify.s
|