blob: 64613bd98957366caf06450ba871ae5160c82d7a [file] [log] [blame]
Tom Sepez8111f892024-03-29 17:04:55 +00001# Copyright 2024 The PDFium 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
5# The set of path prefixes that should be checked for unsafe buffer usage (see
6# -Wunsafe-buffer-usage in Clang).
7#
8# ***
9# Paths should be written as relative to the root of the source tree with
10# unix-style path separators. Directory prefixes should end with `/`, such
11# as `base/`.
12# ***
13#
14# Files in this set are known to not use pointer arithmetic/subscripting, and
15# make use of constructs like base::span or containers like std::vector instead.
16#
17# See `docs/unsafe_buffers.md`.
18
Tom Sepezaaf2cc92024-05-02 03:09:57 +000019# These directories are excluded because they come from outside PDFium and
20# we don't have control over their contents.
21-base/
22-public/
23-samples/
24-skia/
25-testing/
26-third_party
27-tools/
28-v8/