~/talk

Compiler Support for Control-Flow Linearization Using Architectural Mimicry

Talkat PriSC 2024 · on Saturday, 2024-01-20· [compilers-and-language-design, security]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Implements an LLVM backend pass that automates control‑flow linearization for reducible graphs using Architectural Mimicry (AMi) mimic execution and persistent instruction qualifiers, inserting activating edges and register‑allocation constraints so live registers stay unaffected. Evaluated on Proteus RISC‑V microbenchmarks: code size +6% and execution time +26% versus baseline, manual AMi linearization averages 1.19x runtime, the compiler 1.26x and naive both‑branches+select is 1.73x. Works for small tests but requires more robustness and formalization for larger programs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:21Overview of the presentation
  3. 1:08Microarchitectural attacks
  4. 3:20Architectural mimicry
  5. 4:44Linearizing branches with AM
  6. 6:36Programming model limits
  7. 7:38Research contributions
  8. 8:25Control flow linearization steps
  9. 14:45LLVM implementation
  10. 18:04Evaluation results
  11. 20:16Future work
  12. 21:42Question and answer session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.