HomePhabricator

Instrument Control Flow For Indirect Branch Tracking

Description

Instrument Control Flow For Indirect Branch Tracking

CET (Control-Flow Enforcement Technology) introduces a new mechanism called IBT (Indirect Branch Tracking).
According to IBT, each Indirect branch should land on dedicated ENDBR instruction (End Branch).
The new pass adds ENDBR instructions for every indirect jmp/call (including jumps using jump tables / switches).
For more information, please see the following:
https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf

Differential Revision: https://reviews.llvm.org/D40482

Change-Id: Icb754489faf483a95248f96982a4e8b1009eb709

Details

Committed
orenbJan 9 2018, 12:51 AM
Differential Revision
D40482: [X86] Instrument Control Flow For Indirect Branch Tracking
Parents
rL322061: [cmake] Use symlinks for Windows-hosted toolchains built on Unix
Branches
Unknown
Tags
Unknown