atom feed7 messages in ru.sysoev.nginxRe: Clang scan-build output
FromSent OnAttachments
Akins, BrianNov 4, 2009 2:58 pm 
Cliff WellsNov 4, 2009 4:51 pm 
张立冰Nov 4, 2009 5:27 pm 
Maxim DouninNov 4, 2009 6:08 pm 
Maxim DouninNov 4, 2009 6:12 pm 
Adrian Perez de CastroNov 5, 2009 2:41 am 
Akins, BrianNov 5, 2009 10:40 am 
Subject:Re: Clang scan-build output
From:Cliff Wells (cli@develix.com)
Date:Nov 4, 2009 4:51:27 pm
List:ru.sysoev.nginx

That's a pretty cool tool. Surprising though that some really simplistic stuff generated false positives, e.g.:

"Value stored to 'qclass' is never read"

qtype = (an->type_hi << 8) + an->type_lo; qclass = (an->class_hi << 8) + an->class_lo; len = (an->len_hi << 8) + an->len_lo; ngx_log_debug3(NGX_LOG_DEBUG_CORE, r->log, 0, "resolver qt:%ui cl:%ui len:%uz", qtype, qclass, len);

Cliff

On Wed, 2009-11-04 at 14:59 -0800, Akins, Brian wrote:

Output from the clang static analyzer ( http://clang-analyzer.llvm.org/ ) for nginx-0.7.63

http://www.akins.org/scan-build-2009-11-04-1/index.html