Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha
Commits
2bb6f5e8
Commit
2bb6f5e8
authored
Jul 12, 2021
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bld: add flawfinder check on tools
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
2fbe1809
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
.gitlab-ci.yml
.gitlab-ci.yml
+7
-0
CHANGELOG.rst
CHANGELOG.rst
+5
-0
Makefile
software/tools/Makefile
+4
-0
No files found.
.gitlab-ci.yml
View file @
2bb6f5e8
...
@@ -26,6 +26,13 @@ cppcheck:
...
@@ -26,6 +26,13 @@ cppcheck:
script
:
script
:
-
make -C software cppcheck
-
make -C software cppcheck
flawfinder
:
stage
:
static-analysis
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/static-analysis:latest
script
:
-
make -C software/tools flawfinder
documentation
:
documentation
:
stage
:
build
stage
:
build
image
:
image
:
...
...
CHANGELOG.rst
View file @
2bb6f5e8
...
@@ -11,6 +11,11 @@ Changelog
...
@@ -11,6 +11,11 @@ Changelog
Added
Added
-----
-----
- hdl: configurable auto byte swap in hardware, useful for SVEC to reduce software complexity
- hdl: configurable auto byte swap in hardware, useful for SVEC to reduce software complexity
- bld: flawfinder check on software tools
Fixed
-----
- security fixes detected by flawfinder
5.0.4 - 2021-07-09
5.0.4 - 2021-07-09
==================
==================
...
...
software/tools/Makefile
View file @
2bb6f5e8
...
@@ -19,6 +19,7 @@ CFLAGS += -I../kernel -Wno-trigraphs -Wall -Werror -ggdb -O2 $(EXTRACFLAGS)
...
@@ -19,6 +19,7 @@ CFLAGS += -I../kernel -Wno-trigraphs -Wall -Werror -ggdb -O2 $(EXTRACFLAGS)
CFLAGS
+=
-DGIT_VERSION
=
"
\"
$(GIT_VERSION)
\"
"
CFLAGS
+=
-DGIT_VERSION
=
"
\"
$(GIT_VERSION)
\"
"
CPPCHECK
?=
cppcheck
CPPCHECK
?=
cppcheck
FLAWFINDER
?=
flawfinder
CC
?=
$(CROSS_COMPILE)
gcc
CC
?=
$(CROSS_COMPILE)
gcc
progs
:=
fau-trg-config
progs
:=
fau-trg-config
...
@@ -45,3 +46,6 @@ install:
...
@@ -45,3 +46,6 @@ install:
cppcheck
:
cppcheck
:
$(CPPCHECK)
-q
-I
.
--suppress
=
missingIncludeSystem
--enable
=
all
*
.c
*
.h
--error-exitcode
=
1
$(CPPCHECK)
-q
-I
.
--suppress
=
missingIncludeSystem
--enable
=
all
*
.c
*
.h
--error-exitcode
=
1
flawfinder
:
$(FLAWFINDER)
-SQDC
--error-level
=
4 .
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment