[PATCH] [analyzer][Review request] Better modelling of memcpy by the CStringChecker (PR16731)

Антон Ярцев anton.yartsev at gmail.com
Tue Nov 5 19:29:51 PST 2013


  Added more tests based on the examples from our correspondence "new/delete checker LLVM false positives". Also included the test similar to one from PR16731.

Hi jordan_rose, zaks.anna,

http://llvm-reviews.chandlerc.com/D1887

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1887?vs=4803&id=5370#toc

Files:
  include/clang/StaticAnalyzer/Core/Checker.h
  include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
  include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
  lib/StaticAnalyzer/Checkers/CStringChecker.cpp
  test/Analysis/Inputs/system-header-simulator.h
  test/Analysis/malloc.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1887.2.patch
Type: text/x-patch
Size: 11525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131105/c33d3d7b/attachment.bin>


More information about the cfe-commits mailing list