commit | 0a3637d3eb2424d8e825ad1825f843450a888406 | [log] [tgz] |
---|---|---|
author | Evgenii Stepanov <eugenis@google.com> | Wed Jul 06 13:20:59 2016 -0700 |
committer | Evgenii Stepanov <eugenis@google.com> | Wed Jan 18 13:13:52 2017 -0800 |
tree | dc0d4c31cddc2ff06902fcbdf4233f7759258764 | |
parent | 1b2975d54b9c17ced29883aef24490773a4a9fe6 [diff] [blame] |
Runtime support for CFI Control Flow Integrity support in bionic. General design: http://clang.llvm.org/docs/ControlFlowIntegrityDesign.html#shared-library-support This CL implements subsections "CFI Shadow" and "CFI_SlowPath" in the above document. Bug: 22033465 Test: bionic device tests Change-Id: I14dfea630de468eb5620e7f55f92b1397ba06217
diff --git a/linker/linker_phdr.cpp b/linker/linker_phdr.cpp index a453bef..72549cc 100644 --- a/linker/linker_phdr.cpp +++ b/linker/linker_phdr.cpp
@@ -42,6 +42,7 @@ #include "linker_utils.h" #include "private/bionic_prctl.h" +#include "private/CFIShadow.h" // For kLibraryAlignment static int GetTargetElfMachine() { #if defined(__arm__)