Postgresql and Clang Static Analyzer

From: Дилян Палаузов <dpa-postgres(at)aegee(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Postgresql and Clang Static Analyzer
Date: 2017-05-05 21:36:13
Message-ID: ec053d24-6471-13c2-d773-995dcc5747a6@aegee.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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
Дилян

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2017-05-05 21:40:11 Re: Postgresql and Clang Static Analyzer
Previous Message David G. Johnston 2017-05-05 20:57:40 Re: psql history and "-- lines"