commit | 2e8ed4750b26923558b4754de4fd7f4cae3399e8 | [log] [tgz] |
---|---|---|
author | krasin <krasin@google.com> | Tue Dec 08 01:20:05 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Dec 08 01:21:36 2015 |
tree | 4c92eb15243fd0be458989a8b8d269967253bbd4 | |
parent | a47c41fd179bc673fe281f1618d5fe4b99d68db0 [diff] |
Enable Control Flow Integrity for the official Linux Chrome. This CL turns on CFI, a security check: https://sites.google.com/a/chromium.org/dev/developers/testing/control-flow-integrity http://clang.llvm.org/docs/ControlFlowIntegrity.html This feature enables LTO (Link-Time Optimization) builds, which slow down the linker by 3x-4x. CFI also comes with a code size overhead of about 7%-9%. The runtime CPU cost is less than 1%, and should not be an issue. BUG=chromium:464797 Intent to Implement thread: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/pbJqt6ccMII/7iJC2oklCAAJ This is a third attempt to land the CL. Previous attempts: https://codereview.chromium.org/1501593003/ https://codereview.chromium.org/1393283005/ All issues discovered by the previous attempt are resolved at this point. Review URL: https://codereview.chromium.org/1502373003 Cr-Commit-Position: refs/heads/master@{#363677}