[PATCH] D27012: [asan] Provide bug descriptions for all reports (not just ErrorGeneric)

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 11:04:27 PST 2016


filcab added a comment.

In https://reviews.llvm.org/D27012#604558, @rnk wrote:

> Isn't this somewhat redundant with the buffer in ScarinessScoreBase?
>
>   struct ScarinessScoreBase {
>     ...
>     int score;
>     char descr[1024];
>   };


I was going to ask the same. And we have more information in the scariness score (e.g: in the param-overlap, and generic errors).
Maybe converting all the scattered `bug_descr` to use the scariness score would be better?


https://reviews.llvm.org/D27012





More information about the llvm-commits mailing list