---
id: 2170
title: "Let’s talk about CFI: clang edition"
source_domain: blog.trailofbits.com
source_url: "https://blog.trailofbits.com/2016/10/17/lets-talk-about-cfi-clang-edition/"
published_at: "2016-10-17T11:50:15Z"
tags: ["llvm", "compiler", "cfi", "trail-of-bits", "exploit-mitigation", "clang"]
phying_url: "https://phying.com/item/2170"
lang: en
---

# Let’s talk about CFI: clang edition

## Summary

Trail of Bits explains Control Flow Integrity with clang 3.9: what CFI mitigations like cfi-icall and cfi-vcall enforce, their limitations, and the -flto plus -fsanitize=cfi build flags required.

## Intelligence Metadata

- **Sources:** blog.trailofbits.com
- **Published:** 2016-10-17T11:50:15Z
- **Original:** https://blog.trailofbits.com/2016/10/17/lets-talk-about-cfi-clang-edition/
- **Phying News:** https://phying.com/item/2170
