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
bee9d898
Commit
bee9d898
authored
Aug 28, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Teach FlexeLint a bit about ws-emu
parent
7d2d86dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
cache_ws_emu.c
bin/varnishd/cache/cache_ws_emu.c
+4
-0
flint.lnt
bin/varnishd/flint.lnt
+6
-0
No files found.
bin/varnishd/cache/cache_ws_emu.c
View file @
bee9d898
...
@@ -31,6 +31,8 @@
...
@@ -31,6 +31,8 @@
#include "config.h"
#include "config.h"
#ifdef ENABLE_WORKSPACE_EMULATOR
#if HAVE_SANITIZER_ASAN_INTERFACE_H
#if HAVE_SANITIZER_ASAN_INTERFACE_H
# include <sanitizer/asan_interface.h>
# include <sanitizer/asan_interface.h>
#endif
#endif
...
@@ -722,3 +724,5 @@ WS_Panic(struct vsb *vsb, const struct ws *ws)
...
@@ -722,3 +724,5 @@ WS_Panic(struct vsb *vsb, const struct ws *ws)
VSB_indent
(
vsb
,
-
2
);
VSB_indent
(
vsb
,
-
2
);
VSB_cat
(
vsb
,
"},
\n
"
);
VSB_cat
(
vsb
,
"},
\n
"
);
}
}
#endif
/* ENABLE_WORKSPACE_EMULATOR */
bin/varnishd/flint.lnt
View file @
bee9d898
...
@@ -63,6 +63,12 @@
...
@@ -63,6 +63,12 @@
-esym(714, Vmod_*_Data)
-esym(714, Vmod_*_Data)
-esym(765, Vmod_*_Data)
-esym(765, Vmod_*_Data)
-esym(755, PAN_dump_once) // global macro not referenced
-esym(755, PAN_dump_once_oneline) // global macro not referenced
-esym(714, WS_Dump) // Info 714: sym not referenced
-esym(759, WS_Dump) // Info 759: header declaration could be moved to module
-esym(765, WS_Dump) // Info 765: external could be static
//-sem (pthread_mutex_lock, thread_lock)
//-sem (pthread_mutex_lock, thread_lock)
-sem (pthread_mutex_trylock, thread_lock)
-sem (pthread_mutex_trylock, thread_lock)
...
...
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