cppcheck-py 2.9__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cppcheck/__init__.py +55 -0
- cppcheck/cppcheck-2.9.tar.gz +0 -0
- cppcheck/data/addons/__init__.py +0 -0
- cppcheck/data/addons/cppcheck.py +39 -0
- cppcheck/data/addons/cppcheckdata.py +1529 -0
- cppcheck/data/addons/findcasts.py +33 -0
- cppcheck/data/addons/misc.py +163 -0
- cppcheck/data/addons/misra.py +4728 -0
- cppcheck/data/addons/misra_9.py +513 -0
- cppcheck/data/addons/naming.py +91 -0
- cppcheck/data/addons/namingng.py +253 -0
- cppcheck/data/addons/runaddon.py +12 -0
- cppcheck/data/addons/threadsafety.py +39 -0
- cppcheck/data/addons/y2038.py +252 -0
- cppcheck/data/cfg/avr.cfg +431 -0
- cppcheck/data/cfg/bento4.cfg +142 -0
- cppcheck/data/cfg/boost.cfg +1268 -0
- cppcheck/data/cfg/bsd.cfg +546 -0
- cppcheck/data/cfg/cairo.cfg +88 -0
- cppcheck/data/cfg/cppcheck-lib.cfg +72 -0
- cppcheck/data/cfg/cppunit.cfg +48 -0
- cppcheck/data/cfg/daca.cfg +31 -0
- cppcheck/data/cfg/dpdk.cfg +11 -0
- cppcheck/data/cfg/embedded_sql.cfg +4 -0
- cppcheck/data/cfg/emscripten.cfg +7 -0
- cppcheck/data/cfg/ginac.cfg +12848 -0
- cppcheck/data/cfg/gnu.cfg +1626 -0
- cppcheck/data/cfg/googletest.cfg +60 -0
- cppcheck/data/cfg/gtk.cfg +20584 -0
- cppcheck/data/cfg/icu.cfg +6 -0
- cppcheck/data/cfg/kde.cfg +51 -0
- cppcheck/data/cfg/libcerror.cfg +128 -0
- cppcheck/data/cfg/libcurl.cfg +487 -0
- cppcheck/data/cfg/libsigc++.cfg +36 -0
- cppcheck/data/cfg/lua.cfg +316 -0
- cppcheck/data/cfg/mfc.cfg +256 -0
- cppcheck/data/cfg/microsoft_atl.cfg +40 -0
- cppcheck/data/cfg/microsoft_sal.cfg +491 -0
- cppcheck/data/cfg/microsoft_unittest.cfg +20 -0
- cppcheck/data/cfg/motif.cfg +318 -0
- cppcheck/data/cfg/nspr.cfg +38 -0
- cppcheck/data/cfg/ntl.cfg +6907 -0
- cppcheck/data/cfg/opencv2.cfg +132 -0
- cppcheck/data/cfg/opengl.cfg +580 -0
- cppcheck/data/cfg/openmp.cfg +157 -0
- cppcheck/data/cfg/openssl.cfg +174 -0
- cppcheck/data/cfg/pcre.cfg +165 -0
- cppcheck/data/cfg/posix.cfg +6252 -0
- cppcheck/data/cfg/python.cfg +674 -0
- cppcheck/data/cfg/qt.cfg +5255 -0
- cppcheck/data/cfg/ruby.cfg +142 -0
- cppcheck/data/cfg/sdl.cfg +354 -0
- cppcheck/data/cfg/sfml.cfg +301 -0
- cppcheck/data/cfg/sqlite3.cfg +1527 -0
- cppcheck/data/cfg/std.cfg +8716 -0
- cppcheck/data/cfg/tinyxml2.cfg +56 -0
- cppcheck/data/cfg/vcl.cfg +4 -0
- cppcheck/data/cfg/windows.cfg +17941 -0
- cppcheck/data/cfg/wxsqlite3.cfg +1955 -0
- cppcheck/data/cfg/wxsvg.cfg +16905 -0
- cppcheck/data/cfg/wxwidgets.cfg +16464 -0
- cppcheck/data/cfg/zlib.cfg +1450 -0
- cppcheck/data/cppcheck-htmlreport +986 -0
- cppcheck/data/cppcheck.exe +0 -0
- cppcheck/data/platforms/aix_ppc64.xml +17 -0
- cppcheck/data/platforms/arm32-wchar_t2.xml +17 -0
- cppcheck/data/platforms/arm32-wchar_t4.xml +17 -0
- cppcheck/data/platforms/arm64-wchar_t2.xml +17 -0
- cppcheck/data/platforms/arm64-wchar_t4.xml +17 -0
- cppcheck/data/platforms/avr8.xml +18 -0
- cppcheck/data/platforms/cray_sv1.xml +17 -0
- cppcheck/data/platforms/elbrus-e1cp.xml +18 -0
- cppcheck/data/platforms/mips32.xml +18 -0
- cppcheck/data/platforms/msp430_eabi_large_datamodel.xml +17 -0
- cppcheck/data/platforms/pic16.xml +18 -0
- cppcheck/data/platforms/pic8-enhanced.xml +18 -0
- cppcheck/data/platforms/pic8.xml +18 -0
- cppcheck/data/platforms/unix32-unsigned.xml +17 -0
- cppcheck/data/platforms/unix64-unsigned.xml +17 -0
- cppcheck_py-2.9.dist-info/METADATA +76 -0
- cppcheck_py-2.9.dist-info/RECORD +84 -0
- cppcheck_py-2.9.dist-info/WHEEL +5 -0
- cppcheck_py-2.9.dist-info/entry_points.txt +4 -0
- cppcheck_py-2.9.dist-info/licenses/LICENSE.md +191 -0
|
@@ -0,0 +1,1626 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<def format="2">
|
|
3
|
+
<memory>
|
|
4
|
+
<dealloc>free</dealloc>
|
|
5
|
+
<alloc init="true">get_current_dir_name</alloc>
|
|
6
|
+
</memory>
|
|
7
|
+
<memory>
|
|
8
|
+
<alloc init="true" arg="1">asprintf</alloc>
|
|
9
|
+
<dealloc>free</dealloc>
|
|
10
|
+
</memory>
|
|
11
|
+
<memory>
|
|
12
|
+
<alloc init="false" buffer-size="malloc">xmalloc</alloc>
|
|
13
|
+
<alloc init="true" buffer-size="calloc">xcalloc</alloc>
|
|
14
|
+
<alloc init="true" buffer-size="strdup">xstrdup</alloc>
|
|
15
|
+
<realloc init="false" buffer-size="malloc:2">xrealloc</realloc>
|
|
16
|
+
<dealloc>free</dealloc>
|
|
17
|
+
<dealloc>xfree</dealloc>
|
|
18
|
+
</memory>
|
|
19
|
+
<!-- https://linux.die.net/man/3/backtrace -->
|
|
20
|
+
<memory>
|
|
21
|
+
<alloc init="true">backtrace_symbols</alloc>
|
|
22
|
+
<dealloc>free</dealloc>
|
|
23
|
+
</memory>
|
|
24
|
+
<memory>
|
|
25
|
+
<alloc init="false" buffer-size="malloc">pvalloc</alloc>
|
|
26
|
+
<dealloc>free</dealloc>
|
|
27
|
+
</memory>
|
|
28
|
+
<function name="bswap_16">
|
|
29
|
+
<noreturn>false</noreturn>
|
|
30
|
+
<use-retval/>
|
|
31
|
+
<returnValue type="uint16_t">((arg1 & 0xff00u) >> 8) | ((arg1 & 0x00ffu) << 8)</returnValue>
|
|
32
|
+
<leak-ignore/>
|
|
33
|
+
<const/>
|
|
34
|
+
<arg nr="1" direction="in">
|
|
35
|
+
<not-uninit/>
|
|
36
|
+
<not-bool/>
|
|
37
|
+
</arg>
|
|
38
|
+
</function>
|
|
39
|
+
<define name="__bswap_constant_16(x)" value="bswap_16(x)"/>
|
|
40
|
+
<define name="__builtin_bswap16(x)" value="bswap_16(x)"/>
|
|
41
|
+
<define name="__bswap_16(x)" value="bswap_16(x)"/>
|
|
42
|
+
<function name="bswap_32">
|
|
43
|
+
<noreturn>false</noreturn>
|
|
44
|
+
<use-retval/>
|
|
45
|
+
<returnValue type="uint32_t">((arg1 & 0xff000000ul) >> 24) | ((arg1 & 0x00ff0000ul) >> 8) | ((arg1 & 0x0000ff00ul) << 8) | ((arg1 & 0x000000fful) << 24)</returnValue>
|
|
46
|
+
<leak-ignore/>
|
|
47
|
+
<const/>
|
|
48
|
+
<arg nr="1" direction="in">
|
|
49
|
+
<not-uninit/>
|
|
50
|
+
<not-bool/>
|
|
51
|
+
</arg>
|
|
52
|
+
</function>
|
|
53
|
+
<define name="__bswap_constant_32(x)" value="bswap_32(x)"/>
|
|
54
|
+
<define name="__builtin_bswap32(x)" value="bswap_32(x)"/>
|
|
55
|
+
<define name="__bswap_32(x)" value="bswap_32(x)"/>
|
|
56
|
+
<function name="bswap_64">
|
|
57
|
+
<noreturn>false</noreturn>
|
|
58
|
+
<use-retval/>
|
|
59
|
+
<returnValue type="uint64_t">((arg1 & 0xff00000000000000ull) >> 56) | ((arg1 & 0x00ff000000000000ull) >> 40) | ((arg1 & 0x0000ff0000000000ull) >> 24) | ((arg1 & 0x000000ff00000000ull) >> 8) | ((arg1 & 0x00000000ff000000ull) << 8) | ((arg1 & 0x0000000000ff0000ull) << 24) | ((arg1 & 0x000000000000ff00ull) << 40) | ((arg1 & 0x00000000000000ffull) << 56)</returnValue>
|
|
60
|
+
<leak-ignore/>
|
|
61
|
+
<const/>
|
|
62
|
+
<arg nr="1" direction="in">
|
|
63
|
+
<not-uninit/>
|
|
64
|
+
<not-bool/>
|
|
65
|
+
</arg>
|
|
66
|
+
</function>
|
|
67
|
+
<define name="__bswap_constant_64(x)" value="bswap_64(x)"/>
|
|
68
|
+
<define name="__builtin_bswap64(x)" value="bswap_64(x)"/>
|
|
69
|
+
<define name="__bswap_64(x)" value="bswap_64(x)"/>
|
|
70
|
+
<!-- https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html -->
|
|
71
|
+
<define name="__builtin_alloca(size)" value="alloca(size)"/>
|
|
72
|
+
<define name="__builtin_memcpy(dest, source, size)" value="memcpy(dest, source, size)"/>
|
|
73
|
+
<define name="__builtin_signbit(value)" value="signbit(value)"/>
|
|
74
|
+
<define name="__builtin_offsetof(st, m)" value="offsetof(st, m)"/>
|
|
75
|
+
<define name="__builtin_nan(str)" value="nan(str)"/>
|
|
76
|
+
<define name="__builtin_nanf(str)" value="nanf(str)"/>
|
|
77
|
+
<define name="__builtin_nanl(str)" value="nanl(str)"/>
|
|
78
|
+
<define name="__builtin_signbit(value)" value="signbit(value)"/>
|
|
79
|
+
<define name="__extension__" value=""/>
|
|
80
|
+
<define name="__typeof__(T)" value="typeof(T)"/>
|
|
81
|
+
<define name="__glibc_unlikely(x)" value="(x)"/>
|
|
82
|
+
<define name="__glibc_likely(x)" value="(x)"/>
|
|
83
|
+
<!-- void *__builtin_alloca (size_t size) -->
|
|
84
|
+
<!-- alloca() is often defined as __builtin_alloca() so the define above does not work always -->
|
|
85
|
+
<!-- void *alloca(size_t size); -->
|
|
86
|
+
<function name="__builtin_alloca">
|
|
87
|
+
<use-retval/>
|
|
88
|
+
<returnValue type="void *"/>
|
|
89
|
+
<noreturn>false</noreturn>
|
|
90
|
+
<arg nr="1" direction="in">
|
|
91
|
+
<not-uninit/>
|
|
92
|
+
<valid>0:</valid>
|
|
93
|
+
</arg>
|
|
94
|
+
</function>
|
|
95
|
+
<!-- https://man7.org/linux/man-pages/man2/semop.2.html -->
|
|
96
|
+
<!-- int semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout); -->
|
|
97
|
+
<function name="semtimedop">
|
|
98
|
+
<noreturn>false</noreturn>
|
|
99
|
+
<returnValue type="int"/>
|
|
100
|
+
<use-retval/>
|
|
101
|
+
<leak-ignore/>
|
|
102
|
+
<arg nr="1" direction="in">
|
|
103
|
+
<not-uninit/>
|
|
104
|
+
<not-bool/>
|
|
105
|
+
<valid>0:</valid>
|
|
106
|
+
</arg>
|
|
107
|
+
<arg nr="2" direction="out">
|
|
108
|
+
<not-null/>
|
|
109
|
+
<not-uninit/>
|
|
110
|
+
<not-bool/>
|
|
111
|
+
</arg>
|
|
112
|
+
<arg nr="3" direction="in">
|
|
113
|
+
<not-uninit/>
|
|
114
|
+
<not-bool/>
|
|
115
|
+
<valid>0:</valid>
|
|
116
|
+
</arg>
|
|
117
|
+
<arg nr="4" direction="in">
|
|
118
|
+
<!-- If the timeout argument is NULL, then semtimedop() behaves exactly like semop() -->
|
|
119
|
+
<not-uninit/>
|
|
120
|
+
<not-bool/>
|
|
121
|
+
</arg>
|
|
122
|
+
</function>
|
|
123
|
+
<!-- void * __builtin_assume_aligned (const void *exp, size_t align, ...) -->
|
|
124
|
+
<!-- This function can have either two or three arguments, if it has three, the third argument should have integer type. -->
|
|
125
|
+
<function name="__builtin_assume_aligned">
|
|
126
|
+
<noreturn>false</noreturn>
|
|
127
|
+
<returnValue type="void *">arg1</returnValue>
|
|
128
|
+
<use-retval/>
|
|
129
|
+
<leak-ignore/>
|
|
130
|
+
<arg nr="1" direction="in"/>
|
|
131
|
+
<arg nr="2" direction="in">
|
|
132
|
+
<not-uninit/>
|
|
133
|
+
<not-bool/>
|
|
134
|
+
</arg>
|
|
135
|
+
<arg nr="3" direction="in" default="0">
|
|
136
|
+
<not-uninit/>
|
|
137
|
+
<not-bool/>
|
|
138
|
+
</arg>
|
|
139
|
+
</function>
|
|
140
|
+
<!-- void * __builtin_memcpy(void *dest, const void *source, size_t size);-->
|
|
141
|
+
<!-- memcpy() is sometimes defined as __builtin_memcpy() so the define above does not work -->
|
|
142
|
+
<function name="__builtin_memcpy">
|
|
143
|
+
<noreturn>false</noreturn>
|
|
144
|
+
<returnValue type="void *"/>
|
|
145
|
+
<leak-ignore/>
|
|
146
|
+
<not-overlapping-data ptr1-arg="1" ptr2-arg="2" size-arg="3"/>
|
|
147
|
+
<arg nr="1" direction="out">
|
|
148
|
+
<not-null/>
|
|
149
|
+
<minsize type="argvalue" arg="3"/>
|
|
150
|
+
</arg>
|
|
151
|
+
<arg nr="2" direction="in">
|
|
152
|
+
<not-null/>
|
|
153
|
+
<not-uninit/>
|
|
154
|
+
<minsize type="argvalue" arg="3"/>
|
|
155
|
+
</arg>
|
|
156
|
+
<arg nr="3" direction="in">
|
|
157
|
+
<not-uninit/>
|
|
158
|
+
<not-bool/>
|
|
159
|
+
<valid>0:</valid>
|
|
160
|
+
</arg>
|
|
161
|
+
</function>
|
|
162
|
+
<!-- void __builtin_prefetch (const void *addr, ...) -->
|
|
163
|
+
<function name="__builtin_prefetch">
|
|
164
|
+
<noreturn>false</noreturn>
|
|
165
|
+
<returnValue type="void"/>
|
|
166
|
+
<leak-ignore/>
|
|
167
|
+
<arg nr="1" direction="in"/>
|
|
168
|
+
<arg nr="variadic" direction="in">
|
|
169
|
+
<not-uninit/>
|
|
170
|
+
</arg>
|
|
171
|
+
</function>
|
|
172
|
+
<!-- https://man7.org/linux/man-pages/man3/getenv.3.html -->
|
|
173
|
+
<!-- char * secure_getenv(const char *name); -->
|
|
174
|
+
<function name="secure_getenv">
|
|
175
|
+
<use-retval/>
|
|
176
|
+
<returnValue type="char *"/>
|
|
177
|
+
<noreturn>false</noreturn>
|
|
178
|
+
<leak-ignore/>
|
|
179
|
+
<arg nr="1" direction="in">
|
|
180
|
+
<not-null/>
|
|
181
|
+
<not-uninit/>
|
|
182
|
+
<strz/>
|
|
183
|
+
</arg>
|
|
184
|
+
</function>
|
|
185
|
+
<!-- https://gcc.gnu.org/onlinedocs/gcc-6.2.0/gcc/Alignment.html -->
|
|
186
|
+
<!-- __alignof__ is used like sizeof -->
|
|
187
|
+
<!-- Declaration for this GNU compiler extension could look like this: -->
|
|
188
|
+
<!-- size_t __alignof__(type); -->
|
|
189
|
+
<!-- size_t __alignof__(expression); -->
|
|
190
|
+
<function name="__alignof__">
|
|
191
|
+
<noreturn>false</noreturn>
|
|
192
|
+
<use-retval/>
|
|
193
|
+
<leak-ignore/>
|
|
194
|
+
<arg nr="1" direction="in"/>
|
|
195
|
+
</function>
|
|
196
|
+
<!-- int timerisset(struct timeval *tvp); -->
|
|
197
|
+
<function name="timerisset">
|
|
198
|
+
<noreturn>false</noreturn>
|
|
199
|
+
<leak-ignore/>
|
|
200
|
+
<use-retval/>
|
|
201
|
+
<returnValue type="int"/>
|
|
202
|
+
<arg nr="1" direction="in">
|
|
203
|
+
<not-uninit/>
|
|
204
|
+
<not-null/>
|
|
205
|
+
</arg>
|
|
206
|
+
</function>
|
|
207
|
+
<!-- void timerclear(struct timeval *tvp); -->
|
|
208
|
+
<function name="timerclear">
|
|
209
|
+
<noreturn>false</noreturn>
|
|
210
|
+
<leak-ignore/>
|
|
211
|
+
<returnValue type="void"/>
|
|
212
|
+
<arg nr="1" direction="inout">
|
|
213
|
+
<not-null/>
|
|
214
|
+
</arg>
|
|
215
|
+
</function>
|
|
216
|
+
<!-- https://man7.org/linux/man-pages/man3/getpw.3.html -->
|
|
217
|
+
<!-- int getpw(uid_t uid, char *buf); -->
|
|
218
|
+
<function name="getpw">
|
|
219
|
+
<returnValue type="int"/>
|
|
220
|
+
<noreturn>false</noreturn>
|
|
221
|
+
<arg nr="1" direction="in">
|
|
222
|
+
<not-uninit/>
|
|
223
|
+
<not-bool/>
|
|
224
|
+
</arg>
|
|
225
|
+
<arg nr="2" direction="out">
|
|
226
|
+
<not-null/>
|
|
227
|
+
<not-bool/>
|
|
228
|
+
</arg>
|
|
229
|
+
<warn severity="style" reason="Obsolescent" alternatives="getpwnam"/>
|
|
230
|
+
</function>
|
|
231
|
+
<!-- void timeradd(struct timeval *a, struct timeval *b, struct timeval *res);-->
|
|
232
|
+
<!-- void timersub(struct timeval *a, struct timeval *b, struct timeval *res);-->
|
|
233
|
+
<function name="timeradd,timersub">
|
|
234
|
+
<noreturn>false</noreturn>
|
|
235
|
+
<leak-ignore/>
|
|
236
|
+
<returnValue type="void"/>
|
|
237
|
+
<arg nr="1" direction="in">
|
|
238
|
+
<not-uninit/>
|
|
239
|
+
<not-null/>
|
|
240
|
+
</arg>
|
|
241
|
+
<arg nr="2" direction="in">
|
|
242
|
+
<not-uninit/>
|
|
243
|
+
<not-null/>
|
|
244
|
+
</arg>
|
|
245
|
+
<arg nr="3" direction="out">
|
|
246
|
+
<not-null/>
|
|
247
|
+
</arg>
|
|
248
|
+
</function>
|
|
249
|
+
<!-- int timercmp(struct timeval *a, struct timeval *b, CMP)-->
|
|
250
|
+
<define name="timercmp(a,b,CMP)" value="(((a)->tv_sec == (b)->tv_sec) ? ((a)->tv_usec CMP (b)->tv_usec) : ((a)->tv_sec CMP (b)->tv_sec))"/>
|
|
251
|
+
<!-- int __builtin_types_compatible_p (type1, type2) -->
|
|
252
|
+
<function name="__builtin_types_compatible_p">
|
|
253
|
+
<noreturn>false</noreturn>
|
|
254
|
+
<returnValue type="int"/>
|
|
255
|
+
<use-retval/>
|
|
256
|
+
<leak-ignore/>
|
|
257
|
+
<arg nr="1"/>
|
|
258
|
+
<arg nr="2"/>
|
|
259
|
+
</function>
|
|
260
|
+
<!-- void __builtin_trap (void) -->
|
|
261
|
+
<function name="__builtin_trap">
|
|
262
|
+
<noreturn>true</noreturn>
|
|
263
|
+
</function>
|
|
264
|
+
<!-- int __builtin_popcount (unsigned int x) -->
|
|
265
|
+
<!-- int __builtin_parity (unsigned int x) -->
|
|
266
|
+
<!-- int __builtin_ffs (int x) -->
|
|
267
|
+
<!-- int __builtin_ffsl (long) -->
|
|
268
|
+
<!-- int __builtin_ffsll (long long) -->
|
|
269
|
+
<!-- int __builtin_clz (unsigned int x) -->
|
|
270
|
+
<function name="__builtin_popcount,__builtin_parity,__builtin_ffs,__builtin_ffsl,__builtin_ffsll,__builtin_clz">
|
|
271
|
+
<noreturn>false</noreturn>
|
|
272
|
+
<returnValue type="int"/>
|
|
273
|
+
<use-retval/>
|
|
274
|
+
<arg nr="1" direction="in">
|
|
275
|
+
<not-uninit/>
|
|
276
|
+
<not-bool/>
|
|
277
|
+
</arg>
|
|
278
|
+
</function>
|
|
279
|
+
<!-- https://man7.org/linux/man-pages/man3/mempcpy.3.html-->
|
|
280
|
+
<!-- wchar_t *wmempcpy(wchar_t *restrict dest, const wchar_t *restrict src, size_t n);-->
|
|
281
|
+
<function name="wmempcpy">
|
|
282
|
+
<returnValue type="wchar_t *"/>
|
|
283
|
+
<noreturn>false</noreturn>
|
|
284
|
+
<leak-ignore/>
|
|
285
|
+
<not-overlapping-data ptr1-arg="1" ptr2-arg="2" size-arg="3"/>
|
|
286
|
+
<arg nr="1" direction="out">
|
|
287
|
+
<not-null/>
|
|
288
|
+
<minsize type="argvalue" arg="3"/>
|
|
289
|
+
</arg>
|
|
290
|
+
<arg nr="2" direction="in">
|
|
291
|
+
<not-null/>
|
|
292
|
+
<not-uninit/>
|
|
293
|
+
<minsize type="argvalue" arg="3"/>
|
|
294
|
+
</arg>
|
|
295
|
+
<arg nr="3" direction="in">
|
|
296
|
+
<not-uninit/>
|
|
297
|
+
<not-bool/>
|
|
298
|
+
<valid>0:</valid>
|
|
299
|
+
</arg>
|
|
300
|
+
</function>
|
|
301
|
+
<!-- https://man7.org/linux/man-pages/man3/mempcpy.3.html-->
|
|
302
|
+
<!-- void *mempcpy(void *restrict dest, const void *restrict src, size_t n);-->
|
|
303
|
+
<function name="mempcpy">
|
|
304
|
+
<returnValue type="void *"/>
|
|
305
|
+
<noreturn>false</noreturn>
|
|
306
|
+
<leak-ignore/>
|
|
307
|
+
<not-overlapping-data ptr1-arg="1" ptr2-arg="2" size-arg="3"/>
|
|
308
|
+
<arg nr="1" direction="out">
|
|
309
|
+
<not-null/>
|
|
310
|
+
<minsize type="argvalue" arg="3"/>
|
|
311
|
+
</arg>
|
|
312
|
+
<arg nr="2" direction="in">
|
|
313
|
+
<not-null/>
|
|
314
|
+
<not-uninit/>
|
|
315
|
+
<minsize type="argvalue" arg="3"/>
|
|
316
|
+
</arg>
|
|
317
|
+
<arg nr="3" direction="in">
|
|
318
|
+
<not-uninit/>
|
|
319
|
+
<not-bool/>
|
|
320
|
+
<valid>0:</valid>
|
|
321
|
+
</arg>
|
|
322
|
+
</function>
|
|
323
|
+
<!-- void xexit(int status); -->
|
|
324
|
+
<function name="xexit">
|
|
325
|
+
<noreturn>true</noreturn>
|
|
326
|
+
<arg nr="1" direction="in">
|
|
327
|
+
<not-uninit/>
|
|
328
|
+
<not-bool/>
|
|
329
|
+
</arg>
|
|
330
|
+
</function>
|
|
331
|
+
<!-- void * xmalloc(size_t size); -->
|
|
332
|
+
<function name="xmalloc">
|
|
333
|
+
<use-retval/>
|
|
334
|
+
<returnValue type="void *"/>
|
|
335
|
+
<arg nr="1" direction="in">
|
|
336
|
+
<not-uninit/>
|
|
337
|
+
<valid>0:</valid>
|
|
338
|
+
<not-bool/>
|
|
339
|
+
</arg>
|
|
340
|
+
</function>
|
|
341
|
+
<!-- char *xstrdup(const char *s); -->
|
|
342
|
+
<function name="xstrdup">
|
|
343
|
+
<returnValue type="char *"/>
|
|
344
|
+
<use-retval/>
|
|
345
|
+
<arg nr="1" direction="in">
|
|
346
|
+
<not-null/>
|
|
347
|
+
<not-uninit/>
|
|
348
|
+
<not-bool/>
|
|
349
|
+
<strz/>
|
|
350
|
+
</arg>
|
|
351
|
+
</function>
|
|
352
|
+
<!-- void xfree(void *block); -->
|
|
353
|
+
<function name="xfree">
|
|
354
|
+
<returnValue type="void"/>
|
|
355
|
+
<arg nr="1">
|
|
356
|
+
<not-uninit/>
|
|
357
|
+
</arg>
|
|
358
|
+
</function>
|
|
359
|
+
<!-- ssize_t splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags); -->
|
|
360
|
+
<function name="splice">
|
|
361
|
+
<leak-ignore/>
|
|
362
|
+
<returnValue type="ssize_t"/>
|
|
363
|
+
<noreturn>false</noreturn>
|
|
364
|
+
<arg nr="1" direction="in">
|
|
365
|
+
<not-uninit/>
|
|
366
|
+
<not-bool/>
|
|
367
|
+
<valid>0:</valid>
|
|
368
|
+
</arg>
|
|
369
|
+
<arg nr="2" direction="inout"/>
|
|
370
|
+
<arg nr="3" direction="in">
|
|
371
|
+
<not-uninit/>
|
|
372
|
+
<not-bool/>
|
|
373
|
+
<valid>0:</valid>
|
|
374
|
+
</arg>
|
|
375
|
+
<arg nr="4" direction="inout"/>
|
|
376
|
+
<arg nr="5" direction="in">
|
|
377
|
+
<not-uninit/>
|
|
378
|
+
<not-bool/>
|
|
379
|
+
<valid>1:</valid>
|
|
380
|
+
</arg>
|
|
381
|
+
<arg nr="6" direction="in">
|
|
382
|
+
<not-uninit/>
|
|
383
|
+
</arg>
|
|
384
|
+
</function>
|
|
385
|
+
<!-- ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags); -->
|
|
386
|
+
<function name="tee">
|
|
387
|
+
<returnValue type="ssize_t"/>
|
|
388
|
+
<noreturn>false</noreturn>
|
|
389
|
+
<leak-ignore/>
|
|
390
|
+
<arg nr="1" direction="in">
|
|
391
|
+
<not-uninit/>
|
|
392
|
+
<not-bool/>
|
|
393
|
+
<valid>0:</valid>
|
|
394
|
+
</arg>
|
|
395
|
+
<arg nr="2" direction="in">
|
|
396
|
+
<not-uninit/>
|
|
397
|
+
<not-bool/>
|
|
398
|
+
<valid>0:</valid>
|
|
399
|
+
</arg>
|
|
400
|
+
<arg nr="3" direction="in">
|
|
401
|
+
<not-uninit/>
|
|
402
|
+
<not-bool/>
|
|
403
|
+
<valid>1:</valid>
|
|
404
|
+
</arg>
|
|
405
|
+
<arg nr="4" direction="in">
|
|
406
|
+
<not-uninit/>
|
|
407
|
+
</arg>
|
|
408
|
+
</function>
|
|
409
|
+
<!-- int pipe2(int pipefd[2],int flags); -->
|
|
410
|
+
<function name="pipe2">
|
|
411
|
+
<returnValue type="int"/>
|
|
412
|
+
<noreturn>false</noreturn>
|
|
413
|
+
<use-retval/>
|
|
414
|
+
<arg nr="1" direction="out">
|
|
415
|
+
<not-null/>
|
|
416
|
+
<not-bool/>
|
|
417
|
+
<minsize type="value" value="2" baseType="int"/>
|
|
418
|
+
</arg>
|
|
419
|
+
<arg nr="2" direction="in">
|
|
420
|
+
<not-uninit/>
|
|
421
|
+
</arg>
|
|
422
|
+
</function>
|
|
423
|
+
<!-- void * xcalloc(size_t nitems, size_t size); -->
|
|
424
|
+
<function name="xcalloc">
|
|
425
|
+
<use-retval/>
|
|
426
|
+
<returnValue type="void *"/>
|
|
427
|
+
<arg nr="1" direction="in">
|
|
428
|
+
<not-uninit/>
|
|
429
|
+
<valid>1:</valid>
|
|
430
|
+
</arg>
|
|
431
|
+
<arg nr="2" direction="in">
|
|
432
|
+
<not-uninit/>
|
|
433
|
+
<valid>0:</valid>
|
|
434
|
+
<not-bool/>
|
|
435
|
+
</arg>
|
|
436
|
+
</function>
|
|
437
|
+
<!-- void * xrealloc(void *block, size_t newsize); -->
|
|
438
|
+
<function name="xrealloc">
|
|
439
|
+
<use-retval/>
|
|
440
|
+
<returnValue type="void *"/>
|
|
441
|
+
<arg nr="1">
|
|
442
|
+
<not-uninit/>
|
|
443
|
+
</arg>
|
|
444
|
+
<arg nr="2" direction="in">
|
|
445
|
+
<not-uninit/>
|
|
446
|
+
<valid>0:</valid>
|
|
447
|
+
<not-bool/>
|
|
448
|
+
</arg>
|
|
449
|
+
</function>
|
|
450
|
+
<!-- https://linux.die.net/man/3/pvalloc -->
|
|
451
|
+
<!-- void *pvalloc(size_t size); -->
|
|
452
|
+
<function name="pvalloc">
|
|
453
|
+
<use-retval/>
|
|
454
|
+
<returnValue type="void *"/>
|
|
455
|
+
<noreturn>false</noreturn>
|
|
456
|
+
<arg nr="1" direction="in">
|
|
457
|
+
<not-uninit/>
|
|
458
|
+
<valid>0:</valid>
|
|
459
|
+
</arg>
|
|
460
|
+
</function>
|
|
461
|
+
<!-- http://man7.org/linux/man-pages/man3/asprintf.3.html -->
|
|
462
|
+
<!-- int asprintf(char **strp, const char *fmt, ...); -->
|
|
463
|
+
<function name="asprintf">
|
|
464
|
+
<returnValue type="int"/>
|
|
465
|
+
<use-retval/>
|
|
466
|
+
<noreturn>false</noreturn>
|
|
467
|
+
<arg nr="1" direction="out">
|
|
468
|
+
<not-null/>
|
|
469
|
+
</arg>
|
|
470
|
+
<formatstr/>
|
|
471
|
+
<arg nr="2" direction="in">
|
|
472
|
+
<formatstr/>
|
|
473
|
+
<not-uninit/>
|
|
474
|
+
<strz/>
|
|
475
|
+
</arg>
|
|
476
|
+
</function>
|
|
477
|
+
<!-- int isascii_l(int c, locale_t locale); -->
|
|
478
|
+
<function name="isascii_l">
|
|
479
|
+
<use-retval/>
|
|
480
|
+
<pure/>
|
|
481
|
+
<returnValue type="int">arg1>=0 && arg1<=0x7F</returnValue>
|
|
482
|
+
<noreturn>false</noreturn>
|
|
483
|
+
<leak-ignore/>
|
|
484
|
+
<arg nr="1" direction="in">
|
|
485
|
+
<not-uninit/>
|
|
486
|
+
<valid>0:255</valid>
|
|
487
|
+
</arg>
|
|
488
|
+
<arg nr="2" direction="in">
|
|
489
|
+
<not-uninit/>
|
|
490
|
+
</arg>
|
|
491
|
+
</function>
|
|
492
|
+
<!-- http://man7.org/linux/man-pages/man3/asprintf.3.html -->
|
|
493
|
+
<!-- int vasprintf(char **strp, const char *fmt, va_list ap); -->
|
|
494
|
+
<function name="vasprintf">
|
|
495
|
+
<returnValue type="int"/>
|
|
496
|
+
<use-retval/>
|
|
497
|
+
<noreturn>false</noreturn>
|
|
498
|
+
<arg nr="1" direction="out">
|
|
499
|
+
<not-null/>
|
|
500
|
+
</arg>
|
|
501
|
+
<arg nr="2" direction="in">
|
|
502
|
+
<formatstr/>
|
|
503
|
+
<not-uninit/>
|
|
504
|
+
<strz/>
|
|
505
|
+
</arg>
|
|
506
|
+
<arg nr="3" direction="in">
|
|
507
|
+
<not-uninit/>
|
|
508
|
+
<not-bool/>
|
|
509
|
+
</arg>
|
|
510
|
+
</function>
|
|
511
|
+
<!-- http://man7.org/linux/man-pages/man2/accept.2.html -->
|
|
512
|
+
<!-- int accept4(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags); -->
|
|
513
|
+
<function name="accept4">
|
|
514
|
+
<returnValue type="int"/>
|
|
515
|
+
<noreturn>false</noreturn>
|
|
516
|
+
<arg nr="1" direction="in">
|
|
517
|
+
<not-uninit/>
|
|
518
|
+
<valid>0:</valid>
|
|
519
|
+
</arg>
|
|
520
|
+
<arg nr="2" direction="out">
|
|
521
|
+
<not-uninit/>
|
|
522
|
+
</arg>
|
|
523
|
+
<arg nr="3" direction="inout">
|
|
524
|
+
<not-uninit/>
|
|
525
|
+
<not-null/>
|
|
526
|
+
</arg>
|
|
527
|
+
<arg nr="4" direction="in">
|
|
528
|
+
<not-uninit/>
|
|
529
|
+
<not-bool/>
|
|
530
|
+
</arg>
|
|
531
|
+
<leak-ignore/>
|
|
532
|
+
</function>
|
|
533
|
+
<!-- https://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html#Getopt-Long-Options -->
|
|
534
|
+
<!-- int getopt_long(int argc, char * const argv[],
|
|
535
|
+
const char *optstring,
|
|
536
|
+
const struct option *longopts, int *longindex); -->
|
|
537
|
+
<function name="getopt_long,getopt_long_only">
|
|
538
|
+
<leak-ignore/>
|
|
539
|
+
<noreturn>false</noreturn>
|
|
540
|
+
<returnValue type="int"/>
|
|
541
|
+
<use-retval/>
|
|
542
|
+
<arg nr="1" direction="in">
|
|
543
|
+
<not-bool/>
|
|
544
|
+
<not-uninit/>
|
|
545
|
+
<valid>0:</valid>
|
|
546
|
+
</arg>
|
|
547
|
+
<arg nr="2" direction="in">
|
|
548
|
+
<not-uninit/>
|
|
549
|
+
<not-null/>
|
|
550
|
+
</arg>
|
|
551
|
+
<arg nr="3" direction="in">
|
|
552
|
+
<not-null/>
|
|
553
|
+
<strz/>
|
|
554
|
+
</arg>
|
|
555
|
+
<arg nr="4" direction="in">
|
|
556
|
+
<not-null/>
|
|
557
|
+
</arg>
|
|
558
|
+
<arg nr="5" direction="out">
|
|
559
|
+
<not-bool/>
|
|
560
|
+
</arg>
|
|
561
|
+
</function>
|
|
562
|
+
<!-- void *__builtin_memset(void *s, int c, size_t n); -->
|
|
563
|
+
<define name="__builtin_memset" value="memset"/>
|
|
564
|
+
<!-- long long atoq(const char *nptr); -->
|
|
565
|
+
<function name="atoq">
|
|
566
|
+
<returnValue type="long long"/>
|
|
567
|
+
<use-retval/>
|
|
568
|
+
<noreturn>false</noreturn>
|
|
569
|
+
<arg nr="1" direction="in">
|
|
570
|
+
<not-null/>
|
|
571
|
+
<not-uninit/>
|
|
572
|
+
<not-bool/>
|
|
573
|
+
<strz/>
|
|
574
|
+
</arg>
|
|
575
|
+
</function>
|
|
576
|
+
<!-- char *strndupa(const char *s, size_t n); -->
|
|
577
|
+
<function name="strndupa">
|
|
578
|
+
<returnValue type="char *"/>
|
|
579
|
+
<use-retval/>
|
|
580
|
+
<noreturn>false</noreturn>
|
|
581
|
+
<arg nr="1" direction="in">
|
|
582
|
+
<not-null/>
|
|
583
|
+
<not-uninit/>
|
|
584
|
+
<strz/>
|
|
585
|
+
</arg>
|
|
586
|
+
<arg nr="2" direction="in">
|
|
587
|
+
<not-uninit/>
|
|
588
|
+
<valid>0:</valid>
|
|
589
|
+
<not-bool/>
|
|
590
|
+
</arg>
|
|
591
|
+
</function>
|
|
592
|
+
<!-- int dup3(int oldfd, int newfd, int flags); -->
|
|
593
|
+
<function name="dup3">
|
|
594
|
+
<noreturn>false</noreturn>
|
|
595
|
+
<returnValue type="int"/>
|
|
596
|
+
<arg nr="1" direction="in">
|
|
597
|
+
<not-bool/>
|
|
598
|
+
<not-uninit/>
|
|
599
|
+
<valid>0:</valid>
|
|
600
|
+
</arg>
|
|
601
|
+
<arg nr="2" direction="in">
|
|
602
|
+
<not-bool/>
|
|
603
|
+
<not-uninit/>
|
|
604
|
+
<valid>0:</valid>
|
|
605
|
+
</arg>
|
|
606
|
+
<arg nr="3" direction="in">
|
|
607
|
+
<not-bool/>
|
|
608
|
+
<not-uninit/>
|
|
609
|
+
</arg>
|
|
610
|
+
</function>
|
|
611
|
+
<!-- http://man7.org/linux/man-pages/man3/strsep.3.html -->
|
|
612
|
+
<!-- char *strsep(char **stringp, const char *delim); -->
|
|
613
|
+
<function name="strsep">
|
|
614
|
+
<use-retval/>
|
|
615
|
+
<returnValue type="char *"/>
|
|
616
|
+
<noreturn>false</noreturn>
|
|
617
|
+
<arg nr="1" direction="inout">
|
|
618
|
+
<not-uninit/>
|
|
619
|
+
</arg>
|
|
620
|
+
<arg nr="2" direction="in">
|
|
621
|
+
<not-uninit/>
|
|
622
|
+
<not-null/>
|
|
623
|
+
<not-bool/>
|
|
624
|
+
<strz/>
|
|
625
|
+
</arg>
|
|
626
|
+
</function>
|
|
627
|
+
<!-- char *strdupa(const char *s); -->
|
|
628
|
+
<function name="strdupa">
|
|
629
|
+
<use-retval/>
|
|
630
|
+
<returnValue type="char *"/>
|
|
631
|
+
<noreturn>false</noreturn>
|
|
632
|
+
<arg nr="1" direction="in">
|
|
633
|
+
<not-null/>
|
|
634
|
+
<not-uninit/>
|
|
635
|
+
<not-bool/>
|
|
636
|
+
<strz/>
|
|
637
|
+
</arg>
|
|
638
|
+
</function>
|
|
639
|
+
<!-- http://www.gnu.org/software/libc/manual/html_node/Backtraces.html -->
|
|
640
|
+
<!-- int backtrace (void **buffer, int size) -->
|
|
641
|
+
<function name="backtrace">
|
|
642
|
+
<returnValue type="int"/>
|
|
643
|
+
<noreturn>false</noreturn>
|
|
644
|
+
<arg nr="1" direction="out">
|
|
645
|
+
<not-null/>
|
|
646
|
+
<minsize type="argvalue" arg="2"/>
|
|
647
|
+
</arg>
|
|
648
|
+
<arg nr="2" direction="in">
|
|
649
|
+
<not-uninit/>
|
|
650
|
+
<not-bool/>
|
|
651
|
+
</arg>
|
|
652
|
+
</function>
|
|
653
|
+
<!-- char ** backtrace_symbols (void *const *buffer, int size) -->
|
|
654
|
+
<function name="backtrace_symbols">
|
|
655
|
+
<returnValue type="char **"/>
|
|
656
|
+
<noreturn>false</noreturn>
|
|
657
|
+
<use-retval/>
|
|
658
|
+
<arg nr="1" direction="in">
|
|
659
|
+
<not-null/>
|
|
660
|
+
<not-uninit/>
|
|
661
|
+
<minsize type="argvalue" arg="2"/>
|
|
662
|
+
</arg>
|
|
663
|
+
<arg nr="2" direction="in">
|
|
664
|
+
<not-uninit/>
|
|
665
|
+
<not-bool/>
|
|
666
|
+
</arg>
|
|
667
|
+
</function>
|
|
668
|
+
<!-- void backtrace_symbols_fd (void *const *buffer, int size, int fd) -->
|
|
669
|
+
<function name="backtrace_symbols_fd">
|
|
670
|
+
<noreturn>false</noreturn>
|
|
671
|
+
<returnValue type="void"/>
|
|
672
|
+
<arg nr="1" direction="in">
|
|
673
|
+
<not-null/>
|
|
674
|
+
<not-uninit/>
|
|
675
|
+
<minsize type="argvalue" arg="2"/>
|
|
676
|
+
</arg>
|
|
677
|
+
<arg nr="2" direction="in">
|
|
678
|
+
<not-uninit/>
|
|
679
|
+
</arg>
|
|
680
|
+
<arg nr="3" direction="in">
|
|
681
|
+
<not-uninit/>
|
|
682
|
+
<not-bool/>
|
|
683
|
+
<valid>0:</valid>
|
|
684
|
+
</arg>
|
|
685
|
+
</function>
|
|
686
|
+
<!-- char *qecvt(long double value, int ndigit, int * decpt, int * sign); -->
|
|
687
|
+
<function name="qecvt">
|
|
688
|
+
<returnValue type="char *"/>
|
|
689
|
+
<noreturn>false</noreturn>
|
|
690
|
+
<arg nr="1" direction="in">
|
|
691
|
+
<not-uninit/>
|
|
692
|
+
</arg>
|
|
693
|
+
<arg nr="2" direction="in">
|
|
694
|
+
<not-uninit/>
|
|
695
|
+
</arg>
|
|
696
|
+
<arg nr="3" direction="out">
|
|
697
|
+
<not-null/>
|
|
698
|
+
</arg>
|
|
699
|
+
<arg nr="4" direction="out">
|
|
700
|
+
<not-null/>
|
|
701
|
+
<not-bool/>
|
|
702
|
+
</arg>
|
|
703
|
+
</function>
|
|
704
|
+
<!-- char *qfcvt(double value, int ndigit, int * decpt, int * sign); -->
|
|
705
|
+
<function name="qfcvt">
|
|
706
|
+
<returnValue type="char *"/>
|
|
707
|
+
<noreturn>false</noreturn>
|
|
708
|
+
<arg nr="1" direction="in">
|
|
709
|
+
<not-uninit/>
|
|
710
|
+
</arg>
|
|
711
|
+
<arg nr="2" direction="in">
|
|
712
|
+
<not-uninit/>
|
|
713
|
+
</arg>
|
|
714
|
+
<arg nr="3" direction="out">
|
|
715
|
+
<not-null/>
|
|
716
|
+
</arg>
|
|
717
|
+
<arg nr="4" direction="out">
|
|
718
|
+
<not-null/>
|
|
719
|
+
<not-bool/>
|
|
720
|
+
</arg>
|
|
721
|
+
</function>
|
|
722
|
+
<!-- char *qgcvt(long double value, int ndigit, char *buf); -->
|
|
723
|
+
<function name="qgcvt">
|
|
724
|
+
<returnValue type="char *"/>
|
|
725
|
+
<noreturn>false</noreturn>
|
|
726
|
+
<arg nr="1" direction="in">
|
|
727
|
+
<not-uninit/>
|
|
728
|
+
</arg>
|
|
729
|
+
<arg nr="2" direction="in">
|
|
730
|
+
<not-uninit/>
|
|
731
|
+
</arg>
|
|
732
|
+
<arg nr="3" direction="out">
|
|
733
|
+
<not-null/>
|
|
734
|
+
<not-bool/>
|
|
735
|
+
</arg>
|
|
736
|
+
</function>
|
|
737
|
+
<!-- https://man7.org/linux/man-pages/man3/getservent_r.3.html -->
|
|
738
|
+
<!-- int getservent_r(struct servent *restrict result_buf, char *restrict buf, size_t buflen, struct servent **restrict result); -->
|
|
739
|
+
<function name="getservent_r">
|
|
740
|
+
<returnValue type="int"/>
|
|
741
|
+
<noreturn>false</noreturn>
|
|
742
|
+
<use-retval/>
|
|
743
|
+
<pure/>
|
|
744
|
+
<arg nr="1" direction="out">
|
|
745
|
+
<not-null/>
|
|
746
|
+
</arg>
|
|
747
|
+
<arg nr="2" direction="in">
|
|
748
|
+
<not-uninit/>
|
|
749
|
+
<not-null/>
|
|
750
|
+
<minsize type="argvalue" arg="3"/>
|
|
751
|
+
</arg>
|
|
752
|
+
<arg nr="3" direction="in">
|
|
753
|
+
<not-uninit/>
|
|
754
|
+
<valid>0:</valid>
|
|
755
|
+
</arg>
|
|
756
|
+
<arg nr="4" direction="in">
|
|
757
|
+
<not-null/>
|
|
758
|
+
<not-uninit/>
|
|
759
|
+
</arg>
|
|
760
|
+
</function>
|
|
761
|
+
<!-- https://linux.die.net/man/3/ecvt_r -->
|
|
762
|
+
<!-- int ecvt_r (double value, int ndigit, int *decpt, int *neg, char *buf, size_t len); -->
|
|
763
|
+
<function name="ecvt_r">
|
|
764
|
+
<returnValue type="int"/>
|
|
765
|
+
<noreturn>false</noreturn>
|
|
766
|
+
<pure/>
|
|
767
|
+
<arg nr="1" direction="in">
|
|
768
|
+
<not-uninit/>
|
|
769
|
+
</arg>
|
|
770
|
+
<arg nr="2" direction="in">
|
|
771
|
+
<not-uninit/>
|
|
772
|
+
</arg>
|
|
773
|
+
<arg nr="3" direction="out">
|
|
774
|
+
<not-null/>
|
|
775
|
+
</arg>
|
|
776
|
+
<arg nr="4" direction="out">
|
|
777
|
+
<not-null/>
|
|
778
|
+
</arg>
|
|
779
|
+
<arg nr="5" direction="out">
|
|
780
|
+
<not-null/>
|
|
781
|
+
<minsize type="argvalue" arg="6"/>
|
|
782
|
+
</arg>
|
|
783
|
+
<arg nr="6" direction="in">
|
|
784
|
+
<not-uninit/>
|
|
785
|
+
<valid>0:</valid>
|
|
786
|
+
<not-bool/>
|
|
787
|
+
</arg>
|
|
788
|
+
<warn severity="style" reason="Obsolescent" alternatives="sprintf"/>
|
|
789
|
+
</function>
|
|
790
|
+
<!-- int fcvt_r (double value, int ndigit, int *decpt, int *neg, char *buf, size_t len); -->
|
|
791
|
+
<function name="fcvt_r">
|
|
792
|
+
<returnValue type="int"/>
|
|
793
|
+
<noreturn>false</noreturn>
|
|
794
|
+
<pure/>
|
|
795
|
+
<arg nr="1" direction="in">
|
|
796
|
+
<not-uninit/>
|
|
797
|
+
</arg>
|
|
798
|
+
<arg nr="2" direction="in">
|
|
799
|
+
<not-uninit/>
|
|
800
|
+
</arg>
|
|
801
|
+
<arg nr="3" direction="out">
|
|
802
|
+
<not-null/>
|
|
803
|
+
</arg>
|
|
804
|
+
<arg nr="4" direction="out">
|
|
805
|
+
<not-null/>
|
|
806
|
+
</arg>
|
|
807
|
+
<arg nr="5" direction="out">
|
|
808
|
+
<not-null/>
|
|
809
|
+
<minsize type="argvalue" arg="6"/>
|
|
810
|
+
</arg>
|
|
811
|
+
<arg nr="6" direction="in">
|
|
812
|
+
<not-uninit/>
|
|
813
|
+
<valid>0:</valid>
|
|
814
|
+
<not-bool/>
|
|
815
|
+
</arg>
|
|
816
|
+
<warn severity="style" reason="Obsolescent" alternatives="sprintf"/>
|
|
817
|
+
</function>
|
|
818
|
+
<!-- int qecvt_r (long double value, int ndigit, int *decpt, int *neg, char *buf, size_t len); -->
|
|
819
|
+
<function name="qecvt_r">
|
|
820
|
+
<returnValue type="int"/>
|
|
821
|
+
<noreturn>false</noreturn>
|
|
822
|
+
<pure/>
|
|
823
|
+
<arg nr="1" direction="in">
|
|
824
|
+
<not-uninit/>
|
|
825
|
+
</arg>
|
|
826
|
+
<arg nr="2" direction="in">
|
|
827
|
+
<not-uninit/>
|
|
828
|
+
</arg>
|
|
829
|
+
<arg nr="3" direction="out">
|
|
830
|
+
<not-null/>
|
|
831
|
+
</arg>
|
|
832
|
+
<arg nr="4" direction="out">
|
|
833
|
+
<not-null/>
|
|
834
|
+
</arg>
|
|
835
|
+
<arg nr="5" direction="out">
|
|
836
|
+
<not-null/>
|
|
837
|
+
<minsize type="argvalue" arg="6"/>
|
|
838
|
+
</arg>
|
|
839
|
+
<arg nr="6" direction="in">
|
|
840
|
+
<not-uninit/>
|
|
841
|
+
<valid>0:</valid>
|
|
842
|
+
<not-bool/>
|
|
843
|
+
</arg>
|
|
844
|
+
<warn severity="style" reason="Obsolescent" alternatives="sprintf"/>
|
|
845
|
+
</function>
|
|
846
|
+
<!-- int qfcvt_r (long double value, int ndigit, int *decpt, int *neg, char *buf, size_t len); -->
|
|
847
|
+
<function name="qfcvt_r">
|
|
848
|
+
<returnValue type="int"/>
|
|
849
|
+
<noreturn>false</noreturn>
|
|
850
|
+
<pure/>
|
|
851
|
+
<arg nr="1" direction="in">
|
|
852
|
+
<not-uninit/>
|
|
853
|
+
</arg>
|
|
854
|
+
<arg nr="2" direction="in">
|
|
855
|
+
<not-uninit/>
|
|
856
|
+
</arg>
|
|
857
|
+
<arg nr="3" direction="out">
|
|
858
|
+
<not-null/>
|
|
859
|
+
</arg>
|
|
860
|
+
<arg nr="4" direction="out">
|
|
861
|
+
<not-null/>
|
|
862
|
+
</arg>
|
|
863
|
+
<arg nr="5" direction="out">
|
|
864
|
+
<not-null/>
|
|
865
|
+
<minsize type="argvalue" arg="6"/>
|
|
866
|
+
</arg>
|
|
867
|
+
<arg nr="6" direction="in">
|
|
868
|
+
<not-uninit/>
|
|
869
|
+
<valid>0:</valid>
|
|
870
|
+
<not-bool/>
|
|
871
|
+
</arg>
|
|
872
|
+
<warn severity="style" reason="Obsolescent" alternatives="sprintf"/>
|
|
873
|
+
</function>
|
|
874
|
+
<!-- https://www.gnu.org/software/gnulib/manual/html_node/c_002dstrcasestr.html -->
|
|
875
|
+
<!-- size_t strcasestr(const char *s1, const char *s2); -->
|
|
876
|
+
<function name="strcasestr">
|
|
877
|
+
<use-retval/>
|
|
878
|
+
<returnValue type="size_t"/>
|
|
879
|
+
<noreturn>false</noreturn>
|
|
880
|
+
<leak-ignore/>
|
|
881
|
+
<pure/>
|
|
882
|
+
<arg nr="1" direction="in">
|
|
883
|
+
<not-null/>
|
|
884
|
+
<not-uninit/>
|
|
885
|
+
<strz/>
|
|
886
|
+
</arg>
|
|
887
|
+
<arg nr="2" direction="in">
|
|
888
|
+
<not-null/>
|
|
889
|
+
<not-uninit/>
|
|
890
|
+
<not-bool/>
|
|
891
|
+
<strz/>
|
|
892
|
+
</arg>
|
|
893
|
+
</function>
|
|
894
|
+
<!-- http://linux.die.net/man/2/getresuid -->
|
|
895
|
+
<!-- int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); -->
|
|
896
|
+
<function name="getresuid">
|
|
897
|
+
<returnValue type="int"/>
|
|
898
|
+
<noreturn>false</noreturn>
|
|
899
|
+
<leak-ignore/>
|
|
900
|
+
<pure/>
|
|
901
|
+
<arg nr="1" direction="out">
|
|
902
|
+
<not-null/>
|
|
903
|
+
</arg>
|
|
904
|
+
<arg nr="2" direction="out">
|
|
905
|
+
<not-null/>
|
|
906
|
+
</arg>
|
|
907
|
+
<arg nr="3" direction="out">
|
|
908
|
+
<not-null/>
|
|
909
|
+
<not-bool/>
|
|
910
|
+
</arg>
|
|
911
|
+
</function>
|
|
912
|
+
<!-- http://linux.die.net/man/2/getresuid -->
|
|
913
|
+
<!-- int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); -->
|
|
914
|
+
<function name="getresgid">
|
|
915
|
+
<returnValue type="int"/>
|
|
916
|
+
<noreturn>false</noreturn>
|
|
917
|
+
<leak-ignore/>
|
|
918
|
+
<pure/>
|
|
919
|
+
<arg nr="1" direction="out">
|
|
920
|
+
<not-null/>
|
|
921
|
+
</arg>
|
|
922
|
+
<arg nr="2" direction="out">
|
|
923
|
+
<not-null/>
|
|
924
|
+
</arg>
|
|
925
|
+
<arg nr="3" direction="out">
|
|
926
|
+
<not-null/>
|
|
927
|
+
<not-bool/>
|
|
928
|
+
</arg>
|
|
929
|
+
</function>
|
|
930
|
+
<!-- http://man7.org/linux/man-pages/man2/setresuid.2.html -->
|
|
931
|
+
<!-- int setresuid(uid_t ruid, uid_t euid, uid_t suid);-->
|
|
932
|
+
<function name="setresuid">
|
|
933
|
+
<returnValue type="int"/>
|
|
934
|
+
<noreturn>false</noreturn>
|
|
935
|
+
<arg nr="1" direction="in">
|
|
936
|
+
<not-uninit/>
|
|
937
|
+
</arg>
|
|
938
|
+
<arg nr="2" direction="in">
|
|
939
|
+
<not-uninit/>
|
|
940
|
+
</arg>
|
|
941
|
+
<arg nr="3" direction="in">
|
|
942
|
+
<not-uninit/>
|
|
943
|
+
<not-bool/>
|
|
944
|
+
</arg>
|
|
945
|
+
<leak-ignore/>
|
|
946
|
+
</function>
|
|
947
|
+
<!-- http://man7.org/linux/man-pages/man2/setresuid.2.html -->
|
|
948
|
+
<!-- int setresgid(gid_t rgid, gid_t egid, gid_t sgid);-->
|
|
949
|
+
<function name="setresgid">
|
|
950
|
+
<returnValue type="int"/>
|
|
951
|
+
<noreturn>false</noreturn>
|
|
952
|
+
<arg nr="1" direction="in">
|
|
953
|
+
<not-uninit/>
|
|
954
|
+
</arg>
|
|
955
|
+
<arg nr="2" direction="in">
|
|
956
|
+
<not-uninit/>
|
|
957
|
+
</arg>
|
|
958
|
+
<arg nr="3" direction="in">
|
|
959
|
+
<not-uninit/>
|
|
960
|
+
<not-bool/>
|
|
961
|
+
</arg>
|
|
962
|
+
<leak-ignore/>
|
|
963
|
+
</function>
|
|
964
|
+
<!-- int inet_aton (const char *name, struct in_addr *addr); -->
|
|
965
|
+
<function name="inet_aton">
|
|
966
|
+
<returnValue type="int"/>
|
|
967
|
+
<noreturn>false</noreturn>
|
|
968
|
+
<arg nr="1">
|
|
969
|
+
<not-uninit/>
|
|
970
|
+
<not-null/>
|
|
971
|
+
<strz/>
|
|
972
|
+
</arg>
|
|
973
|
+
<arg nr="2">
|
|
974
|
+
<not-null/>
|
|
975
|
+
</arg>
|
|
976
|
+
<leak-ignore/>
|
|
977
|
+
</function>
|
|
978
|
+
<!-- uint32_t inet_network (const char *name); -->
|
|
979
|
+
<function name="inet_network">
|
|
980
|
+
<returnValue type="uint32_t"/>
|
|
981
|
+
<noreturn>false</noreturn>
|
|
982
|
+
<arg nr="1" direction="in">
|
|
983
|
+
<not-uninit/>
|
|
984
|
+
<not-null/>
|
|
985
|
+
<not-bool/>
|
|
986
|
+
<strz/>
|
|
987
|
+
</arg>
|
|
988
|
+
<leak-ignore/>
|
|
989
|
+
</function>
|
|
990
|
+
<!-- struct in_addr inet_makeaddr (uint32_t net, uint32_t local); -->
|
|
991
|
+
<function name="inet_makeaddr">
|
|
992
|
+
<returnValue type="struct in_addr"/>
|
|
993
|
+
<noreturn>false</noreturn>
|
|
994
|
+
<arg nr="1" direction="in">
|
|
995
|
+
<not-uninit/>
|
|
996
|
+
<valid>0:4294967295</valid>
|
|
997
|
+
<!-- 0:UINT32_MAX-->
|
|
998
|
+
</arg>
|
|
999
|
+
<arg nr="2" direction="in">
|
|
1000
|
+
<not-uninit/>
|
|
1001
|
+
<valid>0:4294967295</valid>
|
|
1002
|
+
<!-- 0:UINT32_MAX-->
|
|
1003
|
+
<not-bool/>
|
|
1004
|
+
</arg>
|
|
1005
|
+
<leak-ignore/>
|
|
1006
|
+
</function>
|
|
1007
|
+
<!-- https://linux.die.net/man/3/inet_lnaof -->
|
|
1008
|
+
<!-- uint32_t inet_lnaof (struct in_addr addr); -->
|
|
1009
|
+
<function name="inet_lnaof">
|
|
1010
|
+
<returnValue type="uint32_t"/>
|
|
1011
|
+
<noreturn>false</noreturn>
|
|
1012
|
+
<arg nr="1" direction="in">
|
|
1013
|
+
<not-uninit/>
|
|
1014
|
+
<not-bool/>
|
|
1015
|
+
</arg>
|
|
1016
|
+
<leak-ignore/>
|
|
1017
|
+
</function>
|
|
1018
|
+
<!-- uint32_t inet_netof (struct in_addr addr); -->
|
|
1019
|
+
<function name="inet_netof">
|
|
1020
|
+
<returnValue type="uint32_t"/>
|
|
1021
|
+
<noreturn>false</noreturn>
|
|
1022
|
+
<arg nr="1" direction="in">
|
|
1023
|
+
<not-uninit/>
|
|
1024
|
+
<not-bool/>
|
|
1025
|
+
</arg>
|
|
1026
|
+
<leak-ignore/>
|
|
1027
|
+
</function>
|
|
1028
|
+
<!-- int inet_pton (int af, const char *cp, void *buf); -->
|
|
1029
|
+
<function name="inet_pton">
|
|
1030
|
+
<returnValue type="int"/>
|
|
1031
|
+
<noreturn>false</noreturn>
|
|
1032
|
+
<arg nr="1" direction="in">
|
|
1033
|
+
<not-uninit/>
|
|
1034
|
+
</arg>
|
|
1035
|
+
<arg nr="2" direction="in">
|
|
1036
|
+
<not-uninit/>
|
|
1037
|
+
<not-null/>
|
|
1038
|
+
<strz/>
|
|
1039
|
+
</arg>
|
|
1040
|
+
<arg nr="3" direction="out">
|
|
1041
|
+
<not-null/>
|
|
1042
|
+
<not-bool/>
|
|
1043
|
+
</arg>
|
|
1044
|
+
<leak-ignore/>
|
|
1045
|
+
</function>
|
|
1046
|
+
<!-- https://linux.die.net/man/3/inet_ntop -->
|
|
1047
|
+
<!-- const char * inet_ntop (int af, const void *cp, char *buf, socklen_t len);-->
|
|
1048
|
+
<function name="inet_ntop">
|
|
1049
|
+
<returnValue type="const char *"/>
|
|
1050
|
+
<noreturn>false</noreturn>
|
|
1051
|
+
<arg nr="1" direction="in">
|
|
1052
|
+
<not-uninit/>
|
|
1053
|
+
</arg>
|
|
1054
|
+
<arg nr="2" direction="in">
|
|
1055
|
+
<not-uninit/>
|
|
1056
|
+
<not-null/>
|
|
1057
|
+
</arg>
|
|
1058
|
+
<arg nr="3" direction="out">
|
|
1059
|
+
<not-null/>
|
|
1060
|
+
<minsize type="argvalue" arg="4"/>
|
|
1061
|
+
</arg>
|
|
1062
|
+
<arg nr="4" direction="in">
|
|
1063
|
+
<not-uninit/>
|
|
1064
|
+
<not-bool/>
|
|
1065
|
+
</arg>
|
|
1066
|
+
<leak-ignore/>
|
|
1067
|
+
</function>
|
|
1068
|
+
<!-- char *canonicalize_file_name(const char *path); -->
|
|
1069
|
+
<function name="canonicalize_file_name">
|
|
1070
|
+
<returnValue type="char *"/>
|
|
1071
|
+
<use-retval/>
|
|
1072
|
+
<noreturn>false</noreturn>
|
|
1073
|
+
<leak-ignore/>
|
|
1074
|
+
<arg nr="1" direction="in">
|
|
1075
|
+
<not-null/>
|
|
1076
|
+
<not-bool/>
|
|
1077
|
+
<strz/>
|
|
1078
|
+
</arg>
|
|
1079
|
+
</function>
|
|
1080
|
+
<!-- https://linux.die.net/man/3/execvpe -->
|
|
1081
|
+
<!-- int execvpe(const char *file, char *const argv[], char *const envp[]); -->
|
|
1082
|
+
<function name="execvpe">
|
|
1083
|
+
<returnValue type="int"/>
|
|
1084
|
+
<noreturn>false</noreturn>
|
|
1085
|
+
<leak-ignore/>
|
|
1086
|
+
<arg nr="1" direction="in">
|
|
1087
|
+
<not-null/>
|
|
1088
|
+
<not-uninit/>
|
|
1089
|
+
<strz/>
|
|
1090
|
+
</arg>
|
|
1091
|
+
<arg nr="2" direction="in">
|
|
1092
|
+
<not-uninit/>
|
|
1093
|
+
</arg>
|
|
1094
|
+
<arg nr="3" direction="in">
|
|
1095
|
+
<not-uninit/>
|
|
1096
|
+
<not-bool/>
|
|
1097
|
+
</arg>
|
|
1098
|
+
</function>
|
|
1099
|
+
<!-- https://linux.die.net/man/3/mkostemp -->
|
|
1100
|
+
<!-- int mkostemp(char *template, int flags);
|
|
1101
|
+
int mkstemps(char *template, int suffixlen);-->
|
|
1102
|
+
<function name="mkostemp,mkstemps">
|
|
1103
|
+
<returnValue type="int"/>
|
|
1104
|
+
<noreturn>false</noreturn>
|
|
1105
|
+
<arg nr="1" direction="inout">
|
|
1106
|
+
<not-null/>
|
|
1107
|
+
<not-uninit/>
|
|
1108
|
+
</arg>
|
|
1109
|
+
<arg nr="2" direction="in">
|
|
1110
|
+
<not-uninit/>
|
|
1111
|
+
<not-bool/>
|
|
1112
|
+
</arg>
|
|
1113
|
+
</function>
|
|
1114
|
+
<!-- int mkostemps(char *template, int suffixlen, int flags); -->
|
|
1115
|
+
<function name="mkostemps">
|
|
1116
|
+
<returnValue type="int"/>
|
|
1117
|
+
<noreturn>false</noreturn>
|
|
1118
|
+
<arg nr="1" direction="inout">
|
|
1119
|
+
<not-null/>
|
|
1120
|
+
<not-uninit/>
|
|
1121
|
+
</arg>
|
|
1122
|
+
<arg nr="2" direction="in">
|
|
1123
|
+
<not-uninit/>
|
|
1124
|
+
</arg>
|
|
1125
|
+
<arg nr="3" direction="in">
|
|
1126
|
+
<not-uninit/>
|
|
1127
|
+
<not-bool/>
|
|
1128
|
+
</arg>
|
|
1129
|
+
</function>
|
|
1130
|
+
<!-- see http://man7.org/linux/man-pages/man3/memmem.3.html -->
|
|
1131
|
+
<!-- void *memmem(const void *haystack, size_t haystacklen,
|
|
1132
|
+
const void *needle, size_t needlelen);-->
|
|
1133
|
+
<function name="memmem">
|
|
1134
|
+
<noreturn>false</noreturn>
|
|
1135
|
+
<leak-ignore/>
|
|
1136
|
+
<use-retval/>
|
|
1137
|
+
<returnValue type="void *"/>
|
|
1138
|
+
<arg nr="1" direction="in">
|
|
1139
|
+
<not-null/>
|
|
1140
|
+
<not-uninit/>
|
|
1141
|
+
<minsize type="argvalue" arg="2"/>
|
|
1142
|
+
</arg>
|
|
1143
|
+
<arg nr="2" direction="in">
|
|
1144
|
+
<not-uninit/>
|
|
1145
|
+
<valid>0:</valid>
|
|
1146
|
+
</arg>
|
|
1147
|
+
<arg nr="3" direction="in">
|
|
1148
|
+
<not-null/>
|
|
1149
|
+
<not-uninit/>
|
|
1150
|
+
<minsize type="argvalue" arg="4"/>
|
|
1151
|
+
</arg>
|
|
1152
|
+
<arg nr="4" direction="in">
|
|
1153
|
+
<not-uninit/>
|
|
1154
|
+
<valid>0:</valid>
|
|
1155
|
+
<not-bool/>
|
|
1156
|
+
</arg>
|
|
1157
|
+
</function>
|
|
1158
|
+
<!-- http://man7.org/linux/man-pages/man3/memrchr.3.html -->
|
|
1159
|
+
<!-- void *memrchr(const void *s, int c, size_t n); -->
|
|
1160
|
+
<function name="memrchr">
|
|
1161
|
+
<noreturn>false</noreturn>
|
|
1162
|
+
<leak-ignore/>
|
|
1163
|
+
<returnValue type="void *"/>
|
|
1164
|
+
<use-retval/>
|
|
1165
|
+
<arg nr="1" direction="in">
|
|
1166
|
+
<not-null/>
|
|
1167
|
+
<not-uninit/>
|
|
1168
|
+
<minsize type="argvalue" arg="3"/>
|
|
1169
|
+
</arg>
|
|
1170
|
+
<arg nr="2" direction="in">
|
|
1171
|
+
<not-uninit/>
|
|
1172
|
+
<not-bool/>
|
|
1173
|
+
<valid>0:</valid>
|
|
1174
|
+
</arg>
|
|
1175
|
+
<arg nr="3" direction="in">
|
|
1176
|
+
<not-uninit/>
|
|
1177
|
+
<not-bool/>
|
|
1178
|
+
<valid>0:</valid>
|
|
1179
|
+
</arg>
|
|
1180
|
+
</function>
|
|
1181
|
+
<!-- http://man7.org/linux/man-pages/man3/rawmemchr.3.html -->
|
|
1182
|
+
<!-- void *rawmemchr(const void *s, int c); -->
|
|
1183
|
+
<function name="rawmemchr">
|
|
1184
|
+
<noreturn>false</noreturn>
|
|
1185
|
+
<leak-ignore/>
|
|
1186
|
+
<returnValue type="void *"/>
|
|
1187
|
+
<use-retval/>
|
|
1188
|
+
<arg nr="1" direction="in">
|
|
1189
|
+
<not-null/>
|
|
1190
|
+
<not-uninit/>
|
|
1191
|
+
</arg>
|
|
1192
|
+
<arg nr="2" direction="in">
|
|
1193
|
+
<not-uninit/>
|
|
1194
|
+
<not-bool/>
|
|
1195
|
+
<valid>0:</valid>
|
|
1196
|
+
</arg>
|
|
1197
|
+
</function>
|
|
1198
|
+
<!-- https://man7.org/linux/man-pages/man3/qsort.3.html -->
|
|
1199
|
+
<!-- void qsort_r(void *base, size_t n, size_t size, int (*cmp)(const void *, const void *, void *), void *arg); -->
|
|
1200
|
+
<function name="qsort_r">
|
|
1201
|
+
<noreturn>false</noreturn>
|
|
1202
|
+
<returnValue type="void"/>
|
|
1203
|
+
<leak-ignore/>
|
|
1204
|
+
<arg nr="1" direction="inout">
|
|
1205
|
+
<not-null/>
|
|
1206
|
+
<not-uninit/>
|
|
1207
|
+
<minsize type="argvalue" arg="2"/>
|
|
1208
|
+
</arg>
|
|
1209
|
+
<arg nr="2" direction="in">
|
|
1210
|
+
<not-uninit/>
|
|
1211
|
+
<valid>0:</valid>
|
|
1212
|
+
</arg>
|
|
1213
|
+
<arg nr="3" direction="in">
|
|
1214
|
+
<not-uninit/>
|
|
1215
|
+
<valid>0:</valid>
|
|
1216
|
+
</arg>
|
|
1217
|
+
<arg nr="4" direction="out">
|
|
1218
|
+
<not-null/>
|
|
1219
|
+
<not-bool/>
|
|
1220
|
+
</arg>
|
|
1221
|
+
</function>
|
|
1222
|
+
<!-- http://man7.org/linux/man-pages/man3/ffs.3.html -->
|
|
1223
|
+
<!-- int ffsl(long int i);
|
|
1224
|
+
int ffsll(long long int i); -->
|
|
1225
|
+
<function name="ffsl,ffsll">
|
|
1226
|
+
<use-retval/>
|
|
1227
|
+
<!-- It returns the position of the first bit set, or 0 if no bits are set in i. -->
|
|
1228
|
+
<returnValue type="int">arg1==0 &0</returnValue>
|
|
1229
|
+
<noreturn>false</noreturn>
|
|
1230
|
+
<leak-ignore/>
|
|
1231
|
+
<arg nr="1" direction="in">
|
|
1232
|
+
<not-uninit/>
|
|
1233
|
+
<not-bool/>
|
|
1234
|
+
</arg>
|
|
1235
|
+
</function>
|
|
1236
|
+
<!-- http://man7.org/linux/man-pages/man3/strchr.3.html -->
|
|
1237
|
+
<!-- char *strchrnul(const char *s, int c); -->
|
|
1238
|
+
<function name="strchrnul">
|
|
1239
|
+
<use-retval/>
|
|
1240
|
+
<returnValue type="char *"/>
|
|
1241
|
+
<noreturn>false</noreturn>
|
|
1242
|
+
<leak-ignore/>
|
|
1243
|
+
<arg nr="1" direction="in">
|
|
1244
|
+
<not-null/>
|
|
1245
|
+
<not-uninit/>
|
|
1246
|
+
<strz/>
|
|
1247
|
+
</arg>
|
|
1248
|
+
<arg nr="2" direction="in">
|
|
1249
|
+
<not-uninit/>
|
|
1250
|
+
<not-bool/>
|
|
1251
|
+
</arg>
|
|
1252
|
+
</function>
|
|
1253
|
+
<!-- http://man7.org/linux/man-pages/man2/setrlimit.2.html -->
|
|
1254
|
+
<!-- int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
|
|
1255
|
+
struct rlimit *old_limit); -->
|
|
1256
|
+
<function name="prlimit">
|
|
1257
|
+
<returnValue type="int"/>
|
|
1258
|
+
<noreturn>false</noreturn>
|
|
1259
|
+
<leak-ignore/>
|
|
1260
|
+
<arg nr="1" direction="in">
|
|
1261
|
+
<not-uninit/>
|
|
1262
|
+
</arg>
|
|
1263
|
+
<arg nr="2" direction="in">
|
|
1264
|
+
<not-uninit/>
|
|
1265
|
+
</arg>
|
|
1266
|
+
<arg nr="3" direction="in">
|
|
1267
|
+
<not-uninit/>
|
|
1268
|
+
</arg>
|
|
1269
|
+
<arg nr="4" direction="out">
|
|
1270
|
+
<not-bool/>
|
|
1271
|
+
</arg>
|
|
1272
|
+
</function>
|
|
1273
|
+
<!-- see https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html -->
|
|
1274
|
+
<define name="__builtin_expect(X,Y)" value="(X)"/>
|
|
1275
|
+
<define name="__builtin_expect_with_probability(exp,c,probability)" value="(exp)"/>
|
|
1276
|
+
<!-- see http://kernelnewbies.org/FAQ/LikelyUnlikely -->
|
|
1277
|
+
<define name="likely(X)" value="(X)"/>
|
|
1278
|
+
<define name="unlikely(X)" value="(X)"/>
|
|
1279
|
+
<!-- int epoll_create(int size); -->
|
|
1280
|
+
<function name="epoll_create">
|
|
1281
|
+
<noreturn>false</noreturn>
|
|
1282
|
+
<returnValue type="int"/>
|
|
1283
|
+
<arg nr="1" direction="in">
|
|
1284
|
+
<not-bool/>
|
|
1285
|
+
<not-uninit/>
|
|
1286
|
+
<!-- Since Linux 2.6.8, the size argument is ignored, but must be greater than zero in order to
|
|
1287
|
+
ensure backward compatibility when new epoll applications are run on older kernels. -->
|
|
1288
|
+
<valid>1:</valid>
|
|
1289
|
+
</arg>
|
|
1290
|
+
</function>
|
|
1291
|
+
<!-- int epoll_create1(int flags); -->
|
|
1292
|
+
<function name="epoll_create1">
|
|
1293
|
+
<noreturn>false</noreturn>
|
|
1294
|
+
<returnValue type="int"/>
|
|
1295
|
+
<arg nr="1" direction="in">
|
|
1296
|
+
<not-bool/>
|
|
1297
|
+
<not-uninit/>
|
|
1298
|
+
</arg>
|
|
1299
|
+
</function>
|
|
1300
|
+
<!-- https://linux.die.net/man/2/epoll_ctl -->
|
|
1301
|
+
<!-- int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); -->
|
|
1302
|
+
<function name="epoll_ctl">
|
|
1303
|
+
<returnValue type="int"/>
|
|
1304
|
+
<noreturn>false</noreturn>
|
|
1305
|
+
<arg nr="1" direction="in">
|
|
1306
|
+
<not-bool/>
|
|
1307
|
+
<not-uninit/>
|
|
1308
|
+
<valid>0:</valid>
|
|
1309
|
+
</arg>
|
|
1310
|
+
<arg nr="2" direction="in">
|
|
1311
|
+
<not-bool/>
|
|
1312
|
+
<not-uninit/>
|
|
1313
|
+
</arg>
|
|
1314
|
+
<arg nr="3" direction="in">
|
|
1315
|
+
<not-bool/>
|
|
1316
|
+
<not-uninit/>
|
|
1317
|
+
<valid>0:</valid>
|
|
1318
|
+
</arg>
|
|
1319
|
+
<arg nr="4" direction="inout">
|
|
1320
|
+
<not-uninit/>
|
|
1321
|
+
<not-bool/>
|
|
1322
|
+
</arg>
|
|
1323
|
+
</function>
|
|
1324
|
+
<!-- int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout); -->
|
|
1325
|
+
<function name="epoll_wait">
|
|
1326
|
+
<returnValue type="int"/>
|
|
1327
|
+
<noreturn>false</noreturn>
|
|
1328
|
+
<arg nr="1" direction="in">
|
|
1329
|
+
<not-bool/>
|
|
1330
|
+
<not-uninit/>
|
|
1331
|
+
<valid>0:</valid>
|
|
1332
|
+
</arg>
|
|
1333
|
+
<arg nr="2" direction="out">
|
|
1334
|
+
<not-bool/>
|
|
1335
|
+
<not-null/>
|
|
1336
|
+
</arg>
|
|
1337
|
+
<arg nr="3" direction="in">
|
|
1338
|
+
<not-bool/>
|
|
1339
|
+
<not-uninit/>
|
|
1340
|
+
<valid>1:</valid>
|
|
1341
|
+
</arg>
|
|
1342
|
+
<arg nr="4" direction="in">
|
|
1343
|
+
<not-bool/>
|
|
1344
|
+
<not-uninit/>
|
|
1345
|
+
</arg>
|
|
1346
|
+
</function>
|
|
1347
|
+
<!-- int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask); -->
|
|
1348
|
+
<function name="epoll_pwait">
|
|
1349
|
+
<returnValue type="int"/>
|
|
1350
|
+
<noreturn>false</noreturn>
|
|
1351
|
+
<arg nr="1" direction="in">
|
|
1352
|
+
<not-bool/>
|
|
1353
|
+
<not-uninit/>
|
|
1354
|
+
<valid>0:</valid>
|
|
1355
|
+
</arg>
|
|
1356
|
+
<arg nr="2" direction="out">
|
|
1357
|
+
<not-bool/>
|
|
1358
|
+
<not-null/>
|
|
1359
|
+
</arg>
|
|
1360
|
+
<arg nr="3" direction="in">
|
|
1361
|
+
<not-bool/>
|
|
1362
|
+
<not-uninit/>
|
|
1363
|
+
<valid>1:</valid>
|
|
1364
|
+
</arg>
|
|
1365
|
+
<arg nr="4" direction="in">
|
|
1366
|
+
<not-bool/>
|
|
1367
|
+
<not-uninit/>
|
|
1368
|
+
</arg>
|
|
1369
|
+
<arg nr="5" direction="in">
|
|
1370
|
+
<not-bool/>
|
|
1371
|
+
<not-null/>
|
|
1372
|
+
<not-uninit/>
|
|
1373
|
+
</arg>
|
|
1374
|
+
</function>
|
|
1375
|
+
<!-- int sethostname(const char *name, size_t len); -->
|
|
1376
|
+
<function name="sethostname">
|
|
1377
|
+
<noreturn>false</noreturn>
|
|
1378
|
+
<returnValue type="int"/>
|
|
1379
|
+
<arg nr="1" direction="in">
|
|
1380
|
+
<not-null/>
|
|
1381
|
+
<not-uninit/>
|
|
1382
|
+
<minsize type="argvalue" arg="2"/>
|
|
1383
|
+
<strz/>
|
|
1384
|
+
</arg>
|
|
1385
|
+
<arg nr="2">
|
|
1386
|
+
<not-uninit/>
|
|
1387
|
+
<valid>0:</valid>
|
|
1388
|
+
</arg>
|
|
1389
|
+
</function>
|
|
1390
|
+
<!-- https://www.gnu.org/software/libc/manual/html_node/Translation-with-gettext.html -->
|
|
1391
|
+
<!-- char * gettext (const char *msgid); -->
|
|
1392
|
+
<function name="gettext">
|
|
1393
|
+
<noreturn>false</noreturn>
|
|
1394
|
+
<returnValue type="char *"/>
|
|
1395
|
+
<use-retval/>
|
|
1396
|
+
<leak-ignore/>
|
|
1397
|
+
<arg nr="1" direction="in">
|
|
1398
|
+
<not-null/>
|
|
1399
|
+
<not-uninit/>
|
|
1400
|
+
<strz/>
|
|
1401
|
+
<not-bool/>
|
|
1402
|
+
</arg>
|
|
1403
|
+
</function>
|
|
1404
|
+
<!-- _(string) is often defined as gettext(string) or string somewhere in projects. -->
|
|
1405
|
+
<!-- See https://www.gnu.org/software/gettext//manual/html_node/Mark-Keywords.html -->
|
|
1406
|
+
<!-- <define name="_(string)" value="string"/> does not work always, so use a very conservative
|
|
1407
|
+
function configuration instead if nothing else is seen by Cppcheck -->
|
|
1408
|
+
<function name="_">
|
|
1409
|
+
<noreturn>false</noreturn>
|
|
1410
|
+
<arg nr="1"/>
|
|
1411
|
+
</function>
|
|
1412
|
+
<!-- For N_ often something like "#define N_(String) gettext_noop (String)" is used. To be safe
|
|
1413
|
+
a conservative function configuration is used here like for "_" -->
|
|
1414
|
+
<function name="N_">
|
|
1415
|
+
<noreturn>false</noreturn>
|
|
1416
|
+
<arg nr="1"/>
|
|
1417
|
+
</function>
|
|
1418
|
+
<!-- https://linux.die.net/man/3/dgettext -->
|
|
1419
|
+
<!-- char * dgettext (const char *domainname, const char *msgid); -->
|
|
1420
|
+
<function name="dgettext">
|
|
1421
|
+
<noreturn>false</noreturn>
|
|
1422
|
+
<returnValue type="char *"/>
|
|
1423
|
+
<use-retval/>
|
|
1424
|
+
<leak-ignore/>
|
|
1425
|
+
<arg nr="1" direction="in">
|
|
1426
|
+
<not-uninit/>
|
|
1427
|
+
<strz/>
|
|
1428
|
+
</arg>
|
|
1429
|
+
<arg nr="2" direction="in">
|
|
1430
|
+
<not-null/>
|
|
1431
|
+
<not-uninit/>
|
|
1432
|
+
<strz/>
|
|
1433
|
+
<not-bool/>
|
|
1434
|
+
</arg>
|
|
1435
|
+
</function>
|
|
1436
|
+
<!-- int euidaccess(const char *pathname, int mode); -->
|
|
1437
|
+
<!-- int eaccess(const char *pathname, int mode); -->
|
|
1438
|
+
<!-- Ref: https://man7.org/linux/man-pages/man3/euidaccess.3.html
|
|
1439
|
+
Conforming to: These functions are nonstandard. Some other systems have an eaccess() function. -->
|
|
1440
|
+
<function name="euidaccess,eaccess">
|
|
1441
|
+
<use-retval/>
|
|
1442
|
+
<returnValue type="int"/>
|
|
1443
|
+
<noreturn>false</noreturn>
|
|
1444
|
+
<leak-ignore/>
|
|
1445
|
+
<arg nr="1" direction="in">
|
|
1446
|
+
<not-uninit/>
|
|
1447
|
+
<not-null/>
|
|
1448
|
+
<strz/>
|
|
1449
|
+
</arg>
|
|
1450
|
+
<arg nr="2" direction="in">
|
|
1451
|
+
<not-uninit/>
|
|
1452
|
+
<not-bool/>
|
|
1453
|
+
</arg>
|
|
1454
|
+
</function>
|
|
1455
|
+
<!-- char * dcgettext (const char *domainname, const char *msgid, int category); -->
|
|
1456
|
+
<function name="dcgettext">
|
|
1457
|
+
<noreturn>false</noreturn>
|
|
1458
|
+
<returnValue type="char *"/>
|
|
1459
|
+
<use-retval/>
|
|
1460
|
+
<leak-ignore/>
|
|
1461
|
+
<arg nr="1" direction="in">
|
|
1462
|
+
<not-uninit/>
|
|
1463
|
+
<strz/>
|
|
1464
|
+
</arg>
|
|
1465
|
+
<arg nr="2" direction="in">
|
|
1466
|
+
<not-null/>
|
|
1467
|
+
<not-uninit/>
|
|
1468
|
+
<strz/>
|
|
1469
|
+
</arg>
|
|
1470
|
+
<arg nr="3" direction="in">
|
|
1471
|
+
<not-uninit/>
|
|
1472
|
+
<not-bool/>
|
|
1473
|
+
</arg>
|
|
1474
|
+
</function>
|
|
1475
|
+
<!-- https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html -->
|
|
1476
|
+
<!-- void __builtin_trap (void) -->
|
|
1477
|
+
<function name="__builtin_trap">
|
|
1478
|
+
<noreturn>true</noreturn>
|
|
1479
|
+
</function>
|
|
1480
|
+
<!-- int __builtin_constant_p (exp) -->
|
|
1481
|
+
<function name="__builtin_constant_p">
|
|
1482
|
+
<noreturn>false</noreturn>
|
|
1483
|
+
<returnValue type="int"/>
|
|
1484
|
+
<arg nr="1"/>
|
|
1485
|
+
</function>
|
|
1486
|
+
<!-- https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html -->
|
|
1487
|
+
<!-- void * __builtin_return_address (unsigned int level) -->
|
|
1488
|
+
<!-- void * __builtin_frame_address (unsigned int level) -->
|
|
1489
|
+
<function name="__builtin_return_address,__builtin_frame_address">
|
|
1490
|
+
<noreturn>false</noreturn>
|
|
1491
|
+
<returnValue type="void *"/>
|
|
1492
|
+
<use-retval/>
|
|
1493
|
+
<arg nr="1" direction="in">
|
|
1494
|
+
<not-uninit/>
|
|
1495
|
+
<not-bool/>
|
|
1496
|
+
</arg>
|
|
1497
|
+
</function>
|
|
1498
|
+
<!-- void * __builtin_extract_return_addr (void *addr) -->
|
|
1499
|
+
<!-- void * __builtin_frob_return_address (void *addr) -->
|
|
1500
|
+
<function name="__builtin_extract_return_addr,__builtin_frob_return_address">
|
|
1501
|
+
<noreturn>false</noreturn>
|
|
1502
|
+
<returnValue type="void *"/>
|
|
1503
|
+
<use-retval/>
|
|
1504
|
+
<arg nr="1" direction="in">
|
|
1505
|
+
<not-bool/>
|
|
1506
|
+
</arg>
|
|
1507
|
+
</function>
|
|
1508
|
+
<!-- http://man7.org/linux/man-pages/man2/mmap.2.html -->
|
|
1509
|
+
<!-- void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); -->
|
|
1510
|
+
<!-- In contrast to POSIX, the GNU mmap allows/requires (depends on the implementation) fd to be -1 if MAP_ANONYMOUS or MAP_ANON is specified -->
|
|
1511
|
+
<function name="mmap">
|
|
1512
|
+
<use-retval/>
|
|
1513
|
+
<returnValue type="void *"/>
|
|
1514
|
+
<noreturn>false</noreturn>
|
|
1515
|
+
<leak-ignore/>
|
|
1516
|
+
<arg nr="1" direction="in">
|
|
1517
|
+
<not-uninit/>
|
|
1518
|
+
</arg>
|
|
1519
|
+
<arg nr="2" direction="in">
|
|
1520
|
+
<not-uninit/>
|
|
1521
|
+
<valid>1:</valid>
|
|
1522
|
+
</arg>
|
|
1523
|
+
<arg nr="3" direction="in">
|
|
1524
|
+
<not-uninit/>
|
|
1525
|
+
</arg>
|
|
1526
|
+
<arg nr="4" direction="in">
|
|
1527
|
+
<not-uninit/>
|
|
1528
|
+
</arg>
|
|
1529
|
+
<arg nr="5" direction="in">
|
|
1530
|
+
<not-uninit/>
|
|
1531
|
+
<valid>-1:</valid>
|
|
1532
|
+
</arg>
|
|
1533
|
+
<arg nr="6" direction="in">
|
|
1534
|
+
<not-uninit/>
|
|
1535
|
+
<not-bool/>
|
|
1536
|
+
</arg>
|
|
1537
|
+
</function>
|
|
1538
|
+
<!-- Note: fstatat64() is a large-file version of the fstatat() function -->
|
|
1539
|
+
<!-- int fstatat64(int dirfd, const char *pathname, struct stat64 *statbuf, int flags); -->
|
|
1540
|
+
<function name="fstatat64">
|
|
1541
|
+
<noreturn>false</noreturn>
|
|
1542
|
+
<leak-ignore/>
|
|
1543
|
+
<returnValue type="int"/>
|
|
1544
|
+
<arg nr="1" direction="in">
|
|
1545
|
+
<not-uninit/>
|
|
1546
|
+
<valid>0:</valid>
|
|
1547
|
+
</arg>
|
|
1548
|
+
<arg nr="2" direction="in">
|
|
1549
|
+
<not-null/>
|
|
1550
|
+
<not-uninit/>
|
|
1551
|
+
<strz/>
|
|
1552
|
+
</arg>
|
|
1553
|
+
<arg nr="3" direction="out">
|
|
1554
|
+
<not-null/>
|
|
1555
|
+
<not-bool/>
|
|
1556
|
+
</arg>
|
|
1557
|
+
<arg nr="4" direction="in">
|
|
1558
|
+
<not-bool/>
|
|
1559
|
+
<not-uninit/>
|
|
1560
|
+
</arg>
|
|
1561
|
+
</function>
|
|
1562
|
+
<!-- int __fxstatat64 (int __ver, int __fildes, const char *__filename, struct stat64 *__stat_buf, int __flag); -->
|
|
1563
|
+
<function name="__fxstatat64">
|
|
1564
|
+
<noreturn>false</noreturn>
|
|
1565
|
+
<leak-ignore/>
|
|
1566
|
+
<returnValue type="int"/>
|
|
1567
|
+
<arg nr="1" direction="in">
|
|
1568
|
+
<not-uninit/>
|
|
1569
|
+
</arg>
|
|
1570
|
+
<arg nr="2" direction="in">
|
|
1571
|
+
<not-uninit/>
|
|
1572
|
+
<valid>0:</valid>
|
|
1573
|
+
</arg>
|
|
1574
|
+
<arg nr="3" direction="in">
|
|
1575
|
+
<not-null/>
|
|
1576
|
+
<not-uninit/>
|
|
1577
|
+
<strz/>
|
|
1578
|
+
</arg>
|
|
1579
|
+
<arg nr="4" direction="out">
|
|
1580
|
+
<not-null/>
|
|
1581
|
+
<not-bool/>
|
|
1582
|
+
</arg>
|
|
1583
|
+
<arg nr="5" direction="in">
|
|
1584
|
+
<not-bool/>
|
|
1585
|
+
<not-uninit/>
|
|
1586
|
+
</arg>
|
|
1587
|
+
</function>
|
|
1588
|
+
<!-- https://man7.org/linux/man-pages/man3/error.3.html -->
|
|
1589
|
+
<!-- void error(int status, int errnum, const char *format, ...); -->
|
|
1590
|
+
<!-- void error_at_line(int status, int errnum, const char *filename, unsigned int linenum, const char *format, ...); -->
|
|
1591
|
+
<function name="error,error_at_line">
|
|
1592
|
+
<noreturn>true</noreturn>
|
|
1593
|
+
<leak-ignore/>
|
|
1594
|
+
<returnValue type="void"/>
|
|
1595
|
+
<arg nr="any" direction="in">
|
|
1596
|
+
<not-uninit/>
|
|
1597
|
+
</arg>
|
|
1598
|
+
</function>
|
|
1599
|
+
<!-- ########## Resource allocation ########## -->
|
|
1600
|
+
<resource>
|
|
1601
|
+
<alloc init="true">mkostemp</alloc>
|
|
1602
|
+
<alloc init="true">mkstemps</alloc>
|
|
1603
|
+
<alloc init="true">mkostemps</alloc>
|
|
1604
|
+
<dealloc>close</dealloc>
|
|
1605
|
+
</resource>
|
|
1606
|
+
<resource>
|
|
1607
|
+
<dealloc>close</dealloc>
|
|
1608
|
+
<alloc init="true">epoll_create</alloc>
|
|
1609
|
+
</resource>
|
|
1610
|
+
<resource>
|
|
1611
|
+
<dealloc>close</dealloc>
|
|
1612
|
+
<alloc init="true">epoll_create1</alloc>
|
|
1613
|
+
</resource>
|
|
1614
|
+
<podtype name="epoll_event"/>
|
|
1615
|
+
<!-- see http://man7.org/linux/man-pages/man7/signal.7.html -->
|
|
1616
|
+
<define name="SIGIOT" value="6"/>
|
|
1617
|
+
<define name="SIGSTKFLT" value="16"/>
|
|
1618
|
+
<define name="SIGWINCH" value="28"/>
|
|
1619
|
+
<define name="SIGIO" value="29"/>
|
|
1620
|
+
<define name="SIGPWR" value="30"/>
|
|
1621
|
+
<define name="SIGUNUSED" value="31"/>
|
|
1622
|
+
<!-- see https://man7.org/linux/man-pages/man3/stdin.3.html -->
|
|
1623
|
+
<define name="STDIN_FILENO" value="0"/>
|
|
1624
|
+
<define name="STDOUT_FILENO" value="1"/>
|
|
1625
|
+
<define name="STDERR_FILENO" value="2"/>
|
|
1626
|
+
</def>
|