Skip to content

The use of static analyser #5

@ptim0626

Description

@ptim0626

As a first step, we should enable the flag -fanalyzer, possibly with -O0 to have some static analysis from gcc itself. This requires gcc version >= 10.

In addition to the above, we could also use cppcheck, which seems to be a popular choice among developers.

Static analysis should be available as a Make target, where memory check is also performed by valgrind.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions