Re: [BUGS] Postgresql and Clang Static Analyzer - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: [BUGS] Postgresql and Clang Static Analyzer
Date
Msg-id CAKFQuwZgxhbs1y7FC3UG1r+FRUNDf8bdVMZCPCwK2adGKc89uQ@mail.gmail.com
Whole thread Raw
In response to [BUGS] Postgresql and Clang Static Analyzer  (Дилян Палаузов<dpa-postgres@aegee.org>)
List pgsql-bugs
On Fri, May 5, 2017 at 2:36 PM, Дилян Палаузов <dpa-postgres@aegee.org> wrote:
Hello,

I compiled postgresql with

PYTHON=/usr/local/bin/python3 scan-build ./configure --with-perl --with-tcl --with-gssapi --with-ldap --with-openssl --with-libxml --with-libxslt --with-systemd --with-python

scan-build make

and here are the results:
  https://mail.aegee.org/dpa/scan-build-pg-b3a47cdfd6/


Please note, that the information is only about what gets actually compiled, code disabled by #if .. #endif is not considered (e.g. when determining whether a variable assignment is useless).  There are probably some false-positives.

I used scan-build/clang 4.0.

Enjoy

​We much prefer if emails to bugs are self-contained and not pointing to some random web URL which cautious people aren't going to follow.  It would also be helpful to actually state in your own words what you believe the bug is/what the correct behavior should be.

​David J.

pgsql-bugs by date:

Previous
From: Дилян Палаузов
Date:
Subject: [BUGS] Postgresql and Clang Static Analyzer
Next
From: Bill Parker
Date:
Subject: Re: [BUGS] Postgresql and Clang Static Analyzer