[PATCH] D67480: [Clang][Checkers] Add 'freopen' support to SimpleStreamChecker.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 23:51:43 PDT 2019


balazske created this revision.
Herald added subscribers: cfe-commits, gamesh411, Szelethus, dkrupp.
Herald added a project: clang.

The checker now recognizes 'freopen' as file opening function.
Added support for binding the return value to the passed stream.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67480

Files:
  clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
  clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
  clang/test/Analysis/simple-stream-checks.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67480.219850.patch
Type: text/x-patch
Size: 5607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190912/780d62bc/attachment-0001.bin>


More information about the cfe-commits mailing list