summaryrefslogtreecommitdiffstats
path: root/clang/docs/ShadowCallStack.rst
Commit message (Collapse)AuthorAgeFilesLines
* Delete x86_64 ShadowCallStack supportVlad Tsyrklevich2019-03-071-10/+8
| | | | | | | | | | | | | | | | | | | | | Summary: ShadowCallStack on x86_64 suffered from the same racy security issues as Return Flow Guard and had performance overhead as high as 13% depending on the benchmark. x86_64 ShadowCallStack was always an experimental feature and never shipped a runtime required to support it, as such there are no expected downstream users. Reviewers: pcc Reviewed By: pcc Subscribers: mgorny, javed.absar, hiraditya, jdoerfert, cfe-commits, #sanitizers, llvm-commits Tags: #clang, #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D59034 llvm-svn: 355624
* docs: Update the ShadowCallStack documentation.Peter Collingbourne2019-02-121-96/+116
| | | | | | | | | | | | - Remove most of the discussion of the x86_64 implementation; link to an older version of the documentation for details of that implementation. - Add description of the compatibility and security issues discovered during the development of the aarch64 implementation for Android. Differential Revision: https://reviews.llvm.org/D58105 llvm-svn: 353890
* [ShadowCallStack] fix the docsKostya Serebryany2018-05-011-2/+2
| | | | llvm-svn: 331238
* AArch64: Implement support for the shadowcallstack attribute.Peter Collingbourne2018-04-041-21/+64
| | | | | | | | | | | | The implementation of shadow call stack on aarch64 is quite different to the implementation on x86_64. Instead of reserving a segment register for the shadow call stack, we reserve the platform register, x18. Any function that spills lr to sp also spills it to the shadow call stack, a pointer to which is stored in x18. Differential Revision: https://reviews.llvm.org/D45239 llvm-svn: 329236
* Add the -fsanitize=shadow-call-stack flagVlad Tsyrklevich2018-04-031-0/+150
Summary: Add support for the -fsanitize=shadow-call-stack flag which causes clang to add ShadowCallStack attribute to functions compiled with that flag enabled. Reviewers: pcc, kcc Reviewed By: pcc, kcc Subscribers: cryptoad, cfe-commits, kcc Differential Revision: https://reviews.llvm.org/D44801 llvm-svn: 329122
OpenPOWER on IntegriCloud