Revert "Revert "[analyzer] Fix taint rule of fgets and setproctitle_init""
authorBalazs Benics <balazs.benics@sigmatechnology.se>
Wed, 23 Feb 2022 11:55:31 +0000 (12:55 +0100)
committerBalazs Benics <balazs.benics@sigmatechnology.se>
Wed, 23 Feb 2022 11:55:31 +0000 (12:55 +0100)
commit7036413dc21254c8bf2f4ac62a3b087bc4b94ce8
tree74df3e44c9d368b9a1755bedd702d37cd9e4460e
parenta848a5cf2f2f2f8a621bdc5a12e0fe49dc743176
Revert "Revert "[analyzer] Fix taint rule of fgets and setproctitle_init""

This reverts commit 2acead35c1289d2b3593a992b0639ca6427e481f.

Let's try `REQUIRES: asserts`.
clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
clang/test/Analysis/taint-checker-callback-order-has-definition.c
clang/test/Analysis/taint-checker-callback-order-without-definition.c
clang/test/Analysis/taint-generic.c