[PATCH] D120489: [analyzer] Done some changes to detect Uninitialized read by the char array manipulation functions

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 01:55:19 PST 2022


steakhal added a comment.

You should copy the `mempcpy14`, `mempcpy15` test cases into a separate file, and cut the `top`; while disabling this `alpha.unix.cstring.UninitializedRead` checker in the existing test file(s) and explicitly enable in the new separated file.
This way it wouldn't interfere with the existing test cases, since it would halt the analyzer (emits a sink node).
After that, you could land it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120489



More information about the cfe-commits mailing list