[PATCH] D42645: New simple Checker for mmap calls

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 25 07:58:54 PST 2019


alexfh added inline comments.
Herald added a subscriber: jdoerfert.
Herald added a project: LLVM.


================
Comment at: cfe/trunk/lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp:31-33
+  static int ProtWrite;
+  static int ProtExec;
+  static int ProtRead;
----------------
Can these be non-static members instead? These are one of just a few uses of static fields in Clang.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D42645/new/

https://reviews.llvm.org/D42645





More information about the cfe-commits mailing list