Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
f183416a
Commit
f183416a
authored
Apr 26, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flexelint (neuter thread/lock diags centrally)
parent
95b8eccd
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
25 deletions
+9
-25
flint.lnt
bin/varnishd/flint.lnt
+0
-10
flint.lnt
bin/varnishlog/flint.lnt
+0
-4
flint.lnt
bin/varnishstat/flint.lnt
+0
-4
flint.lnt
bin/varnishtest/flint.lnt
+0
-3
flint.lnt
bin/varnishtop/flint.lnt
+0
-4
flint.lnt
flint.lnt
+9
-0
No files found.
bin/varnishd/flint.lnt
View file @
f183416a
...
...
@@ -55,10 +55,6 @@
//-sem (pthread_mutex_lock, thread_lock)
-sem (pthread_mutex_trylock, thread_lock)
-sem (VBE_DropRefLocked, thread_unlock)
-e454 // mutex not released (...ReleaseLocked)
-e457 // unprotected access
-esym(458, params) // unlocked access
-emacro(835, HCB_BIT_NODE) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, VBC_STATE_AVAIL) // Info 835: A zero has been given as left argument to operator '<<'
...
...
@@ -80,8 +76,6 @@
-efile(451, "symbol_kind.h") // No include guard
-efile(451, "config.h") // No include guard
//////////////
// -e458 // unprotected access
// -e456 // merged locking paths
-sem(vca_thread_acct, thread_mono)
-sem(vca_epoll_thread, thread_mono)
-sem(vca_kqueue_thread, thread_mono)
...
...
@@ -90,8 +84,6 @@
-sem(exp_timer, thread_mono)
-sem(wrk_herdtimer_thread, thread_mono)
-sem(wrk_herder_thread, thread_mono)
-esym(458, heritage)
-esym(458, name_key)
//////////////
// 436 = Apparent preprocessor directive in invocation of macro '___'
...
...
@@ -113,8 +105,6 @@
-sem(vdi_dns_cache_list_add, custodial(3))
-e455 // thread lock
-e458 // unprotected read
-e717 // do ... while(1) ...
-e850 // for loop index variable '___' whose type category is '___'
// is modified in body of the for loop that began at '___'
...
...
bin/varnishlog/flint.lnt
View file @
f183416a
...
...
@@ -5,10 +5,6 @@
-efile(451, "varnishlog_options.h")
-e457 // unprotected write access
-e459 // unprotected access
-e458 // unprotected access
-e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long)
...
...
bin/varnishstat/flint.lnt
View file @
f183416a
...
...
@@ -10,10 +10,6 @@
-e763 // Redundant declaration for symbol '...' previously declared
-e457 // unprotected write access
-e459 // unprotected access
-e458 // unprotected access
-e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long)
...
...
bin/varnishtest/flint.lnt
View file @
f183416a
...
...
@@ -21,9 +21,6 @@
-e763 // Redundant declaration for symbol '...' previously declared
-e457 // unprotected write access
-e459 // unprotected access
-e458 // unprotected access
//
-e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
...
...
bin/varnishtop/flint.lnt
View file @
f183416a
...
...
@@ -4,10 +4,6 @@
-e763 // Redundant declaration for symbol '...' previously declared
-e457 // unprotected write access
-e459 // unprotected access
-e458 // unprotected access
-e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long)
...
...
flint.lnt
View file @
f183416a
...
...
@@ -16,6 +16,15 @@
+libh(../../config.h)
///////////////////////////////////////////////////////////////////////
// Thread/locking, too many false positives still
-e454 // A thread mutex has been locked but not unlocked___
-e455 // A thread mutex that had not been locked is being unlocked
-e456 // Two execution paths are being combined with different mutex lock states
-e457 // unprotected write access
-e458 // unprotected access
-e459 // unprotected access
///////////////////////////////////////////////////////////////////////
// General stylistic issues
-e641 // Converting enum '...' to int
...
...
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