Clang scan-build output
张立冰
zhang.libing at gmail.com
Thu Nov 5 04:27:38 MSK 2009
pretty tool.
On Thu, Nov 5, 2009 at 8:51 AM, Cliff Wells <cliff at develix.com> wrote:
> 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
> >
> >
> --
> http://www.google.com/search?q=vonage+sucks
>
>
>
--
The time you enjoy wasting is not wasted time!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091105/39985343/attachment.html>
More information about the nginx
mailing list