[all-commits] [llvm/llvm-project] ffe704: [clang][analyzer] StreamChecker: Model getc, vfsca...
Alejandro Álvarez Ayllón via All-commits
all-commits at lists.llvm.org
Wed Feb 28 03:23:09 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ffe7049b543adb9739261d28a60d4a47a00aa2e0
https://github.com/llvm/llvm-project/commit/ffe7049b543adb9739261d28a60d4a47a00aa2e0
Author: Alejandro Álvarez Ayllón <alejandro.alvarez at sonarsource.com>
Date: 2024-02-28 (Wed, 28 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
M clang/test/Analysis/Inputs/system-header-simulator-for-valist.h
M clang/test/Analysis/Inputs/system-header-simulator.h
M clang/test/Analysis/stream-invalidate.c
M clang/test/Analysis/stream.c
Log Message:
-----------
[clang][analyzer] StreamChecker: Model getc, vfscanf, putc, vfprintf (#82476)
Model `getc` and `putc` as equivalent to `fgetc` and `fputc` respectively.
Model `vfscanf` and `vfprintf` as `fscanf` and `fprintf`, except that
`vfscanf` can not invalidate the parameters due to the indirection via a
`va_list`. Nevertheless, we can still track EOF and errors as for `fscanf`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list