llvm-project/compiler-rt
Roy Sundahl 03aa02adb0 [fuzzer] Use puts() rather than printf() in CopyFileToErr()
CopyFileToErr() uses Printf("%s", ...) which fails with a negative size on
files >2Gb (Its path is through var-args wrappers to an unnecessary "%s"
expansion and subject to int overflows) Using puts() in place of printf()
bypasses this path and writes the string directly to stderr. This avoids the
present loss of data when a crashed worker has generated >2Gb of output.

rdar://99384640

Reviewed By: yln

Differential Revision: https://reviews.llvm.org/D146189
2023-03-17 09:08:40 -07:00
..
cmake [compiler-rt][builtins] Support builtins for armv8m.base 2023-03-14 17:20:54 -07:00
docs [lit] Document the 'target=<triple>' feature 2022-12-21 06:10:48 -08:00
include [memprof] Record BuildIDs in the raw profile. 2023-03-14 18:16:38 +00:00
lib [fuzzer] Use puts() rather than printf() in CopyFileToErr() 2023-03-17 09:08:40 -07:00
test [fuzzer] Use puts() rather than printf() in CopyFileToErr() 2023-03-17 09:08:40 -07:00
tools
unittests
utils
www [compiler-rt] Point UndefinedBehaviorSanitizer link to its own page. 2023-03-15 17:05:57 +01:00
.clang-tidy
.gitignore
CMakeLists.txt Revert "[CMake] Bumps minimum version to 3.20.0." 2023-03-04 18:28:13 +01:00
CODE_OWNERS.TXT [docs] Update compiler-rt/CODE_OWNERS.TXT 2023-02-24 15:07:09 -08:00
CREDITS.TXT
LICENSE.TXT
README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================