Bug 12579 - turn on GCC static code analysis for the distribution
Summary: turn on GCC static code analysis for the distribution
Status: NEW
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all All
: - Unknown - Security
Assignee: Jonatan Schlag
QA Contact: Michael Tremer
URL:
Keywords: Security
Depends on:
Blocks:
 
Reported: 2021-03-01 20:12 UTC by Peter Müller
Modified: 2021-03-02 13:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Müller 2021-03-01 20:12:14 UTC
https://wiki.ipfire.org/devel/telco/2021-03-01
Comment 1 Michael Tremer 2021-03-02 13:23:27 UTC
This is a not a feature that can be enabled when production-level code is being generated since it slows down compiling a lot and there isn't much we can do about those issues anyways.

It would be useful to enable -fanalyzer with --enable-debug when a compiler is detected that supports this flag.

> https://developers.redhat.com/blog/2020/03/26/static-analysis-in-gcc-10/