History log of /bionic/linker/linker_cfi.cpp
Revision Date Author Comments
bcc4da9b752f0def46d63ed7b31f3f49cc2435ad 16-Feb-2017 Dimitry Ivanov <dimitry@google.com> Unify linker files under one license (BSD)

Historically we had part of the linker licensed under BSD and
another part under Apache 2 license. This commit makes all the
linker code licensed under BSD license.

Test: m
Change-Id: I11b8163ae75966b5768d3fe992679de376106515
68ecec1965dcec08c7df3f0224d69604c683cd6c 31-Jan-2017 Evgenii Stepanov <eugenis@google.com> Fix CFI initialization crash on x86.

Third try.

Bug: 34752378
Test: bionic tests
Change-Id: I247c127489a8ee38404e104f28d916a704e35f36
beb3eb1790dffc6e2f57a670aec89364944f66c4 01-Feb-2017 Evgenii Stepanov <eugenis@google.com> Revert "Fix CFI initialization crash on x86."

Breaks aosp-master/sdk.

This reverts commit 4ccd4317f9301ec9b32aa0d3317a0439b994d7bf.
4ccd4317f9301ec9b32aa0d3317a0439b994d7bf 31-Jan-2017 Evgenii Stepanov <eugenis@google.com> Fix CFI initialization crash on x86.

Second try.

Bug: 34752378
Test: bionic tests
Change-Id: I0a7453154671918b2e6e72f0bb9074c29ceb0f34
6fcd7a7d28aa6be42bbc99070c93d4d16b56ab57 31-Jan-2017 Alex Cheung <alexcheung@google.com> Revert "Fix CFI initialization crash on x86."

This reverts commit be46d3871c91902504e5ec4c7f575c86f647aafc.

Reverting due to broken build:

https://android-build.googleplex.com/builds/branch-dashboard/aosp-master?build_id=3687823

Change-Id: I30968398edd9a094fce878839ba0a002ed487a77
be46d3871c91902504e5ec4c7f575c86f647aafc 27-Jan-2017 Evgenii Stepanov <eugenis@google.com> Fix CFI initialization crash on x86.

Bug: 34752378
Test: bionic tests
Change-Id: If8e33f76a1a2d83356d818fed506ea624f579860
636a2ecfbc00e1403fba0d8baf1c6c10425fde6e 20-Jan-2017 Evgenii Stepanov <eugenis@google.com> [cfi] Handle large libraries correctly.

Fallback to unchecked if the shadow offset overflows int16_t.
This may happen when a library's data segment is larger than 256MB.

Also updated some comments.

Bug: 22033465
Test: bionic device tests

Change-Id: I8eef42f75099f24aed566499ff1731a0bbf01ff3
0a3637d3eb2424d8e825ad1825f843450a888406 06-Jul-2016 Evgenii Stepanov <eugenis@google.com> 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