/external/owasp/sanitizer/src/tests/org/owasp/html/ |
SanitizersTest.java | 39 assertEquals("", Sanitizers.FORMATTING.sanitize(null)); 40 assertEquals("", Sanitizers.FORMATTING.sanitize("")); 43 Sanitizers.FORMATTING.sanitize("Hello, World!")); 46 Sanitizers.FORMATTING.sanitize("Hello, <b>World</b>!")); 49 Sanitizers.FORMATTING.sanitize( 55 assertEquals("", Sanitizers.BLOCKS.sanitize(null)); 58 Sanitizers.BLOCKS.sanitize("Hello, World!")); 61 Sanitizers.BLOCKS.sanitize("Hello, <b>World</b>!")); 64 Sanitizers.BLOCKS.sanitize( 70 PolicyFactory s = Sanitizers.BLOCKS.and(Sanitizers.FORMATTING) [all...] |
HtmlChangeReporterTest.java | 68 hcr.setPolicy(Sanitizers.FORMATTING.apply(hcr.getWrappedRenderer()));
|
/external/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 46 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 48 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 49 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 51 return Sanitizers.has(SanitizerKind::Leak) && 52 !Sanitizers.has(SanitizerKind::Address); 55 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 57 return Sanitizers.has(SanitizerKind::SafeStack); 63 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 49 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 51 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 52 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 54 return Sanitizers.has(SanitizerKind::Leak) && 55 !Sanitizers.has(SanitizerKind::Address); 58 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 60 return Sanitizers.has(SanitizerKind::SafeStack); 66 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 49 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 51 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 52 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 54 return Sanitizers.has(SanitizerKind::Leak) && 55 !Sanitizers.has(SanitizerKind::Address); 58 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 60 return Sanitizers.has(SanitizerKind::SafeStack); 66 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 49 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 51 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 52 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 54 return Sanitizers.has(SanitizerKind::Leak) && 55 !Sanitizers.has(SanitizerKind::Address); 58 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 60 return Sanitizers.has(SanitizerKind::SafeStack); 66 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 49 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 51 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 52 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 54 return Sanitizers.has(SanitizerKind::Leak) && 55 !Sanitizers.has(SanitizerKind::Address); 58 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 60 return Sanitizers.has(SanitizerKind::SafeStack); 66 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 49 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 51 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 52 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 54 return Sanitizers.has(SanitizerKind::Leak) && 55 !Sanitizers.has(SanitizerKind::Address); 58 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 60 return Sanitizers.has(SanitizerKind::SafeStack); 66 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 49 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 51 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 52 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 54 return Sanitizers.has(SanitizerKind::Leak) && 55 !Sanitizers.has(SanitizerKind::Address); 58 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 60 return Sanitizers.has(SanitizerKind::SafeStack); 66 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 49 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 51 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 52 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 54 return Sanitizers.has(SanitizerKind::Leak) && 55 !Sanitizers.has(SanitizerKind::Address); 58 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 60 return Sanitizers.has(SanitizerKind::SafeStack); 66 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Driver/ |
SanitizerArgs.h | 12 #include "clang/Basic/Sanitizers.h" 25 SanitizerSet Sanitizers; 49 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } 51 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } 52 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } 54 return Sanitizers.has(SanitizerKind::Leak) && 55 !Sanitizers.has(SanitizerKind::Address); 58 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } 60 return Sanitizers.has(SanitizerKind::SafeStack); 66 return Sanitizers.hasOneOf(SanitizerKind::Efficiency) [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
Sanitizers.java | 38 * Sanitizers.FORMATTING.sanitize({@code "<b>Hello, World!</b>"}) 42 * PolicyFactory sanitizer = Sanitizers.FORMATTING.and(Sanitizers.BLOCKS); 53 public final class Sanitizers { 110 private Sanitizers() {
|
/external/clang/lib/Driver/ |
SanitizerArgs.cpp | 11 #include "clang/Basic/Sanitizers.h" 80 /// Produce a string containing comma-separated names of sanitizers in \p 81 /// Sanitizers set. 82 static std::string toString(const clang::SanitizerSet &Sanitizers); 114 #include "clang/Basic/Sanitizers.def" 121 // sanitizers disabled by the current sanitizer 162 return ((Sanitizers.Mask & NeedsUbsanRt & ~TrapSanitizers.Mask) || 164 !Sanitizers.has(Address) && !Sanitizers.has(Memory) && 165 !Sanitizers.has(Thread) && !Sanitizers.has(DataFlow) && !CfiCrossDso [all...] |
/external/owasp/sanitizer/distrib/lib/ |
owasp-java-html-sanitizer.jar | |
/build/soong/cc/ |
sanitize.go | 81 // main sanitizers 85 // local sanitizers 94 // Sanitizers to run in the diagnostic mode (as opposed to the release mode). 96 // Address and Thread sanitizers always run in diagnostic mode. 130 // Don't apply sanitizers to NDK code. 278 ctx.ModuleErrorf("Use of sanitizers requires clang") 281 var sanitizers []string 285 sanitizers = append(sanitizers, "undefined") 291 sanitizers = append(sanitizers [all...] |
/external/clang/lib/Sema/ |
SemaDeclAttr.cpp | [all...] |
/external/clang/lib/Frontend/ |
CompilerInvocation.cpp | 369 const std::vector<std::string> &Sanitizers, 371 for (const auto &Sanitizer : Sanitizers) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
Attrs.inc | [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
Attrs.inc | [all...] |