[PATCH] D14779: Adding checker to detect excess padding in records

Ben Craig via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 20 12:47:03 PST 2015


bcraig updated the summary for this revision.
bcraig updated this revision to Diff 40818.
bcraig added a comment.

Adding a test to validate non-trivial message components.
Adding recommendations to the diagnostic on how to fix and / or suppress the generated report.
Changing default padding allowance to reduce initial static analysis shock.
An analysis of llvm+clang+compiler-rt now only generates 16 excessive padding reports in index.html.


http://reviews.llvm.org/D14779

Files:
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
  test/Analysis/padding_c.c
  test/Analysis/padding_cpp.cpp
  test/Analysis/padding_message.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14779.40818.patch
Type: text/x-patch
Size: 29422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151120/6da90477/attachment-0001.bin>


More information about the cfe-commits mailing list