This is an archive of the discontinued LLVM Phabricator instance.

[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
assemblies will leak these secrets.

TODO:

  • We need an approach to construct CFG from assemblies.
  • Verify MIR instead of MCInst?

Diff Detail

Event Timeline

wangpc created this revision.Jul 20 2023, 6:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2023, 6:23 AM
wangpc requested review of this revision.Jul 20 2023, 6:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2023, 6:23 AM
wangpc edited the summary of this revision. (Show Details)Jul 20 2023, 7:13 AM