[PATCH] D25727: [analyzer] Handle case of undefined values in performTrivialCopy

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 07:26:27 PDT 2016


NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.

This seems correct. Loading from a garbage pointer should be modeled as garbage, and/or caught by a checker. `performTrivialCopy` is a high-level thingy that should be able to deal with any `SVal` input.

The checker's warning message looks really weird, hard to figure out where's the call here, s/Function/Operator/ could have been an improvement, but that's another story.


Repository:
  rL LLVM

https://reviews.llvm.org/D25727





More information about the cfe-commits mailing list