/
flint.lnt
159 lines (128 loc) · 4.99 KB
/
flint.lnt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
// -w4
///////////////////////////////////////////////////////////////////////
// deprecated
-esym(765, WS_Reserve)
-esym(714, WS_Reserve)
-esym(759, WS_Reserve)
///////////////////////////////////////////////////////////////////////
-printf(3, VSL)
-printf(2, http_PrintfHeader)
-printf(2, VSB_printf)
-esym(759, VDI_AH_*) // could be moved from header to module
-esym(765, VDI_AH_*) // could be made static
-esym(755, vct_*)
-esym(759, vpf_*)
-esym(765, vpf_*)
-esym(714, vpf_*)
-esym(759, H_*)
-esym(765, H_*)
-esym(757, VSL_*)
-esym(765, VLU_*)
-esym(759, VLU_*)
-esym(714, VLU_*)
-esym(765, VSS_*)
-esym(759, VSS_*)
-esym(755, VSL_*)
-esym(765, VSL_*)
-esym(759, VSL_*)
-esym(765, CLI_*)
-esym(759, CLI_*)
-esym(755, CLI_*)
-"esym(793,significant characters in an external identifier)"
// XXX: I think this is a flexelint bug:
-esym(522, vbit_clr)
// Stuff used by compiled VCL
-esym(757, VRT_*)
-esym(759, VRT_*)
-esym(765, VRT_*)
-esym(714, VRT_*)
-esym(755, VRT_*)
-esym(765, vrt_magic_string_end)
-esym(759, vrt_magic_string_end)
-esym(768, vrt_ref::*)
-esym(768, vcf_return::name)
-esym(768, VCL_conf::*)
// FLINT Bug20090910_838
-efunc(838, VRT_purge)
// Stuff in VMODs which is used through dl*(3) functions
-esym(754, Vmod_*_Func::*)
-esym(714, Vmod_*_Data)
-esym(765, Vmod_*_Data)
//-sem (pthread_mutex_lock, thread_lock)
-sem (pthread_mutex_trylock, thread_lock)
-sem (VBE_DropRefLocked, thread_unlock)
-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 '<<'
-emacro(835, BANS_FLAG_REQ) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, HTTPH) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, HTTPH_R_PASS) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, SMP_SC_LOADED) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, SMP_SEG_MUSTLOAD) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, DELAYED_EFFECT) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, HDF_FILTER) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, O_LARGEFILE) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(845, HTTPH) // Info 845: The left argument to operator '&&' is certain to be 0
-esym(773, PCRE_DATE) // Expression-like macro '___' not parenthesized
//////////////
// Macros defined differently in each VMOD
// -esym(767, VPFX) // macro '___' was defined differently in another module
// -esym(767, VARGS) // macro '___' was defined differently in another module
// -esym(767, VENUM) // macro '___' was defined differently in another module
//////////////
-efunc(1791, pdiff) // return last on line
//////////////
-efile(451, "vcc_types.h") // No include guard
-efile(451, "symbol_kind.h") // No include guard
-efile(451, "config.h") // No include guard
//////////////
-sem(vca_thread_acct, thread_mono)
-sem(vca_epoll_thread, thread_mono)
-sem(vca_kqueue_thread, thread_mono)
-sem(vca_poll_thread, thread_mono)
-sem(vca_ports_thread, thread_mono)
-sem(exp_timer, thread_mono)
-sem(wrk_herdtimer_thread, thread_mono)
-sem(wrk_herder_thread, thread_mono)
//////////////
// 436 = Apparent preprocessor directive in invocation of macro '___'
-emacro(436, SLTM)
//////////////
+libh netinet/tcp.h
-elib(46)
//////////////
+libh mgt_event.h
-sem(VRT_AddDirector, custodial(3))
-sem(VCP_New, custodial(3))
-sem(vsmw_addseg, custodial(2))
-sem(BAN_Free, custodial(1))
-sem(EXP_Inject, custodial(1))
-sem(HSH_Insert, custodial(3))
-sem(WS_Init, custodial(2))
-sem(http_Setup, custodial(2))
-sem(vfp_esi_end, custodial(2))
-sem(vdi_dns_cache_list_add, custodial(3))
-e717 // do ... while(1) ...
-e850 // for loop index variable '___' whose type category is '___'
// is modified in body of the for loop that began at '___'
-esym(765, vcc_ProcAction) // could be made static
-esym(759, vcc_ProcAction) // could be moved to module
-esym(714, vcc_ProcAction) // not ref.
-emacro(506, isnan, isfinite) // constant value boolean
-emacro(736, isfinite) // loss of precision
-emacro(774, HTTPH) // always false
-emacro(527, ARGV_ERR) // unreachable
-e788 // enum value not used in defaulted switch
// cache.h
-emacro(506, INCOMPL) // Constant value Boolean
-esym(525, __builtin_frame_address) // Not defined
-esym(525, __builtin_return_address) // Not defined
// cache_vcl.c
-esym(528, vcl_call_method) // Not referenced
-e441 // for clause irregularity: loop variable '___' not found in 2nd for expression
// Review all below this line ///////////////////////////////////////////////
-e713 // 42 Loss of precision (___) (___ to ___)
-e840 // Use of nul character in a string literal (see: vcc_if.c)
-e663 // Suspicious array to pointer conversion
-e778 // Constant expression evaluates to 0 in operation '___'
-e736 // Loss of precision (___) (___ bits to ___ bits)
-e655 // bitwise compatible enums