Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-objvar
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
varnish-objvar
Commits
9d83a7f0
Unverified
Commit
9d83a7f0
authored
Oct 13, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flexelint config & script
parent
21b1839d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
0 deletions
+46
-0
.gitignore
.gitignore
+3
-0
flint.lnt
src/flint.lnt
+22
-0
flint.sh
src/flint.sh
+21
-0
No files found.
.gitignore
View file @
9d83a7f0
...
...
@@ -41,3 +41,6 @@ vmod_*.rst
*_options.rst
*_synopsis.rst
vmod_*.3
# flint.sh
_.fl
src/flint.lnt
0 → 100644
View file @
9d83a7f0
-efile(537, tbl*)
-efile(451, tbl*)
-ecall(835, dlopen)
-e801 // goto
-ecall(840, VSB_bcat)
-e793 // significant characters in an external identifier
-efunc(818, *_lookup)
// we can not change external interfaces / code
-efile(766, *_if.c)
// must always be included to ensure sanity
-efile(766, config.h)
-esym(773, CP_*)
-esym(818, args) // args parameter const
-esym(818, v) // v parameter const
// TODO / not understood
-e723 // can't limit to DEF_* ?
-e755 // can't limit to DEFDOC*
src/flint.sh
0 → 100755
View file @
9d83a7f0
#!/bin/sh
if
[
"x
${
VARNISHSRC
}
"
=
"x"
]
;
then
echo
>
&2 VARNISHSRC needs to point to varnish-cache sources
exit
9
fi
# need to look at vmods individually, otherwise we get error 18
# all over the place
for
f
in
constant globalvar taskvar topvar
;
do
flexelint
\
-D__FLEXELINT__
\
${
VARNISHSRC
}
/flint.lnt
\
flint.lnt
\
-zero
\
-I
..
\
-I
${
VARNISHSRC
}
/include
\
-I
${
VARNISHSRC
}
/bin/varnishd
\
vcc_
${
f
}
_if.c vmod_
${
f
}
.c
2>&1
done
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