Tom Sepez | 8111f89 | 2024-03-29 17:04:55 +0000 | [diff] [blame] | 1 | # 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 Sepez | aaf2cc9 | 2024-05-02 03:09:57 +0000 | [diff] [blame] | 19 | # These directories are excluded because they come from outside PDFium and |
| 20 | # we don't have control over their contents. |
| 21 | -base/ |
Tom Sepez | aaf2cc9 | 2024-05-02 03:09:57 +0000 | [diff] [blame] | 22 | -samples/ |
| 23 | -skia/ |
| 24 | -testing/ |
Tom Sepez | 6de4055 | 2024-12-12 14:10:34 -0800 | [diff] [blame] | 25 | -third_party/ |
Tom Sepez | aaf2cc9 | 2024-05-02 03:09:57 +0000 | [diff] [blame] | 26 | -tools/ |
| 27 | -v8/ |