git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git and the Clang Static Analyzer
@ 2017-05-07 11:50 Дилян Палаузов
  2017-05-08 11:12 ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: Дилян Палаузов @ 2017-05-07 11:50 UTC (permalink / raw)
  To: git

Hello,

I compiled git/master using the clang 4.0 static analyzer with

scan-build ./configure --with-libpcre --with-openssl
scan-build make

and here are the results:
   https://mail.aegee.org/dpa/scan-build-git-4fa66c85f11/

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 false-positives.  However in case of e.g. builtin/notes.c:1018, 
builtin/reset.c:294 or fast-import.c:2057 I consider the hints as justified.

This is for your information,  I wouldn't have a problem if you ignore 
the analysis.  When you are worried about javascript, use lynx.

Regards
   Дилян

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-08 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-07 11:50 git and the Clang Static Analyzer Дилян Палаузов
2017-05-08 11:12 ` Johannes Schindelin
2017-05-08 16:45   ` Lars Schneider
2017-05-08 19:26   ` Дилян Палаузов
2017-05-08 20:18     ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).