llvm-project/clang/docs
Vlad Tsyrklevich 2eccdab308 Allow specifying sanitizers in blacklists
Summary:
This is the follow-up patch to D37924.

This change refactors clang to use the the newly added section headers
in SpecialCaseList to specify which sanitizers blacklists entries
should apply to, like so:

  [cfi-vcall]
  fun:*bad_vcall*
  [cfi-derived-cast|cfi-unrelated-cast]
  fun:*bad_cast*

The SanitizerSpecialCaseList class has been added to allow querying by
SanitizerMask, and SanitizerBlacklist and its downstream users have been
updated to provide that information. Old blacklists not using sections
will continue to function identically since the blacklist entries will
be placed into a '[*]' section by default matching against all
sanitizers.

Reviewers: pcc, kcc, eugenis, vsk

Reviewed By: eugenis

Subscribers: dberris, cfe-commits, mgorny

Differential Revision: https://reviews.llvm.org/D37925

llvm-svn: 314171
2017-09-25 22:11:12 +00:00
..
CommandGuide Driver: Remove support for -fobjc-gc* 2016-12-07 00:31:10 +00:00
analyzer [NFC] [Analyzer] Fix RST markup in documentation. 2017-09-14 00:04:56 +00:00
tools [clang-format] Update dump_format_style.py to indent nested fields 2017-06-23 11:29:40 +00:00
AddressSanitizer.rst [docs] Update LeakSanitizer documentation to reflect OS X support 2017-09-13 19:40:10 +00:00
AttributeReference.rst
AutomaticReferenceCounting.rst docs: update docs for objc_storeStrong behaviour 2017-02-11 17:24:09 +00:00
Block-ABI-Apple.rst Typo fix: appropo -> apropos. NFC. 2017-06-19 20:08:20 +00:00
Block-ABI-Apple.txt
BlockLanguageSpec.rst
CMakeLists.txt docs: Fix Sphinx detection with out-of-tree builds 2017-05-09 01:42:33 +00:00
ClangCheck.rst [clang docs] Minor fix in ClangCheck.rst 2016-11-14 17:31:24 +00:00
ClangCommandLineReference.rst [docs] Regenerate command line options reference 2017-08-30 09:15:53 +00:00
ClangFormat.rst clang-format: add an option -verbose to list the files being processed 2017-08-12 15:15:10 +00:00
ClangFormatStyleOptions.rst [clang-format] New flag - BraceWrapping.AfterExternBlock 2017-09-15 11:23:50 +00:00
ClangPlugins.rst Removing more :option: tags that we do not have corresponding .. option directives for; these are causing the sphinx bot to fail (http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/15195/steps/docs-clang-html/logs/stdio). 2016-07-14 14:07:37 +00:00
ClangTools.rst
ControlFlowIntegrity.rst Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
ControlFlowIntegrityDesign.rst Fix broken links to the Itanium CXX ABI 2017-09-12 00:21:17 +00:00
CrossCompilation.rst [docs] Use x86_64 and i386 instead of x86 as arch for triples. 2016-12-05 22:52:20 +00:00
DataFlowSanitizer.rst
DataFlowSanitizerDesign.rst
DiagnosticsReference.rst [docs] Regenerate diagnostics reference. 2017-04-13 22:44:22 +00:00
DriverArchitecture.png
DriverInternals.rst
ExternalClangExamples.rst Add LibreOffice Clang plugin to ExternalClangExamples.rst 2017-03-22 08:45:49 +00:00
FAQ.rst
HowToSetupToolingForLLVM.rst Fixed a typo (compilation_commands.json --> compile_commands.json). 2016-08-19 13:36:31 +00:00
InternalsManual.rst Fix some typos in the documentation. 2017-08-03 15:38:14 +00:00
IntroductionToTheClangAST.rst
ItaniumMangleAbiTags.rst
JSONCompilationDatabase.rst Extend CompilationDatabase by a field for the output filename 2016-12-01 23:37:45 +00:00
LTOVisibility.rst docs: Use the term "whole-program devirtualization" instead of "virtual function call optimization". 2017-04-10 23:54:28 +00:00
LanguageExtensions.rst Add OpenCL 2.0 atomic builtin functions as Clang builtin 2017-08-04 18:16:31 +00:00
LeakSanitizer.rst [docs] Update LeakSanitizer documentation to reflect OS X support 2017-09-13 19:40:10 +00:00
LibASTMatchers.rst Typo fix in AST matcher documentation: s/aribtrary/arbitrary/ 2016-12-31 01:04:02 +00:00
LibASTMatchersReference.html [clang] Fix isExternC matcher docs 2017-09-22 19:29:38 +00:00
LibASTMatchersTutorial.rst [clang] Minor fix to libASTMatcherTutorial 2016-12-30 20:49:44 +00:00
LibFormat.rst clang-format - Also reference the list of style option of clang-format in Libformat 2017-06-26 03:19:05 +00:00
LibTooling.rst
MSVCCompatibility.rst Update MSVC compat docs about debug info 2016-12-14 21:34:19 +00:00
Makefile.sphinx
MemorySanitizer.rst Fix a typo 2017-06-26 02:45:08 +00:00
Modules.rst Fix reStructuredText warning. 2017-09-14 23:58:18 +00:00
ObjectiveCLiterals.rst
PCHInternals.rst Removing a few more :option: tags that we do not have corresponding .. option directives for; these are causing the sphinx bot to fail (http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/15197/steps/docs-clang-html/logs/stdio). 2016-07-14 15:32:11 +00:00
PCHLayout.graffle
PCHLayout.png
PTHInternals.rst
RAVFrontendAction.rst
README.txt
ReleaseNotes.rst [ubsan-minimal] Document the new runtime 2017-09-11 21:37:05 +00:00
SafeStack.rst docs: Document how safestack handles setjmp and exceptions. 2016-05-24 23:38:02 +00:00
SanitizerCoverage.rst docs: don't say that data flow tracing interface is unstable 2017-08-31 11:02:44 +00:00
SanitizerSpecialCaseList.rst Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
SanitizerStats.rst
SourceBasedCodeCoverage.rst [docs] Coverage: Improve the wording a bit 2017-06-19 21:26:04 +00:00
ThinLTO.rst [Docs] Document cache pruning support for gold 2017-09-18 23:24:01 +00:00
ThreadSafetyAnalysis.rst Correct the attribute spelling for guarded_var and pt_guarded_var. 2017-05-08 12:39:17 +00:00
ThreadSanitizer.rst [docs] Update the TSan and MSan docs to refer to the new no_sanitize attribute 2016-10-27 21:38:44 +00:00
Toolchain.rst Fix broken links to the Itanium CXX ABI 2017-09-12 00:21:17 +00:00
Tooling.rst
UndefinedBehaviorSanitizer.rst [ubsan] Enable -fsanitize=function on Darwin 2017-09-13 00:04:36 +00:00
UsersManual.rst [docs] Fix typos in Clang's User's Manual. 2017-09-23 12:13:32 +00:00
conf.py Bump docs version to 6.0 2017-07-19 13:50:27 +00:00
doxygen-mainpage.dox
doxygen.cfg.in PR19260: Teach doxygen to spell correctly the include paths. 2017-04-20 08:57:41 +00:00
index.rst [docs] Add TableGen-based generator for command line argument documentation, 2017-01-24 19:39:46 +00:00
make.bat

README.txt

See llvm/docs/README.txt