[analyzer] DynamicSize: Store the dynamic size
authorCharusso <dabis.csaba98@gmail.com>
Mon, 5 Apr 2021 17:04:30 +0000 (19:04 +0200)
committerCharusso <dabis.csaba98@gmail.com>
Mon, 5 Apr 2021 17:04:53 +0000 (19:04 +0200)
commitdf64f471d1e26fc1e9e2f9cdcfc77c063fe55b56
tree913bf1b49761238e208869d4be7c7eb8c664e497
parent7416e8a8431a0f2711be9d16e111d1781b74df96
[analyzer] DynamicSize: Store the dynamic size

This patch introduces a way to store the size.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D69726
clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicSize.h
clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
clang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp
clang/lib/StaticAnalyzer/Core/DynamicSize.cpp
clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
clang/lib/StaticAnalyzer/Core/MemRegion.cpp
clang/test/Analysis/explain-svals.cpp