[PATCH] D118987: [analyzer] Add failing test case demonstrating buggy taint propagation

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 24 00:13:58 PST 2022


MaskRay added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:782
+        if (PropDstArgs.contains(I)) {
+          LLVM_DEBUG(llvm::dbgs() << "PreCall<"; Call.dump(llvm::dbgs());
+                     llvm::dbgs()
----------------
There was a -Wunused-lambda-capture in `-DLLVM_ENABLE_ASSERTIONS=off` builds. Fixed by 7fd60ee6e0a87957a718297a4a42d9881fc561e3


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118987



More information about the cfe-commits mailing list