[PATCH] D127306: [analyzer] Treat system globals as mutable if they are not const
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 14 09:31:47 PDT 2022
steakhal updated this revision to Diff 436821.
steakhal marked an inline comment as done.
steakhal added a comment.
Use `getOriginRegion()`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127306/new/
https://reviews.llvm.org/D127306
Files:
clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
clang/lib/StaticAnalyzer/Core/MemRegion.cpp
clang/test/Analysis/Inputs/some_system_globals.h
clang/test/Analysis/Inputs/some_user_globals.h
clang/test/Analysis/globals-are-not-always-immutable.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127306.436821.patch
Type: text/x-patch
Size: 6037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220614/05828be1/attachment.bin>
More information about the cfe-commits
mailing list