Suppress unsafe_libc_call warning for initial identified files.
See docs/unsafe_buffers.md for details. Enforcement is not yet enabled, but this set of files are not in compliance with the new warnings. Bug: 390223051 Change-Id: I4e24c2141b9399f572678302c833947494098b29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6187925 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Owners-Override: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1412673}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
501d0be6a0
commit
8726d30ed0
base
atomicops_unittest.cccheck.cccheck_op.cc
containers
debug
files
json
linux_util.ccmemory
aligned_memory_unittest.ccmadv_free_discardable_memory_allocator_posix_unittest.ccmadv_free_discardable_memory_posix_unittest.ccsafety_checks_unittest.cc
message_loop
metrics
field_trial.cchistogram_samples.cchistogram_threadsafe_unittest.ccpersistent_histogram_storage.ccsample_vector_unittest.ccstatistics_recorder.cc
numerics
pickle.ccprocess
profiler
rand_util_posix.ccsecurity_unittest.ccstrings
system
test
trace_event
types
uuid.cccc
base
layers
metrics
paint
display_item_list_unittest.ccpaint_op_writer_reader_unittest.ccraw_memory_transfer_cache_entry.ccskottie_transfer_cache_entry.cc
scheduler
test
trees
chrome
browser
apps
autofill
automated_tests
browser_switcher
chrome_browser_main_posix.ccdevtools
diagnostics
dom_distiller
download
enterprise
connectors
data_protection
extensions
activity_log
api
browsing_data
downloads
font_settings
image_writer_private
messaging
runtime
socket
media
router
discovery
providers
webrtc
new_tab_page
policy
printing
resource_coordinator
safe_browsing
client_side_detection_host_browsertest.cc
cloud_content_scanning
screen_ai
sessions
signin
bound_session_credentials
spellchecker
ssl
support_tool
sync
test
integration
ui
browser_navigator.ccbrowser_navigator_browsertest.cc
unload_browsertest.cclens
test
toolbar
views
desktop_capture
extensions
tabs
web_apps
webui
side_panel
customize_chrome
wallpaper_search
user_education_internals
upgrade_detector
user_education
webauthn
common
enterprise_companion
renderer
accessibility
read_anything
autofill
safe_browsing
services
test
chromedriver
tools
convert_dict
updater
components
autofill
core
browser
foundations
breadcrumbs
client_update_protocol
contextual_search
core
crash
core
app
cronet
discardable_memory
dom_distiller
download
internal
common
encrypted_messages
enterprise
idle
eye_dropper
facilitated_payments
core
validation
favicon_base
feature_engagement
feedback
redaction_tool
fingerprinting_protection_filter
browser
flags_ui
guest_view
browser
gwp_asan
crash_handler
lens
media_router
common
metrics
mirroring
service
omnibox
optimization_guide
core
os_crypt
paint_preview
performance_manager
policy
core
common
power_metrics
prefs
reporting
encryption
safe_browsing
content
browser
renderer
phishing_classifier
search
search_engines
search_provider_logos
segmentation_platform
services
on_device_translation
storage
indexed_db
transactional_leveldb
service_worker
sessions
signin
internal
storage_monitor
subresource_filter
content
tools
supervised_user
core
sync_device_info
trusted_vault
ui_devtools
update_client
url_matcher
user_education
variations
net
service
visitedlink
common
viz
client
common
service
webcrypto
algorithms
webrtc
zucchini
content
app
browser
attribution_reporting
background_fetch
background_sync
browsing_data
cache_storage
devtools
download
file_system_access
indexed_db
interest_group
isolated_origin_util.ccmedia
network_context_client_base_impl_unittest.ccrenderer_host
service_process_host_browsertest.ccservice_worker
shape_detection
speech
tracing
utility_process_host_browsertest.ccweb_package
mock_signed_exchange_handler.ccprefetched_signed_exchange_cache.ccsigned_exchange_prologue.ccsigned_exchange_signature_header_field.cc
webauth
webid
zygote_host
common
public
renderer
services
auction_worklet
shell
test
fuzzer
web_test
crypto
dbus
device
extensions
browser
api
guest_view
web_view
socket
storage
system_cpu
common
renderer
gin
google_apis/gaia
gpu
command_buffer
client
client_font_manager.cccmd_buffer_helper.hdawn_client_memory_transfer_service.ccquery_tracker_unittest.cc
common
service
dawn_caching_interface.ccdawn_caching_interface_unittest.ccdawn_platform.ccgles2_cmd_decoder.hgles2_cmd_decoder_passthrough_unittest_textures.ccgr_shader_cache_unittest.ccmemory_program_cache.ccraster_decoder_unittest_base.hrenderbuffer_manager.ccservice_font_manager.ccshader_translator_cache.hshader_translator_cache_unittest.ccshared_context_state.cc
shared_image
tests
config
ipc
service
vulkan
headless
app
lib
ipc
ipc_channel_mojo_unittest.ccipc_channel_reader_unittest.ccipc_message_utils_unittest.ccsync_socket_unittest.cc
media
audio
base
audio_block_fifo_unittest.ccchannel_mixer.cccodec_worker_impl.hcontainer_names_unittest.ccsilent_sink_suspender_unittest.ccstatus_unittest.ccvideo_frame_pool_unittest.cc
capture
video
cast
openscreen
cdm
filters
dav1d_video_decoder_unittest.ccffmpeg_glue.ccframe_processor_unittest.ccin_memory_url_protocol.ccmemory_data_source.ccvpx_video_decoder_unittest.cc
formats
gpu
h264_builder_unittest.cch264_dpb.ccmacros.h
vaapi
learning
common
midi
mojo
common
mojom
services
muxers
renderers
mojo
core
proxy
public
cpp
bindings
tests
tools
net
base
address_list_unittest.ccaddress_tracker_linux.ccaddress_tracker_linux_unittest.ccdatagram_buffer.ccdatagram_buffer_unittest.ccfilename_util.cchash_value.cchash_value.hhost_mapping_rules_unittest.ccip_endpoint.ccip_endpoint_unittest.cclookup_string_in_fixed_set_unittest.ccnetwork_interfaces_linux.ccnetwork_interfaces_linux_unittest.ccsockaddr_util_posix.cc
cert
cert_verify_proc.cccrl_set.ccct_log_response_parser.ccct_log_verifier.ccct_objects_extractor.ccct_objects_extractor_unittest.cc
internal
known_roots.ccknown_roots_unittest.ccmerkle_tree_leaf_unittest.ccsigned_tree_head.ccx509_certificate.ccx509_util_nss.cccookies
disk_cache
blockfile
simple
dns
dns_names_util_unittest.ccdns_query_parse_fuzzer.ccdns_response_fuzzer.ccmock_mdns_socket_factory.cc
public
http
http_auth_gssapi_posix_unittest.cchttp_cache_unittest.cchttp_cache_writers.cchttp_response_body_drainer_unittest.cchttp_response_headers.cchttp_stream_parser.cchttp_vary_data.ccmock_gssapi_library_posix.cctest_upload_data_stream_not_allow_http1.cc
log
proxy_resolution
quic
address_utils.h
crypto
mock_decrypter.ccmock_encrypter.ccquic_chromium_client_stream.ccquic_chromium_client_stream_test.ccquic_chromium_packet_writer.ccquic_network_transaction_unittest.ccquic_proxy_client_socket_unittest.ccquic_proxy_datagram_client_socket.ccquic_proxy_datagram_client_socket_unittest.ccreporting
socket
read_buffering_stream_socket.ccsocket_bio_adapter_unittest.ccsocket_test_util.hsocks_client_socket.ccsocks_client_socket_unittest.cctcp_client_socket_unittest.cctcp_server_socket_unittest.cctransport_client_socket_test_util.cctransport_client_socket_unittest.ccudp_socket_perftest.cc
spdy
test
tools
url_request
pdf
loader
pdfium
test
printing
remoting
base
host
protocol
channel_socket_adapter.ccchromium_socket_factory.ccice_config.ccpseudotcp_adapter.ccwebrtc_connection_to_host.cc
signaling
test
sandbox/linux
bpf_dsl
integration_tests
services
tests
services
audio
device
hid
serial
usb
mojo
network
chunked_data_pipe_upload_data_stream_unittest.ccmdns_responder.cc
orb
prefetch_matches.ccproxy_resolving_socket_mojo_unittest.ccpublic
shared_dictionary
tcp_bound_socket_unittest.cctcp_socket_unittest.ccurl_loader_unittest.ccproxy_resolver
screen_ai
tracing
perfetto
public
cpp
viz
public
cpp
hit_test
webnn
skia
ext
SkMemory_new_handler.cppevent_tracer_impl.ccimage_operations_bench.ccskia_trace_memory_dump_impl.ccskottie_unittest.cc
public
mojom
sql
storage/browser
third_party/blink
common
public
common
input
renderer
bindings
core
controller
core
css
dom
events
fetch
frame
html
inspector
layout
inline
loader
messaging
mojo
page
paint
svg
trustedtypes
typed_arrays
workers
xml
parser
modules
breakout_box
canvas
canvas2d
clipboard
compression
crypto
encryptedmedia
gamepad
indexeddb
mediarecorder
mediastream
ml
webnn
peerconnection
webaudio
webcodecs
webgl
webgpu
platform
audio
bindings
blob
disk_data_allocator_test.ccexported
fonts
geometry
graphics
image-decoders
loader
media
network
peerconnection
text
webrtc
wtf
ui
accessibility
base
interaction
resource
test
x
display
events
gfx
gl
ozone
demo
platform
qt
views
examples
wm
core
url
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/atomicops.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/check.h"
|
||||
|
||||
#include <optional>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/check_op.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#ifndef BASE_CONTAINERS_VECTOR_BUFFER_H_
|
||||
#define BASE_CONTAINERS_VECTOR_BUFFER_H_
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "base/base_export.h"
|
||||
#include "base/compiler_specific.h"
|
||||
|
||||
namespace base {
|
||||
namespace debug {
|
||||
@ -88,19 +89,19 @@ BASE_EXPORT size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size);
|
||||
// Convenience macro that copies the null-terminated string from `c_str` into a
|
||||
// stack-allocated char array named `var_name` that holds up to `array_size - 1`
|
||||
// characters and should be preserved in memory dumps.
|
||||
#define DEBUG_ALIAS_FOR_CSTR(var_name, c_str, array_size) \
|
||||
char var_name[array_size] = {}; \
|
||||
::base::strlcpy(var_name, (c_str), std::size(var_name)); \
|
||||
#define DEBUG_ALIAS_FOR_CSTR(var_name, c_str, array_size) \
|
||||
char var_name[array_size] = {}; \
|
||||
UNSAFE_TODO(::base::strlcpy(var_name, (c_str), std::size(var_name))); \
|
||||
::base::debug::Alias(var_name)
|
||||
|
||||
#define DEBUG_ALIAS_FOR_U16CSTR(var_name, c_str, array_size) \
|
||||
char16_t var_name[array_size] = {}; \
|
||||
::base::u16cstrlcpy(var_name, (c_str), std::size(var_name)); \
|
||||
#define DEBUG_ALIAS_FOR_U16CSTR(var_name, c_str, array_size) \
|
||||
char16_t var_name[array_size] = {}; \
|
||||
UNSAFE_TODO(::base::u16cstrlcpy(var_name, (c_str), std::size(var_name))); \
|
||||
::base::debug::Alias(var_name)
|
||||
|
||||
#define DEBUG_ALIAS_FOR_WCHARCSTR(var_name, c_str, array_size) \
|
||||
wchar_t var_name[array_size] = {}; \
|
||||
::base::wcslcpy(var_name, (c_str), std::size(var_name)); \
|
||||
#define DEBUG_ALIAS_FOR_WCHARCSTR(var_name, c_str, array_size) \
|
||||
wchar_t var_name[array_size] = {}; \
|
||||
UNSAFE_TODO(::base::wcslcpy(var_name, (c_str), std::size(var_name))); \
|
||||
::base::debug::Alias(var_name)
|
||||
|
||||
// Code folding is a linker optimization whereby the linker identifies functions
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/debug/proc_maps_linux.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/debug/stack_trace.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/files/dir_reader_posix.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/files/file_enumerator.h"
|
||||
|
||||
#include <dirent.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/files/file_util.h"
|
||||
|
||||
#include <dirent.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
// This program measures the time taken to decode the given JSON files (the
|
||||
// command line arguments). It is for manual benchmarking.
|
||||
//
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/linux_util.h"
|
||||
|
||||
#include <dirent.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/memory/aligned_memory.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/memory/madv_free_discardable_memory_allocator_posix.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/memory/madv_free_discardable_memory_posix.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/memory/safety_checks.h"
|
||||
|
||||
#include <new>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/message_loop/message_pump_epoll.h"
|
||||
|
||||
#include <sys/eventfd.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/metrics/field_trial.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/metrics/histogram_samples.h"
|
||||
|
||||
#include <limits>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/metrics/persistent_histogram_storage.h"
|
||||
|
||||
#include <cinttypes>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/metrics/sample_vector.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/metrics/statistics_recorder.h"
|
||||
|
||||
#include <string_view>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#ifndef BASE_NUMERICS_BASIC_OPS_IMPL_H_
|
||||
#define BASE_NUMERICS_BASIC_OPS_IMPL_H_
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/pickle.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
// This file contains internal routines that are called by other files in
|
||||
// base/process/.
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/process/memory.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/process/process_metrics.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/profiler/stack_copier_signal.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/rand_util.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
@ -4,6 +4,11 @@
|
||||
//
|
||||
// This file defines utility functions for working with strings.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#ifndef BASE_STRINGS_STRING_UTIL_H_
|
||||
#define BASE_STRINGS_STRING_UTIL_H_
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#ifndef BASE_STRINGS_STRING_UTIL_POSIX_H_
|
||||
#define BASE_STRINGS_STRING_UTIL_POSIX_H_
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/system/sys_info.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/system/sys_info.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/test/gtest_xml_util.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/test/test_discardable_memory_allocator.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/trace_event/memory_allocator_dump.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/trace_event/process_memory_dump.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/trace_event/trace_event_impl.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/types/fixed_array.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/uuid.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/base/histograms.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/layers/texture_layer.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/metrics/lcd_text_metrics_reporter.h"
|
||||
|
||||
#include "base/functional/function_ref.h"
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/paint/display_item_list.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "cc/paint/paint_op_reader.h"
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/paint/raw_memory_transfer_cache_entry.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/paint/skottie_transfer_cache_entry.h"
|
||||
|
||||
#include <utility>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/scheduler/scheduler.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/test/skia_common.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "cc/trees/layer_tree_host_impl.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/command_line.h"
|
||||
|
@ -1,6 +1,10 @@
|
||||
// Copyright 2019 The Chromium Authors
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/autofill/automated_tests/cache_replayer.h"
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/browser_process_impl.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/browser_switcher/browser_switcher_sitelist.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/chrome_browser_main_posix.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <array>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/devtools/device/android_device_manager.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/devtools/device/usb/android_usb_socket.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/diagnostics/diagnostics_writer.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
|
||||
|
||||
#include <utility>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/enterprise/connectors/analysis/page_print_analysis_request.h"
|
||||
|
||||
#include "base/functional/callback_helpers.h"
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/enterprise/connectors/common.h"
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/enterprise/connectors/connectors_service.h"
|
||||
|
||||
#include <memory>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/enterprise/data_protection/print_utils.h"
|
||||
|
||||
#include <cstring>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/extensions/activity_log/activity_actions.h"
|
||||
|
||||
#include <memory>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
// Defines the Chrome Extensions BrowsingData API functions, which entail
|
||||
// clearing browsing data, and clearing the browser's cache (which, let's be
|
||||
// honest, are the same thing), as specified in the extension API JSON.
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/extensions/api/downloads/downloads_api.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
// Font Settings Extension API implementation.
|
||||
|
||||
#include "chrome/browser/extensions/api/font_settings/font_settings_api.h"
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/extensions/api/image_writer_private/test_utils.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/extensions/api/messaging/native_message_process_host.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.h"
|
||||
|
||||
#include <memory>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/memory/scoped_refptr.h"
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/extensions/extension_management.h"
|
||||
|
||||
#include <memory>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/media/router/discovery/dial/dial_service_impl.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/media/router/discovery/discovery_network_list_wifi.h"
|
||||
|
||||
#include <linux/wireless.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/media/router/providers/cast/cast_activity_manager.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/media/webrtc/native_desktop_media_list.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/media/webrtc/webrtc_rtp_dump_writer.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/media/webrtc/webrtc_rtp_dump_writer.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.h"
|
||||
|
||||
#include <string>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/new_tab_page/promos/promo_service.h"
|
||||
|
||||
#include <utility>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include <pwd.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/printing/pdf_nup_converter_client.h"
|
||||
|
||||
#include <optional>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/printing/pwg_raster_converter.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/resource_coordinator/session_restore_policy.h"
|
||||
|
||||
#include <math.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/resource_coordinator/tab_manager.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "base/run_loop.h"
|
||||
#include "base/test/scoped_feature_list.h"
|
||||
#include "chrome/browser/profiles/profile.h"
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/safe_browsing/cloud_content_scanning/connector_data_pipe_getter.h"
|
||||
|
||||
#include <memory>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/safe_browsing/cloud_content_scanning/multipart_uploader.h"
|
||||
|
||||
#include <memory>
|
||||
|
@ -1,6 +1,10 @@
|
||||
// Copyright 2024 The Chromium Authors
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/safe_browsing/cloud_content_scanning/resumable_uploader.h"
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/screen_ai/public/optical_character_recognizer.h"
|
||||
|
||||
#include "base/files/file_util.h"
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/sessions/session_restore_delegate.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef UNSAFE_BUFFERS_BUILD
|
||||
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
|
||||
#pragma allow_unsafe_libc_calls
|
||||
#endif
|
||||
|
||||
#include "chrome/browser/signin/bound_session_credentials/bound_session_registration_fetcher_impl.h"
|
||||
|
||||
#include <string_view>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user