mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 21:16:05 +00:00

This patch adds the -fsanitize=safe-stack command line argument for clang, which enables the Safe Stack protection (see http://reviews.llvm.org/D6094 for the detailed description of the Safe Stack). This patch is our implementation of the safe stack on top of Clang. The patches make the following changes: - Add -fsanitize=safe-stack and -fno-sanitize=safe-stack options to clang to control safe stack usage (the safe stack is disabled by default). - Add __attribute__((no_sanitize("safe-stack"))) attribute to clang that can be used to disable the safe stack for individual functions even when enabled globally. Original patch by Volodymyr Kuznetsov and others at the Dependable Systems Lab at EPFL; updates and upstreaming by myself. Differential Revision: http://reviews.llvm.org/D6095 llvm-svn: 239762
85 lines
1.4 KiB
ReStructuredText
85 lines
1.4 KiB
ReStructuredText
.. Clang documentation master file, created by
|
|
sphinx-quickstart on Sun Dec 9 20:01:55 2012.
|
|
You can adapt this file completely to your liking, but it should at least
|
|
contain the root `toctree` directive.
|
|
|
|
.. title:: Welcome to Clang's documentation!
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
ReleaseNotes
|
|
|
|
Using Clang as a Compiler
|
|
=========================
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
UsersManual
|
|
LanguageExtensions
|
|
AttributeReference
|
|
CrossCompilation
|
|
ThreadSafetyAnalysis
|
|
AddressSanitizer
|
|
ThreadSanitizer
|
|
MemorySanitizer
|
|
DataFlowSanitizer
|
|
LeakSanitizer
|
|
SanitizerCoverage
|
|
SanitizerSpecialCaseList
|
|
ControlFlowIntegrity
|
|
SafeStack
|
|
Modules
|
|
MSVCCompatibility
|
|
FAQ
|
|
|
|
Using Clang as a Library
|
|
========================
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
Tooling
|
|
ExternalClangExamples
|
|
IntroductionToTheClangAST
|
|
LibTooling
|
|
LibFormat
|
|
ClangPlugins
|
|
RAVFrontendAction
|
|
LibASTMatchersTutorial
|
|
LibASTMatchers
|
|
HowToSetupToolingForLLVM
|
|
JSONCompilationDatabase
|
|
|
|
Using Clang Tools
|
|
=================
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
ClangTools
|
|
ClangCheck
|
|
ClangFormat
|
|
ClangFormatStyleOptions
|
|
|
|
Design Documents
|
|
================
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
InternalsManual
|
|
DriverInternals
|
|
PTHInternals
|
|
PCHInternals
|
|
|
|
|
|
Indices and tables
|
|
==================
|
|
|
|
* :ref:`genindex`
|
|
* :ref:`modindex`
|
|
* :ref:`search`
|
|
|