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
447a8d2a
Commit
447a8d2a
authored
Sep 21, 2023
by
Vaibhav Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software: kernel: Add flawfinder
Signed-off-by:
Vaibhav Gupta
<
vaibhav.gupta@cern.ch
>
parent
9a190948
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
Makefile
software/Makefile
+5
-3
Makefile
software/kernel/Makefile
+3
-0
No files found.
.gitlab-ci.yml
View file @
447a8d2a
...
...
@@ -26,7 +26,7 @@ flawfinder:
image
:
name
:
gitlab-registry.cern.ch/coht/common-containers/static-analysis:latest
script
:
-
make -C software
/tools
flawfinder
-
make -C software flawfinder
kernel_build_cc7
:
extends
:
.kernel_build_cc7
...
...
software/Makefile
View file @
447a8d2a
...
...
@@ -8,7 +8,9 @@
all
:
kernel tools
DIRS
=
kernel tools
C_DIRS
=
kernel tools
DIRS
=
$(C_DIRS)
.PHONY
:
all clean modules install modules_install cppcheck $(DIRS)
...
...
@@ -25,5 +27,5 @@ modules_install: TARGET = modules_install
$(DIRS)
:
$(MAKE)
-C
$@
$(TARGET)
cppcheck
:
@
$(MAKE)
-C
tools
$@
cppcheck
flawfinder
:
for
d
in
$(DIRS)
;
do
$(MAKE)
-C
$$
d
$@
||
exit
1
;
done
software/kernel/Makefile
View file @
447a8d2a
...
...
@@ -67,4 +67,7 @@ clean modules help modules_install coccicheck:
cppcheck
:
$(CPPCHECK)
-q
-I
.
-I
$(ZIO_ABS)
/include
-I
$(FMC_BUS_ABS)
/
--suppress
=
missingIncludeSystem
--enable
=
all
*
.c
*
.h
flawfinder
:
$(FLAWFINDER)
-SQDC
--error-level
=
3 .
.PHONY
:
all coccicheck clean cppcheck modules modules_install
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