Re: [PATCH] D20863: [analyzer] Fix for the strdup family in unix.malloc checker

2016-06-06 Thread Artem Dergachev via cfe-commits
NoQ added a comment. This patch is doing a very good thing - modeling contents of the copied string as a lazy compound value of the original string. For that, i guess it's worth adding some tests (ExprInspection-based(?)) that show that, say, first few characters of the copied string are same a

[PATCH] D20863: [analyzer] Fix for the strdup family in unix.malloc checker

2016-06-01 Thread Balogh , Ádám via cfe-commits
baloghadamsoftware created this revision. baloghadamsoftware added a reviewer: dcoughlin. baloghadamsoftware added subscribers: cfe-commits, xazax.hun, o.gyorgy. The strdup family was only partially handled in the original checker. As a consequence it did not recognize leaks where a variable whic