blob: a249d292d2bb0e8d6b3b327f60697df2bb4e6ae0 [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/
Tom Sepezaaf2cc92024-05-02 03:09:57 +000022-samples/
23-skia/
24-testing/
Tom Sepez6de40552024-12-12 14:10:34 -080025-third_party/
Tom Sepezaaf2cc92024-05-02 03:09:57 +000026-tools/
27-v8/