[PATCH] D51531: [analyzer][UninitializedObjectChecker] Uninit regions are only reported once

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 16 20:36:10 PST 2018


Szelethus added a comment.
Herald added subscribers: gamesh411, baloghadamsoftware.

In https://reviews.llvm.org/D51531#1296256, @NoQ wrote:

> In https://reviews.llvm.org/D51531#1286110, @Szelethus wrote:
>
> > Oh, and the reason why I think it would add a lot of complication: since only `ExprEngine` is avaible in the `checkEndAnalysis` callback, which, from what I can see, doesn't have a handly `isDead` method, so I'm not even sure how I'd implement it.
>
>
> Mm, what do you need `isDead` for? Everything is dead at the end of the analysis, you need to clean up everything, otherwise you get use-after-free(?)


Oh, right. Silly me :)


https://reviews.llvm.org/D51531





More information about the cfe-commits mailing list