electron_unsafe_buffers_paths.txt 899 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 2024 The Electron Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. # The set of path prefixes that should be checked for unsafe buffer usage (see
  5. # -Wunsafe-buffer-usage in Clang).
  6. #
  7. # ***
  8. # Paths should be written as relative to the root of the source tree with
  9. # unix-style path separators. Directory prefixes should end with `/`, such
  10. # as `base/`.
  11. # ***
  12. #
  13. # Files in this set are known to not use pointer arithmetic/subscripting, and
  14. # make use of constructs like base::span or containers like std::vector instead.
  15. #
  16. # See `docs/unsafe_buffers.md`.
  17. # These directories are excluded because they come from outside Electron and
  18. # we don't have control over their contents.
  19. -base/
  20. -chrome/
  21. -components/
  22. -device/
  23. -extensions/
  24. -google_apis/
  25. -net/
  26. -services/
  27. -skia/
  28. -third_party/
  29. -tools/
  30. -ui/
  31. -url/
  32. -v8/