HomeSort by relevance Sort by last modified time
    Searched refs:Sanitizers (Results 1 - 9 of 9) sorted by null

  /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;
44 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); }
46 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); }
47 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); }
49 return Sanitizers.has(SanitizerKind::Leak) &&
50 !Sanitizers.has(SanitizerKind::Address);
53 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); }
55 return Sanitizers.has(SanitizerKind::SafeStack);
  /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"
78 /// Produce a string containing comma-separated names of sanitizers in \p
79 /// Sanitizers set.
80 static std::string toString(const clang::SanitizerSet &Sanitizers);
112 #include "clang/Basic/Sanitizers.def"
119 // sanitizers disabled by the current sanitizer
160 return (Sanitizers.Mask & NeedsUbsanRt & ~TrapSanitizers.Mask) &&
161 !Sanitizers.has(Address) &&
162 !Sanitizers.has(Memory) &&
163 !Sanitizers.has(Thread) &
    [all...]
  /external/clang/lib/Basic/
Android.mk 38 Sanitizers.cpp \
  /external/owasp/sanitizer/distrib/lib/
owasp-java-html-sanitizer.jar 
  /external/clang/lib/Sema/
SemaDeclAttr.cpp     [all...]
  /external/clang/lib/Frontend/
CompilerInvocation.cpp 352 const std::vector<std::string> &Sanitizers,
354 for (const auto &Sanitizer : Sanitizers) {
707 // FIXME: Report unrecoverable sanitizers incorrectly specified here.
    [all...]

Completed in 3136 milliseconds