pdfium/pdfium_unsafe_buffers_paths.txt
Tom Sepez 2238fbe1b6 Add fpdfsdk/{pwl,formfiller,fpdfxfa}/ directories to unsafe buffers.
The code is already clean with respect to UNSAFE_BUFFERS.

Change-Id: I0076c7ec9210e16cc186119bb4a8f27bd68098f7
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/117815
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Thomas Sepez <tsepez@google.com>
2024-03-30 03:03:15 +00:00

23 lines
710 B
Plaintext

# Copyright 2024 The PDFium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# The set of path prefixes that should be checked for unsafe buffer usage (see
# -Wunsafe-buffer-usage in Clang).
#
# ***
# Paths should be written as relative to the root of the source tree with
# unix-style path separators. Directory prefixes should end with `/`, such
# as `base/`.
# ***
#
# Files in this set are known to not use pointer arithmetic/subscripting, and
# make use of constructs like base::span or containers like std::vector instead.
#
# See `docs/unsafe_buffers.md`.
core/fxcrt/
fpdfsdk/formfiller/
fpdfsdk/pwl/
fpdfsdk/fpdfxfa/