svf-tools 1.0.760 → 1.0.761
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.
- package/SVF-doxygen/html/html/CFGrammar_8cpp_source.html +3 -3
- package/SVF-doxygen/html/html/CommandLine_8h_source.html +1 -1
- package/SVF-doxygen/html/html/ExtAPI_8cpp_source.html +6 -5
- package/SVF-doxygen/html/html/SVFFileSystem_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/SVFIRExtAPI_8cpp_source.html +92 -100
- package/SVF-doxygen/html/html/SVFUtil_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/cJSON_8cpp.html +1 -1
- package/SVF-doxygen/html/html/cJSON_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/classOption.html +1 -1
- package/SVF-doxygen/html/html/classSVF_1_1ExtAPI.html +6 -5
- package/SVF-doxygen/html/html/classSVF_1_1GrammarBase.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1SVFIRBuilder.html +92 -101
- package/SVF-doxygen/html/html/classSVF_1_1SVFIRReader.html +1 -1
- package/SVF-doxygen/html/html/extapi_8c.html +221 -219
- package/SVF-doxygen/html/html/extapi_8c_source.html +1101 -1255
- package/SVF-doxygen/html/html/namespaceSVF_1_1SVFUtil.html +1 -1
- package/package.json +1 -1
- package/svf/lib/Util/ExtAPI.cpp +3 -2
- package/svf-llvm/lib/SVFIRExtAPI.cpp +0 -8
- package/svf-llvm/lib/extapi.c +3 -156
package/svf-llvm/lib/extapi.c
CHANGED
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
OVERWRITE, // svf function overwrite app function
|
|
18
18
|
*/
|
|
19
19
|
__attribute__((annotate("ALLOC_RET")))
|
|
20
|
-
__attribute__((annotate("SVF")))
|
|
21
20
|
__attribute__((annotate("OVERWRITE")))
|
|
22
21
|
void *SyGetmem(unsigned long size)
|
|
23
22
|
{
|
|
@@ -25,7 +24,6 @@ void *SyGetmem(unsigned long size)
|
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
__attribute__((annotate("ALLOC_RET")))
|
|
28
|
-
__attribute__((annotate("SVF")))
|
|
29
27
|
__attribute__((annotate("STATIC")))
|
|
30
28
|
const unsigned short **__ctype_b_loc(void)
|
|
31
29
|
{
|
|
@@ -33,7 +31,6 @@ const unsigned short **__ctype_b_loc(void)
|
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
__attribute__((annotate("ALLOC_RET")))
|
|
36
|
-
__attribute__((annotate("SVF")))
|
|
37
34
|
__attribute__((annotate("STATIC")))
|
|
38
35
|
int **__ctype_tolower_loc(void)
|
|
39
36
|
{
|
|
@@ -41,7 +38,6 @@ int **__ctype_tolower_loc(void)
|
|
|
41
38
|
}
|
|
42
39
|
|
|
43
40
|
__attribute__((annotate("ALLOC_RET")))
|
|
44
|
-
__attribute__((annotate("SVF")))
|
|
45
41
|
__attribute__((annotate("STATIC")))
|
|
46
42
|
int **__ctype_toupper_loc(void)
|
|
47
43
|
{
|
|
@@ -49,7 +45,6 @@ int **__ctype_toupper_loc(void)
|
|
|
49
45
|
}
|
|
50
46
|
|
|
51
47
|
__attribute__((annotate("ALLOC_RET")))
|
|
52
|
-
__attribute__((annotate("SVF")))
|
|
53
48
|
__attribute__((annotate("STATIC")))
|
|
54
49
|
int *__errno_location(void)
|
|
55
50
|
{
|
|
@@ -57,7 +52,6 @@ int *__errno_location(void)
|
|
|
57
52
|
}
|
|
58
53
|
|
|
59
54
|
__attribute__((annotate("ALLOC_RET")))
|
|
60
|
-
__attribute__((annotate("SVF")))
|
|
61
55
|
__attribute__((annotate("STATIC")))
|
|
62
56
|
int * __h_errno_location(void)
|
|
63
57
|
{
|
|
@@ -65,7 +59,6 @@ int * __h_errno_location(void)
|
|
|
65
59
|
}
|
|
66
60
|
|
|
67
61
|
__attribute__((annotate("ALLOC_RET")))
|
|
68
|
-
__attribute__((annotate("SVF")))
|
|
69
62
|
__attribute__((annotate("STATIC")))
|
|
70
63
|
void* __res_state(void)
|
|
71
64
|
{
|
|
@@ -73,7 +66,6 @@ void* __res_state(void)
|
|
|
73
66
|
}
|
|
74
67
|
|
|
75
68
|
__attribute__((annotate("ALLOC_RET")))
|
|
76
|
-
__attribute__((annotate("SVF")))
|
|
77
69
|
__attribute__((annotate("STATIC")))
|
|
78
70
|
char *asctime(const void *timeptr)
|
|
79
71
|
{
|
|
@@ -81,7 +73,6 @@ char *asctime(const void *timeptr)
|
|
|
81
73
|
}
|
|
82
74
|
|
|
83
75
|
__attribute__((annotate("ALLOC_RET")))
|
|
84
|
-
__attribute__((annotate("SVF")))
|
|
85
76
|
__attribute__((annotate("STATIC")))
|
|
86
77
|
char * bindtextdomain(const char * domainname, const char * dirname)
|
|
87
78
|
{
|
|
@@ -89,7 +80,6 @@ char * bindtextdomain(const char * domainname, const char * dirname)
|
|
|
89
80
|
}
|
|
90
81
|
|
|
91
82
|
__attribute__((annotate("ALLOC_RET")))
|
|
92
|
-
__attribute__((annotate("SVF")))
|
|
93
83
|
__attribute__((annotate("STATIC")))
|
|
94
84
|
char * bind_textdomain_codeset(const char * domainname, const char * codeset)
|
|
95
85
|
{
|
|
@@ -97,7 +87,6 @@ char * bind_textdomain_codeset(const char * domainname, const char * codeset)
|
|
|
97
87
|
}
|
|
98
88
|
|
|
99
89
|
__attribute__((annotate("ALLOC_RET")))
|
|
100
|
-
__attribute__((annotate("SVF")))
|
|
101
90
|
__attribute__((annotate("STATIC")))
|
|
102
91
|
char *ctermid(char *s)
|
|
103
92
|
{
|
|
@@ -105,7 +94,6 @@ char *ctermid(char *s)
|
|
|
105
94
|
}
|
|
106
95
|
|
|
107
96
|
__attribute__((annotate("ALLOC_RET")))
|
|
108
|
-
__attribute__((annotate("SVF")))
|
|
109
97
|
__attribute__((annotate("STATIC")))
|
|
110
98
|
char * dcgettext(const char * domainname, const char * msgid, int category)
|
|
111
99
|
{
|
|
@@ -113,7 +101,6 @@ char * dcgettext(const char * domainname, const char * msgid, int category)
|
|
|
113
101
|
}
|
|
114
102
|
|
|
115
103
|
__attribute__((annotate("ALLOC_RET")))
|
|
116
|
-
__attribute__((annotate("SVF")))
|
|
117
104
|
__attribute__((annotate("STATIC")))
|
|
118
105
|
char * dgettext(const char * domainname, const char * msgid)
|
|
119
106
|
{
|
|
@@ -121,7 +108,6 @@ char * dgettext(const char * domainname, const char * msgid)
|
|
|
121
108
|
}
|
|
122
109
|
|
|
123
110
|
__attribute__((annotate("ALLOC_RET")))
|
|
124
|
-
__attribute__((annotate("SVF")))
|
|
125
111
|
__attribute__((annotate("STATIC")))
|
|
126
112
|
char * dngettext(const char * domainname, const char * msgid, const char * msgid_plural, unsigned long int n)
|
|
127
113
|
{
|
|
@@ -129,7 +115,6 @@ char * dngettext(const char * domainname, const char * msgid, const char * msgid
|
|
|
129
115
|
}
|
|
130
116
|
|
|
131
117
|
__attribute__((annotate("ALLOC_RET")))
|
|
132
|
-
__attribute__((annotate("SVF")))
|
|
133
118
|
__attribute__((annotate("STATIC")))
|
|
134
119
|
void *fdopen(int fd, const char *mode)
|
|
135
120
|
{
|
|
@@ -137,7 +122,6 @@ void *fdopen(int fd, const char *mode)
|
|
|
137
122
|
}
|
|
138
123
|
|
|
139
124
|
__attribute__((annotate("ALLOC_RET")))
|
|
140
|
-
__attribute__((annotate("SVF")))
|
|
141
125
|
__attribute__((annotate("STATIC")))
|
|
142
126
|
struct group *getgrgid(unsigned int gid)
|
|
143
127
|
{
|
|
@@ -145,7 +129,6 @@ struct group *getgrgid(unsigned int gid)
|
|
|
145
129
|
}
|
|
146
130
|
|
|
147
131
|
__attribute__((annotate("ALLOC_RET")))
|
|
148
|
-
__attribute__((annotate("SVF")))
|
|
149
132
|
__attribute__((annotate("STATIC")))
|
|
150
133
|
struct group *getgrnam(const char *name)
|
|
151
134
|
{
|
|
@@ -153,7 +136,6 @@ struct group *getgrnam(const char *name)
|
|
|
153
136
|
}
|
|
154
137
|
|
|
155
138
|
__attribute__((annotate("ALLOC_RET")))
|
|
156
|
-
__attribute__((annotate("SVF")))
|
|
157
139
|
__attribute__((annotate("STATIC")))
|
|
158
140
|
struct hostent *gethostbyaddr(const void *addr, unsigned int len, int type)
|
|
159
141
|
{
|
|
@@ -161,7 +143,6 @@ struct hostent *gethostbyaddr(const void *addr, unsigned int len, int type)
|
|
|
161
143
|
}
|
|
162
144
|
|
|
163
145
|
__attribute__((annotate("ALLOC_RET")))
|
|
164
|
-
__attribute__((annotate("SVF")))
|
|
165
146
|
__attribute__((annotate("STATIC")))
|
|
166
147
|
struct hostent *gethostbyname(const char *name)
|
|
167
148
|
{
|
|
@@ -169,7 +150,6 @@ struct hostent *gethostbyname(const char *name)
|
|
|
169
150
|
}
|
|
170
151
|
|
|
171
152
|
__attribute__((annotate("ALLOC_RET")))
|
|
172
|
-
__attribute__((annotate("SVF")))
|
|
173
153
|
__attribute__((annotate("STATIC")))
|
|
174
154
|
struct hostent *gethostbyname2(const char *name, int af)
|
|
175
155
|
{
|
|
@@ -177,7 +157,6 @@ struct hostent *gethostbyname2(const char *name, int af)
|
|
|
177
157
|
}
|
|
178
158
|
|
|
179
159
|
__attribute__((annotate("ALLOC_RET")))
|
|
180
|
-
__attribute__((annotate("SVF")))
|
|
181
160
|
__attribute__((annotate("STATIC")))
|
|
182
161
|
struct mntent *getmntent(void *stream)
|
|
183
162
|
{
|
|
@@ -185,7 +164,6 @@ struct mntent *getmntent(void *stream)
|
|
|
185
164
|
}
|
|
186
165
|
|
|
187
166
|
__attribute__((annotate("ALLOC_RET")))
|
|
188
|
-
__attribute__((annotate("SVF")))
|
|
189
167
|
__attribute__((annotate("STATIC")))
|
|
190
168
|
struct protoent *getprotobyname(const char *name)
|
|
191
169
|
{
|
|
@@ -193,7 +171,6 @@ struct protoent *getprotobyname(const char *name)
|
|
|
193
171
|
}
|
|
194
172
|
|
|
195
173
|
__attribute__((annotate("ALLOC_RET")))
|
|
196
|
-
__attribute__((annotate("SVF")))
|
|
197
174
|
__attribute__((annotate("STATIC")))
|
|
198
175
|
struct protoent *getprotobynumber(int proto)
|
|
199
176
|
{
|
|
@@ -201,7 +178,6 @@ struct protoent *getprotobynumber(int proto)
|
|
|
201
178
|
}
|
|
202
179
|
|
|
203
180
|
__attribute__((annotate("ALLOC_RET")))
|
|
204
|
-
__attribute__((annotate("SVF")))
|
|
205
181
|
__attribute__((annotate("STATIC")))
|
|
206
182
|
struct passwd *getpwent(void)
|
|
207
183
|
{
|
|
@@ -209,7 +185,6 @@ struct passwd *getpwent(void)
|
|
|
209
185
|
}
|
|
210
186
|
|
|
211
187
|
__attribute__((annotate("ALLOC_RET")))
|
|
212
|
-
__attribute__((annotate("SVF")))
|
|
213
188
|
__attribute__((annotate("STATIC")))
|
|
214
189
|
struct passwd *getpwnam(const char *name)
|
|
215
190
|
{
|
|
@@ -217,7 +192,6 @@ struct passwd *getpwnam(const char *name)
|
|
|
217
192
|
}
|
|
218
193
|
|
|
219
194
|
__attribute__((annotate("ALLOC_RET")))
|
|
220
|
-
__attribute__((annotate("SVF")))
|
|
221
195
|
__attribute__((annotate("STATIC")))
|
|
222
196
|
struct passwd *getpwuid(unsigned int uid)
|
|
223
197
|
{
|
|
@@ -225,7 +199,6 @@ struct passwd *getpwuid(unsigned int uid)
|
|
|
225
199
|
}
|
|
226
200
|
|
|
227
201
|
__attribute__((annotate("ALLOC_RET")))
|
|
228
|
-
__attribute__((annotate("SVF")))
|
|
229
202
|
__attribute__((annotate("STATIC")))
|
|
230
203
|
struct servent *getservbyname(const char *name, const char *proto)
|
|
231
204
|
{
|
|
@@ -233,7 +206,6 @@ struct servent *getservbyname(const char *name, const char *proto)
|
|
|
233
206
|
}
|
|
234
207
|
|
|
235
208
|
__attribute__((annotate("ALLOC_RET")))
|
|
236
|
-
__attribute__((annotate("SVF")))
|
|
237
209
|
__attribute__((annotate("STATIC")))
|
|
238
210
|
struct servent *getservbyport(int port, const char *proto)
|
|
239
211
|
{
|
|
@@ -241,7 +213,6 @@ struct servent *getservbyport(int port, const char *proto)
|
|
|
241
213
|
}
|
|
242
214
|
|
|
243
215
|
__attribute__((annotate("ALLOC_RET")))
|
|
244
|
-
__attribute__((annotate("SVF")))
|
|
245
216
|
__attribute__((annotate("STATIC")))
|
|
246
217
|
struct spwd *getspnam(const char *name)
|
|
247
218
|
{
|
|
@@ -249,7 +220,6 @@ struct spwd *getspnam(const char *name)
|
|
|
249
220
|
}
|
|
250
221
|
|
|
251
222
|
__attribute__((annotate("ALLOC_RET")))
|
|
252
|
-
__attribute__((annotate("SVF")))
|
|
253
223
|
__attribute__((annotate("STATIC")))
|
|
254
224
|
char * gettext(const char * msgid)
|
|
255
225
|
{
|
|
@@ -257,7 +227,6 @@ char * gettext(const char * msgid)
|
|
|
257
227
|
}
|
|
258
228
|
|
|
259
229
|
__attribute__((annotate("ALLOC_RET")))
|
|
260
|
-
__attribute__((annotate("SVF")))
|
|
261
230
|
__attribute__((annotate("STATIC")))
|
|
262
231
|
struct tm *gmtime(const void *timer)
|
|
263
232
|
{
|
|
@@ -265,7 +234,6 @@ struct tm *gmtime(const void *timer)
|
|
|
265
234
|
}
|
|
266
235
|
|
|
267
236
|
__attribute__((annotate("ALLOC_RET")))
|
|
268
|
-
__attribute__((annotate("SVF")))
|
|
269
237
|
__attribute__((annotate("STATIC")))
|
|
270
238
|
const char *gnu_get_libc_version(void)
|
|
271
239
|
{
|
|
@@ -273,7 +241,6 @@ const char *gnu_get_libc_version(void)
|
|
|
273
241
|
}
|
|
274
242
|
|
|
275
243
|
__attribute__((annotate("ALLOC_RET")))
|
|
276
|
-
__attribute__((annotate("SVF")))
|
|
277
244
|
__attribute__((annotate("STATIC")))
|
|
278
245
|
const char * gnutls_check_version(const char * req_version)
|
|
279
246
|
{
|
|
@@ -281,7 +248,6 @@ const char * gnutls_check_version(const char * req_version)
|
|
|
281
248
|
}
|
|
282
249
|
|
|
283
250
|
__attribute__((annotate("ALLOC_RET")))
|
|
284
|
-
__attribute__((annotate("SVF")))
|
|
285
251
|
__attribute__((annotate("STATIC")))
|
|
286
252
|
struct lconv *localeconv(void)
|
|
287
253
|
{
|
|
@@ -289,7 +255,6 @@ struct lconv *localeconv(void)
|
|
|
289
255
|
}
|
|
290
256
|
|
|
291
257
|
__attribute__((annotate("ALLOC_RET")))
|
|
292
|
-
__attribute__((annotate("SVF")))
|
|
293
258
|
__attribute__((annotate("STATIC")))
|
|
294
259
|
struct tm *localtime(const void *timer)
|
|
295
260
|
{
|
|
@@ -297,7 +262,6 @@ struct tm *localtime(const void *timer)
|
|
|
297
262
|
}
|
|
298
263
|
|
|
299
264
|
__attribute__((annotate("ALLOC_RET")))
|
|
300
|
-
__attribute__((annotate("SVF")))
|
|
301
265
|
__attribute__((annotate("STATIC")))
|
|
302
266
|
char * ngettext(const char * msgid, const char * msgid_plural, unsigned long int n)
|
|
303
267
|
{
|
|
@@ -305,7 +269,6 @@ char * ngettext(const char * msgid, const char * msgid_plural, unsigned long int
|
|
|
305
269
|
}
|
|
306
270
|
|
|
307
271
|
__attribute__((annotate("ALLOC_RET")))
|
|
308
|
-
__attribute__((annotate("SVF")))
|
|
309
272
|
__attribute__((annotate("STATIC")))
|
|
310
273
|
void *pango_cairo_font_map_get_default(void)
|
|
311
274
|
{
|
|
@@ -313,7 +276,6 @@ void *pango_cairo_font_map_get_default(void)
|
|
|
313
276
|
}
|
|
314
277
|
|
|
315
278
|
__attribute__((annotate("ALLOC_RET")))
|
|
316
|
-
__attribute__((annotate("SVF")))
|
|
317
279
|
__attribute__((annotate("STATIC")))
|
|
318
280
|
char *re_comp(const char *regex)
|
|
319
281
|
{
|
|
@@ -321,7 +283,6 @@ char *re_comp(const char *regex)
|
|
|
321
283
|
}
|
|
322
284
|
|
|
323
285
|
__attribute__((annotate("ALLOC_RET")))
|
|
324
|
-
__attribute__((annotate("SVF")))
|
|
325
286
|
__attribute__((annotate("STATIC")))
|
|
326
287
|
char *setlocale(int category, const char *locale)
|
|
327
288
|
{
|
|
@@ -329,7 +290,6 @@ char *setlocale(int category, const char *locale)
|
|
|
329
290
|
}
|
|
330
291
|
|
|
331
292
|
__attribute__((annotate("ALLOC_RET")))
|
|
332
|
-
__attribute__((annotate("SVF")))
|
|
333
293
|
__attribute__((annotate("STATIC")))
|
|
334
294
|
char *tgoto(const char *cap, int col, int row)
|
|
335
295
|
{
|
|
@@ -337,7 +297,6 @@ char *tgoto(const char *cap, int col, int row)
|
|
|
337
297
|
}
|
|
338
298
|
|
|
339
299
|
__attribute__((annotate("ALLOC_RET")))
|
|
340
|
-
__attribute__((annotate("SVF")))
|
|
341
300
|
__attribute__((annotate("STATIC")))
|
|
342
301
|
char *tparm(char *str, ...)
|
|
343
302
|
{
|
|
@@ -345,7 +304,6 @@ char *tparm(char *str, ...)
|
|
|
345
304
|
}
|
|
346
305
|
|
|
347
306
|
__attribute__((annotate("ALLOC_RET")))
|
|
348
|
-
__attribute__((annotate("SVF")))
|
|
349
307
|
__attribute__((annotate("STATIC")))
|
|
350
308
|
const char *zError(int a)
|
|
351
309
|
{
|
|
@@ -353,758 +311,647 @@ const char *zError(int a)
|
|
|
353
311
|
}
|
|
354
312
|
|
|
355
313
|
__attribute__((annotate("ALLOC_RET")))
|
|
356
|
-
__attribute__((annotate("SVF")))
|
|
357
314
|
void *fopen(const char *voidname, const char *mode)
|
|
358
315
|
{
|
|
359
316
|
return NULL;
|
|
360
317
|
}
|
|
361
318
|
|
|
362
319
|
__attribute__((annotate("ALLOC_RET")))
|
|
363
|
-
__attribute__((annotate("SVF")))
|
|
364
320
|
void *fopen64(const char *voidname, const char *mode)
|
|
365
321
|
{
|
|
366
322
|
return NULL;
|
|
367
323
|
}
|
|
368
324
|
|
|
369
325
|
__attribute__((annotate("ALLOC_RET")))
|
|
370
|
-
__attribute__((annotate("SVF")))
|
|
371
326
|
struct dirent64 *readdir64(void *dirp)
|
|
372
327
|
{
|
|
373
328
|
return NULL;
|
|
374
329
|
}
|
|
375
330
|
|
|
376
331
|
__attribute__((annotate("ALLOC_RET")))
|
|
377
|
-
__attribute__((annotate("SVF")))
|
|
378
332
|
void *tmpvoid64(void)
|
|
379
333
|
{
|
|
380
334
|
return NULL;
|
|
381
335
|
}
|
|
382
336
|
|
|
383
337
|
__attribute__((annotate("ALLOC_RET")))
|
|
384
|
-
__attribute__((annotate("SVF")))
|
|
385
338
|
void *calloc(unsigned long nitems, unsigned long size)
|
|
386
339
|
{
|
|
387
340
|
return NULL;
|
|
388
341
|
}
|
|
389
342
|
|
|
390
343
|
__attribute__((annotate("ALLOC_RET")))
|
|
391
|
-
__attribute__((annotate("SVF")))
|
|
392
344
|
void *zmalloc(unsigned long size)
|
|
393
345
|
{
|
|
394
346
|
return NULL;
|
|
395
347
|
}
|
|
396
348
|
|
|
397
349
|
__attribute__((annotate("ALLOC_RET")))
|
|
398
|
-
__attribute__((annotate("SVF")))
|
|
399
350
|
void *gzdopen(int fd, const char *mode)
|
|
400
351
|
{
|
|
401
352
|
return NULL;
|
|
402
353
|
}
|
|
403
354
|
|
|
404
355
|
__attribute__((annotate("ALLOC_RET")))
|
|
405
|
-
__attribute__((annotate("SVF")))
|
|
406
356
|
void *iconv_open(const char *tocode, const char *fromcode)
|
|
407
357
|
{
|
|
408
358
|
return NULL;
|
|
409
359
|
}
|
|
410
360
|
|
|
411
361
|
__attribute__((annotate("ALLOC_RET")))
|
|
412
|
-
__attribute__((annotate("SVF")))
|
|
413
362
|
void *lalloc(unsigned long size, int a)
|
|
414
363
|
{
|
|
415
364
|
return NULL;
|
|
416
365
|
}
|
|
417
366
|
|
|
418
367
|
__attribute__((annotate("ALLOC_RET")))
|
|
419
|
-
__attribute__((annotate("SVF")))
|
|
420
368
|
void *lalloc_clear(unsigned long size, int a)
|
|
421
369
|
{
|
|
422
370
|
return NULL;
|
|
423
371
|
}
|
|
424
372
|
|
|
425
373
|
__attribute__((annotate("ALLOC_RET")))
|
|
426
|
-
__attribute__((annotate("SVF")))
|
|
427
374
|
long *nhalloc(unsigned int a, const char *b, int c)
|
|
428
375
|
{
|
|
429
376
|
return NULL;
|
|
430
377
|
}
|
|
431
378
|
|
|
432
379
|
__attribute__((annotate("ALLOC_RET")))
|
|
433
|
-
__attribute__((annotate("SVF")))
|
|
434
380
|
void *oballoc(unsigned long size)
|
|
435
381
|
{
|
|
436
382
|
return NULL;
|
|
437
383
|
}
|
|
438
384
|
|
|
439
385
|
__attribute__((annotate("ALLOC_RET")))
|
|
440
|
-
__attribute__((annotate("SVF")))
|
|
441
386
|
void *popen(const char *command, const char *type)
|
|
442
387
|
{
|
|
443
388
|
return NULL;
|
|
444
389
|
}
|
|
445
390
|
|
|
446
391
|
__attribute__((annotate("ALLOC_RET")))
|
|
447
|
-
__attribute__((annotate("SVF")))
|
|
448
392
|
void *pthread_getspecific(const char *a, const char *b)
|
|
449
393
|
{
|
|
450
394
|
return NULL;
|
|
451
395
|
}
|
|
452
396
|
|
|
453
397
|
__attribute__((annotate("ALLOC_RET")))
|
|
454
|
-
__attribute__((annotate("SVF")))
|
|
455
398
|
struct dirent *readdir(void *dirp)
|
|
456
399
|
{
|
|
457
400
|
return NULL;
|
|
458
401
|
}
|
|
459
402
|
|
|
460
403
|
__attribute__((annotate("ALLOC_RET")))
|
|
461
|
-
__attribute__((annotate("SVF")))
|
|
462
404
|
void* safe_calloc(unsigned nelem, unsigned elsize)
|
|
463
405
|
{
|
|
464
406
|
return NULL;
|
|
465
407
|
}
|
|
466
408
|
|
|
467
409
|
__attribute__((annotate("ALLOC_RET")))
|
|
468
|
-
__attribute__((annotate("SVF")))
|
|
469
410
|
void* safe_malloc(unsigned long size)
|
|
470
411
|
{
|
|
471
412
|
return NULL;
|
|
472
413
|
}
|
|
473
414
|
|
|
474
415
|
__attribute__((annotate("ALLOC_RET")))
|
|
475
|
-
__attribute__((annotate("SVF")))
|
|
476
416
|
char* safecalloc(int a, int b)
|
|
477
417
|
{
|
|
478
418
|
return NULL;
|
|
479
419
|
}
|
|
480
420
|
|
|
481
421
|
__attribute__((annotate("ALLOC_RET")))
|
|
482
|
-
__attribute__((annotate("SVF")))
|
|
483
422
|
char* safemalloc(int a, int b)
|
|
484
423
|
{
|
|
485
424
|
return NULL;
|
|
486
425
|
}
|
|
487
426
|
|
|
488
427
|
__attribute__((annotate("ALLOC_RET")))
|
|
489
|
-
__attribute__((annotate("SVF")))
|
|
490
428
|
void *setmntent(const char *voidname, const char *type)
|
|
491
429
|
{
|
|
492
430
|
return NULL;
|
|
493
431
|
}
|
|
494
432
|
|
|
495
433
|
__attribute__((annotate("ALLOC_RET")))
|
|
496
|
-
__attribute__((annotate("SVF")))
|
|
497
434
|
void *shmat(int shmid, const void *shmaddr, int shmflg)
|
|
498
435
|
{
|
|
499
436
|
return NULL;
|
|
500
437
|
}
|
|
501
438
|
|
|
502
439
|
__attribute__((annotate("ALLOC_RET")))
|
|
503
|
-
__attribute__((annotate("SVF")))
|
|
504
440
|
void* __sysv_signal(int a, void *b)
|
|
505
441
|
{
|
|
506
442
|
return NULL;
|
|
507
443
|
}
|
|
508
444
|
|
|
509
445
|
__attribute__((annotate("ALLOC_RET")))
|
|
510
|
-
__attribute__((annotate("SVF")))
|
|
511
446
|
void (*signal(int sig, void (*func)(int)))(int)
|
|
512
447
|
{
|
|
513
448
|
return NULL;
|
|
514
449
|
}
|
|
515
450
|
|
|
516
451
|
__attribute__((annotate("ALLOC_RET")))
|
|
517
|
-
__attribute__((annotate("SVF")))
|
|
518
452
|
char *tempnam(const char *dir, const char *pfx)
|
|
519
453
|
{
|
|
520
454
|
return NULL;
|
|
521
455
|
}
|
|
522
456
|
|
|
523
457
|
__attribute__((annotate("ALLOC_RET")))
|
|
524
|
-
__attribute__((annotate("SVF")))
|
|
525
458
|
void *tmpvoid(void)
|
|
526
459
|
{
|
|
527
460
|
return NULL;
|
|
528
461
|
}
|
|
529
462
|
|
|
530
463
|
__attribute__((annotate("ALLOC_RET")))
|
|
531
|
-
__attribute__((annotate("SVF")))
|
|
532
464
|
void* xcalloc(unsigned long size1, unsigned long size2)
|
|
533
465
|
{
|
|
534
466
|
return NULL;
|
|
535
467
|
}
|
|
536
468
|
|
|
537
469
|
__attribute__((annotate("ALLOC_RET")))
|
|
538
|
-
__attribute__((annotate("SVF")))
|
|
539
470
|
void* xmalloc(unsigned long size)
|
|
540
471
|
{
|
|
541
472
|
return NULL;
|
|
542
473
|
}
|
|
543
474
|
|
|
544
475
|
__attribute__((annotate("ALLOC_RET")))
|
|
545
|
-
__attribute__((annotate("SVF")))
|
|
546
476
|
void *_Znam(unsigned long size)
|
|
547
477
|
{
|
|
548
478
|
return NULL;
|
|
549
479
|
}
|
|
550
480
|
|
|
551
481
|
__attribute__((annotate("ALLOC_RET")))
|
|
552
|
-
__attribute__((annotate("SVF")))
|
|
553
482
|
void *_Znaj(unsigned long size)
|
|
554
483
|
{
|
|
555
484
|
return NULL;
|
|
556
485
|
}
|
|
557
486
|
|
|
558
487
|
__attribute__((annotate("ALLOC_RET")))
|
|
559
|
-
__attribute__((annotate("SVF")))
|
|
560
488
|
void *_Znwj(unsigned long size)
|
|
561
489
|
{
|
|
562
490
|
return NULL;
|
|
563
491
|
}
|
|
564
492
|
|
|
565
493
|
__attribute__((annotate("ALLOC_RET")))
|
|
566
|
-
__attribute__((annotate("SVF")))
|
|
567
494
|
void *__cxa_allocate_exception(unsigned long size)
|
|
568
495
|
{
|
|
569
496
|
return NULL;
|
|
570
497
|
}
|
|
571
498
|
|
|
572
499
|
__attribute__((annotate("ALLOC_RET")))
|
|
573
|
-
__attribute__((annotate("SVF")))
|
|
574
500
|
void* aligned_alloc(unsigned long size1, unsigned long size2)
|
|
575
501
|
{
|
|
576
502
|
return NULL;
|
|
577
503
|
}
|
|
578
504
|
|
|
579
505
|
__attribute__((annotate("ALLOC_RET")))
|
|
580
|
-
__attribute__((annotate("SVF")))
|
|
581
506
|
void* memalign(unsigned long size1, unsigned long size2)
|
|
582
507
|
{
|
|
583
508
|
return NULL;
|
|
584
509
|
}
|
|
585
510
|
|
|
586
511
|
__attribute__((annotate("ALLOC_RET")))
|
|
587
|
-
__attribute__((annotate("SVF")))
|
|
588
512
|
void *valloc(unsigned long size)
|
|
589
513
|
{
|
|
590
514
|
return NULL;
|
|
591
515
|
}
|
|
592
516
|
|
|
593
517
|
__attribute__((annotate("ALLOC_RET")))
|
|
594
|
-
__attribute__((annotate("SVF")))
|
|
595
518
|
void *mmap64(void *addr, unsigned long len, int prot, int flags, int fildes, long off)
|
|
596
519
|
{
|
|
597
520
|
return NULL;
|
|
598
521
|
}
|
|
599
522
|
|
|
600
523
|
__attribute__((annotate("ALLOC_RET")))
|
|
601
|
-
__attribute__((annotate("SVF")))
|
|
602
524
|
char *XSetLocaleModifiers(char *a)
|
|
603
525
|
{
|
|
604
526
|
return NULL;
|
|
605
527
|
}
|
|
606
528
|
|
|
607
529
|
__attribute__((annotate("ALLOC_RET")))
|
|
608
|
-
__attribute__((annotate("SVF")))
|
|
609
530
|
char * __strdup(const char * string)
|
|
610
531
|
{
|
|
611
532
|
return NULL;
|
|
612
533
|
}
|
|
613
534
|
|
|
614
535
|
__attribute__((annotate("ALLOC_RET")))
|
|
615
|
-
__attribute__((annotate("SVF")))
|
|
616
536
|
char *crypt(const char *key, const char *salt)
|
|
617
537
|
{
|
|
618
538
|
return NULL;
|
|
619
539
|
}
|
|
620
540
|
|
|
621
541
|
__attribute__((annotate("ALLOC_RET")))
|
|
622
|
-
__attribute__((annotate("SVF")))
|
|
623
542
|
char *ctime(const void *timer)
|
|
624
543
|
{
|
|
625
544
|
return NULL;
|
|
626
545
|
}
|
|
627
546
|
|
|
628
547
|
__attribute__((annotate("ALLOC_RET")))
|
|
629
|
-
__attribute__((annotate("SVF")))
|
|
630
548
|
char *dlerror(void)
|
|
631
549
|
{
|
|
632
550
|
return NULL;
|
|
633
551
|
}
|
|
634
552
|
|
|
635
553
|
__attribute__((annotate("ALLOC_RET")))
|
|
636
|
-
__attribute__((annotate("SVF")))
|
|
637
554
|
void *dlopen(const char *voidname, int flags)
|
|
638
555
|
{
|
|
639
556
|
return NULL;
|
|
640
557
|
}
|
|
641
558
|
|
|
642
559
|
__attribute__((annotate("ALLOC_RET")))
|
|
643
|
-
__attribute__((annotate("SVF")))
|
|
644
560
|
const char *gai_strerror(int errcode)
|
|
645
561
|
{
|
|
646
562
|
return NULL;
|
|
647
563
|
}
|
|
648
564
|
|
|
649
565
|
__attribute__((annotate("ALLOC_RET")))
|
|
650
|
-
__attribute__((annotate("SVF")))
|
|
651
566
|
const char *gcry_cipher_algo_name(int errcode)
|
|
652
567
|
{
|
|
653
568
|
return NULL;
|
|
654
569
|
}
|
|
655
570
|
|
|
656
571
|
__attribute__((annotate("ALLOC_RET")))
|
|
657
|
-
__attribute__((annotate("SVF")))
|
|
658
572
|
const char *svfgcry_md_algo_name_(int errcode)
|
|
659
573
|
{
|
|
660
574
|
return NULL;
|
|
661
575
|
}
|
|
662
576
|
|
|
663
577
|
__attribute__((annotate("ALLOC_RET")))
|
|
664
|
-
__attribute__((annotate("SVF")))
|
|
665
578
|
char *getenv(const char *name)
|
|
666
579
|
{
|
|
667
580
|
return NULL;
|
|
668
581
|
}
|
|
669
582
|
|
|
670
583
|
__attribute__((annotate("ALLOC_RET")))
|
|
671
|
-
__attribute__((annotate("SVF")))
|
|
672
584
|
char *getlogin(void)
|
|
673
585
|
{
|
|
674
586
|
return NULL;
|
|
675
587
|
}
|
|
676
588
|
|
|
677
589
|
__attribute__((annotate("ALLOC_RET")))
|
|
678
|
-
__attribute__((annotate("SVF")))
|
|
679
590
|
char *getpass(const char *prompt)
|
|
680
591
|
{
|
|
681
592
|
return NULL;
|
|
682
593
|
}
|
|
683
594
|
|
|
684
595
|
__attribute__((annotate("ALLOC_RET")))
|
|
685
|
-
__attribute__((annotate("SVF")))
|
|
686
596
|
const char * gnutls_strerror(int error)
|
|
687
597
|
{
|
|
688
598
|
return NULL;
|
|
689
599
|
}
|
|
690
600
|
|
|
691
601
|
__attribute__((annotate("ALLOC_RET")))
|
|
692
|
-
__attribute__((annotate("SVF")))
|
|
693
602
|
const char *gpg_strerror(unsigned int a)
|
|
694
603
|
{
|
|
695
604
|
return NULL;
|
|
696
605
|
}
|
|
697
606
|
|
|
698
607
|
__attribute__((annotate("ALLOC_RET")))
|
|
699
|
-
__attribute__((annotate("SVF")))
|
|
700
608
|
const char * gzerror(void* file, int * errnum)
|
|
701
609
|
{
|
|
702
610
|
return NULL;
|
|
703
611
|
}
|
|
704
612
|
|
|
705
613
|
__attribute__((annotate("ALLOC_RET")))
|
|
706
|
-
__attribute__((annotate("SVF")))
|
|
707
614
|
char *inet_ntoa(unsigned int in)
|
|
708
615
|
{
|
|
709
616
|
return NULL;
|
|
710
617
|
}
|
|
711
618
|
|
|
712
619
|
__attribute__((annotate("ALLOC_RET")))
|
|
713
|
-
__attribute__((annotate("SVF")))
|
|
714
620
|
void *initscr(void)
|
|
715
621
|
{
|
|
716
622
|
return NULL;
|
|
717
623
|
}
|
|
718
624
|
|
|
719
625
|
__attribute__((annotate("ALLOC_RET")))
|
|
720
|
-
__attribute__((annotate("SVF")))
|
|
721
626
|
void* llvm_stacksave()
|
|
722
627
|
{
|
|
723
628
|
return NULL;
|
|
724
629
|
}
|
|
725
630
|
|
|
726
631
|
__attribute__((annotate("ALLOC_RET")))
|
|
727
|
-
__attribute__((annotate("SVF")))
|
|
728
632
|
void *mmap(void *addr, unsigned long len, int prot, int flags, int fildes, long off)
|
|
729
633
|
{
|
|
730
634
|
return NULL;
|
|
731
635
|
}
|
|
732
636
|
|
|
733
637
|
__attribute__((annotate("ALLOC_RET")))
|
|
734
|
-
__attribute__((annotate("SVF")))
|
|
735
638
|
void *newwin(int nlines, int ncols, int begin_y, int begin_x)
|
|
736
639
|
{
|
|
737
640
|
return NULL;
|
|
738
641
|
}
|
|
739
642
|
|
|
740
643
|
__attribute__((annotate("ALLOC_RET")))
|
|
741
|
-
__attribute__((annotate("SVF")))
|
|
742
644
|
char *nl_langinfo(int item)
|
|
743
645
|
{
|
|
744
646
|
return NULL;
|
|
745
647
|
}
|
|
746
648
|
|
|
747
649
|
__attribute__((annotate("ALLOC_RET")))
|
|
748
|
-
__attribute__((annotate("SVF")))
|
|
749
650
|
void *opendir(const char *name)
|
|
750
651
|
{
|
|
751
652
|
return NULL;
|
|
752
653
|
}
|
|
753
654
|
|
|
754
655
|
__attribute__((annotate("ALLOC_RET")))
|
|
755
|
-
__attribute__((annotate("SVF")))
|
|
756
656
|
void *sbrk(long increment)
|
|
757
657
|
{
|
|
758
658
|
return NULL;
|
|
759
659
|
}
|
|
760
660
|
|
|
761
661
|
__attribute__((annotate("ALLOC_RET")))
|
|
762
|
-
__attribute__((annotate("SVF")))
|
|
763
662
|
char *strdup(const char *s)
|
|
764
663
|
{
|
|
765
664
|
return NULL;
|
|
766
665
|
}
|
|
767
666
|
|
|
768
667
|
__attribute__((annotate("ALLOC_RET")))
|
|
769
|
-
__attribute__((annotate("SVF")))
|
|
770
668
|
char *strerror(int errnum)
|
|
771
669
|
{
|
|
772
670
|
return NULL;
|
|
773
671
|
}
|
|
774
672
|
|
|
775
673
|
__attribute__((annotate("ALLOC_RET")))
|
|
776
|
-
__attribute__((annotate("SVF")))
|
|
777
674
|
char *strsignal(int errnum)
|
|
778
675
|
{
|
|
779
676
|
return NULL;
|
|
780
677
|
}
|
|
781
678
|
|
|
782
679
|
__attribute__((annotate("ALLOC_RET")))
|
|
783
|
-
__attribute__((annotate("SVF")))
|
|
784
680
|
char *textdomain(const char * domainname)
|
|
785
681
|
{
|
|
786
682
|
return NULL;
|
|
787
683
|
}
|
|
788
684
|
|
|
789
685
|
__attribute__((annotate("ALLOC_RET")))
|
|
790
|
-
__attribute__((annotate("SVF")))
|
|
791
686
|
char *tgetstr(char *id, char **area)
|
|
792
687
|
{
|
|
793
688
|
return NULL;
|
|
794
689
|
}
|
|
795
690
|
|
|
796
691
|
__attribute__((annotate("ALLOC_RET")))
|
|
797
|
-
__attribute__((annotate("SVF")))
|
|
798
692
|
char *tigetstr(char *capname)
|
|
799
693
|
{
|
|
800
694
|
return NULL;
|
|
801
695
|
}
|
|
802
696
|
|
|
803
697
|
__attribute__((annotate("ALLOC_RET")))
|
|
804
|
-
__attribute__((annotate("SVF")))
|
|
805
698
|
char *tmpnam(char *s)
|
|
806
699
|
{
|
|
807
700
|
return NULL;
|
|
808
701
|
}
|
|
809
702
|
|
|
810
703
|
__attribute__((annotate("ALLOC_RET")))
|
|
811
|
-
__attribute__((annotate("SVF")))
|
|
812
704
|
char *ttyname(int fd)
|
|
813
705
|
{
|
|
814
706
|
return NULL;
|
|
815
707
|
}
|
|
816
708
|
|
|
817
709
|
__attribute__((annotate("ALLOC_RET")))
|
|
818
|
-
__attribute__((annotate("SVF")))
|
|
819
710
|
void *malloc(unsigned long size)
|
|
820
711
|
{
|
|
821
712
|
return NULL;
|
|
822
713
|
}
|
|
823
714
|
|
|
824
715
|
__attribute__((annotate("REALLOC_RET")))
|
|
825
|
-
__attribute__((annotate("SVF")))
|
|
826
716
|
char *getcwd(char *buf, unsigned long size)
|
|
827
717
|
{
|
|
828
718
|
return NULL;
|
|
829
719
|
}
|
|
830
720
|
|
|
831
721
|
__attribute__((annotate("REALLOC_RET")))
|
|
832
|
-
__attribute__((annotate("SVF")))
|
|
833
722
|
char *mem_realloc(void *ptr, unsigned long size)
|
|
834
723
|
{
|
|
835
724
|
return NULL;
|
|
836
725
|
}
|
|
837
726
|
|
|
838
727
|
__attribute__((annotate("REALLOC_RET")))
|
|
839
|
-
__attribute__((annotate("SVF")))
|
|
840
728
|
char *realloc(void *ptr, unsigned long size)
|
|
841
729
|
{
|
|
842
730
|
return NULL;
|
|
843
731
|
}
|
|
844
732
|
|
|
845
733
|
__attribute__((annotate("REALLOC_RET")))
|
|
846
|
-
__attribute__((annotate("SVF")))
|
|
847
734
|
void* safe_realloc(void *p, unsigned long n)
|
|
848
735
|
{
|
|
849
736
|
return NULL;
|
|
850
737
|
}
|
|
851
738
|
|
|
852
739
|
__attribute__((annotate("REALLOC_RET")))
|
|
853
|
-
__attribute__((annotate("SVF")))
|
|
854
740
|
void* saferealloc(void *p, unsigned long n1, unsigned long n2)
|
|
855
741
|
{
|
|
856
742
|
return NULL;
|
|
857
743
|
}
|
|
858
744
|
|
|
859
745
|
__attribute__((annotate("REALLOC_RET")))
|
|
860
|
-
__attribute__((annotate("SVF")))
|
|
861
746
|
void* safexrealloc()
|
|
862
747
|
{
|
|
863
748
|
return NULL;
|
|
864
749
|
}
|
|
865
750
|
|
|
866
751
|
__attribute__((annotate("REALLOC_RET")))
|
|
867
|
-
__attribute__((annotate("SVF")))
|
|
868
752
|
char *strtok(char *str, const char *delim)
|
|
869
753
|
{
|
|
870
754
|
return NULL;
|
|
871
755
|
}
|
|
872
756
|
|
|
873
757
|
__attribute__((annotate("REALLOC_RET")))
|
|
874
|
-
__attribute__((annotate("SVF")))
|
|
875
758
|
char *strtok_r(char *str, const char *delim, char **saveptr)
|
|
876
759
|
{
|
|
877
760
|
return NULL;
|
|
878
761
|
}
|
|
879
762
|
|
|
880
763
|
__attribute__((annotate("REALLOC_RET")))
|
|
881
|
-
__attribute__((annotate("SVF")))
|
|
882
764
|
void *xrealloc(void *ptr, unsigned long bytes)
|
|
883
765
|
{
|
|
884
766
|
return NULL;
|
|
885
767
|
}
|
|
886
768
|
|
|
887
769
|
__attribute__((annotate("ALLOC_RET")))
|
|
888
|
-
__attribute__((annotate("SVF")))
|
|
889
770
|
void *_Znwm(unsigned long size)
|
|
890
771
|
{
|
|
891
772
|
return NULL;
|
|
892
773
|
}
|
|
893
774
|
|
|
894
775
|
__attribute__((annotate("ALLOC_RET")))
|
|
895
|
-
__attribute__((annotate("SVF")))
|
|
896
776
|
void *_ZnwmRKSt9nothrow_t(unsigned long size, void *)
|
|
897
777
|
{
|
|
898
778
|
return NULL;
|
|
899
779
|
}
|
|
900
780
|
|
|
901
781
|
__attribute__((annotate("ALLOC_RET")))
|
|
902
|
-
__attribute__((annotate("SVF")))
|
|
903
782
|
void *_ZnamRKSt9nothrow_t(unsigned long size, void *)
|
|
904
783
|
{
|
|
905
784
|
return NULL;
|
|
906
785
|
}
|
|
907
786
|
|
|
908
787
|
__attribute__((annotate("ALLOC_ARG0")))
|
|
909
|
-
__attribute__((annotate("SVF")))
|
|
910
788
|
int asprintf(char **restrict strp, const char *restrict fmt, ...)
|
|
911
789
|
{
|
|
912
790
|
return 0;
|
|
913
791
|
}
|
|
914
792
|
|
|
915
793
|
__attribute__((annotate("ALLOC_ARG0")))
|
|
916
|
-
__attribute__((annotate("SVF")))
|
|
917
794
|
int vasprintf(char **strp, const char *fmt, void* ap)
|
|
918
795
|
{
|
|
919
796
|
return 0;
|
|
920
797
|
}
|
|
921
798
|
|
|
922
799
|
__attribute__((annotate("ALLOC_ARG0")))
|
|
923
|
-
__attribute__((annotate("SVF")))
|
|
924
800
|
int db_create(void **dbp, void *dbenv, unsigned int flags)
|
|
925
801
|
{
|
|
926
802
|
return 0;
|
|
927
803
|
}
|
|
928
804
|
|
|
929
805
|
__attribute__((annotate("ALLOC_ARG0")))
|
|
930
|
-
__attribute__((annotate("SVF")))
|
|
931
806
|
int gnutls_pkcs12_bag_init(void *a)
|
|
932
807
|
{
|
|
933
808
|
return 0;
|
|
934
809
|
}
|
|
935
810
|
|
|
936
811
|
__attribute__((annotate("ALLOC_ARG0")))
|
|
937
|
-
__attribute__((annotate("SVF")))
|
|
938
812
|
int gnutls_pkcs12_init(void *a)
|
|
939
813
|
{
|
|
940
814
|
return 0;
|
|
941
815
|
}
|
|
942
816
|
|
|
943
817
|
__attribute__((annotate("ALLOC_ARG0")))
|
|
944
|
-
__attribute__((annotate("SVF")))
|
|
945
818
|
int gnutls_x509_crt_init(void *a)
|
|
946
819
|
{
|
|
947
820
|
return 0;
|
|
948
821
|
}
|
|
949
822
|
|
|
950
823
|
__attribute__((annotate("ALLOC_ARG0")))
|
|
951
|
-
__attribute__((annotate("SVF")))
|
|
952
824
|
int gnutls_x509_privkey_init(void *a)
|
|
953
825
|
{
|
|
954
826
|
return 0;
|
|
955
827
|
}
|
|
956
828
|
|
|
957
829
|
__attribute__((annotate("ALLOC_ARG0")))
|
|
958
|
-
__attribute__((annotate("SVF")))
|
|
959
830
|
int posix_memalign(void **a, unsigned long b, unsigned long c)
|
|
960
831
|
{
|
|
961
832
|
return 0;
|
|
962
833
|
}
|
|
963
834
|
|
|
964
835
|
__attribute__((annotate("ALLOC_ARG1")))
|
|
965
|
-
__attribute__((annotate("SVF")))
|
|
966
836
|
int scandir(const char *restrict dirp, struct dirent ***restrict namelist, int (*filter)(const struct dirent *), int (*compar)(const struct dirent **, const struct dirent **))
|
|
967
837
|
{
|
|
968
838
|
return 0;
|
|
969
839
|
}
|
|
970
840
|
|
|
971
841
|
__attribute__((annotate("ALLOC_ARG2")))
|
|
972
|
-
__attribute__((annotate("SVF")))
|
|
973
842
|
int XmbTextPropertyToTextList(void *a, void *b, char ***c, int *d)
|
|
974
843
|
{
|
|
975
844
|
return 0;
|
|
976
845
|
}
|
|
977
846
|
|
|
978
847
|
__attribute__((annotate("MEMCPY")))
|
|
979
|
-
__attribute__((annotate("SVF")))
|
|
980
848
|
void llvm_memcpy_p0i8_p0i8_i64(char* dst, char* src, int sz, int flag){}
|
|
981
849
|
|
|
982
850
|
__attribute__((annotate("MEMCPY")))
|
|
983
|
-
__attribute__((annotate("SVF")))
|
|
984
851
|
void llvm_memcpy_p0i8_p0i8_i32(char* dst, char* src, int sz, int flag){}
|
|
985
852
|
|
|
986
853
|
__attribute__((annotate("MEMCPY")))
|
|
987
|
-
__attribute__((annotate("SVF")))
|
|
988
854
|
void llvm_memcpy(char* dst, char* src, int sz, int flag){}
|
|
989
855
|
|
|
990
856
|
__attribute__((annotate("MEMCPY")))
|
|
991
|
-
__attribute__((annotate("SVF")))
|
|
992
857
|
void llvm_memmove(char* dst, char* src, int sz, int flag){}
|
|
993
858
|
|
|
994
859
|
__attribute__((annotate("MEMCPY")))
|
|
995
|
-
__attribute__((annotate("SVF")))
|
|
996
860
|
void llvm_memmove_p0i8_p0i8_i64(char* dst, char* src, int sz, int flag){}
|
|
997
861
|
|
|
998
862
|
__attribute__((annotate("MEMCPY")))
|
|
999
|
-
__attribute__((annotate("SVF")))
|
|
1000
863
|
void llvm_memmove_p0i8_p0i8_i32(char* dst, char* src, int sz, int flag){}
|
|
1001
864
|
|
|
1002
865
|
__attribute__((annotate("MEMCPY")))
|
|
1003
|
-
__attribute__((annotate("SVF")))
|
|
1004
866
|
void __memcpy_chk(char* dst, char* src, int sz, int flag){}
|
|
1005
867
|
|
|
1006
868
|
__attribute__((annotate("MEMCPY")))
|
|
1007
|
-
__attribute__((annotate("SVF")))
|
|
1008
869
|
void *memmove(void *str1, const void *str2, unsigned long n)
|
|
1009
870
|
{
|
|
1010
871
|
return NULL;
|
|
1011
872
|
}
|
|
1012
873
|
|
|
1013
874
|
__attribute__((annotate("MEMCPY")))
|
|
1014
|
-
__attribute__((annotate("SVF")))
|
|
1015
875
|
void bcopy(const void *s1, void *s2, unsigned long n){}
|
|
1016
876
|
|
|
1017
877
|
__attribute__((annotate("MEMCPY")))
|
|
1018
|
-
__attribute__((annotate("SVF")))
|
|
1019
878
|
void *memccpy( void * restrict dest, const void * restrict src, int c, unsigned long count)
|
|
1020
879
|
{
|
|
1021
880
|
return NULL;
|
|
1022
881
|
}
|
|
1023
882
|
|
|
1024
883
|
__attribute__((annotate("MEMCPY")))
|
|
1025
|
-
__attribute__((annotate("SVF")))
|
|
1026
884
|
void __memmove_chk(char* dst, char* src, int sz){}
|
|
1027
885
|
|
|
1028
886
|
__attribute__((annotate("MEMSET")))
|
|
1029
|
-
__attribute__((annotate("SVF")))
|
|
1030
887
|
void llvm_memset(char* dst, char elem, int sz, int flag){}
|
|
1031
888
|
|
|
1032
889
|
__attribute__((annotate("MEMSET")))
|
|
1033
|
-
__attribute__((annotate("SVF")))
|
|
1034
890
|
void llvm_memset_p0i8_i32(char* dst, char elem, int sz, int flag){}
|
|
1035
891
|
|
|
1036
892
|
__attribute__((annotate("MEMSET")))
|
|
1037
|
-
__attribute__((annotate("SVF")))
|
|
1038
893
|
void llvm_memset_p0i8_i64(char* dst, char elem, int sz, int flag){}
|
|
1039
894
|
|
|
1040
895
|
__attribute__((annotate("MEMSET")))
|
|
1041
|
-
__attribute__((annotate("SVF")))
|
|
1042
896
|
char *__memset_chk(char * dest, int c, unsigned long destlen, int flag)
|
|
1043
897
|
{
|
|
1044
898
|
return NULL;
|
|
1045
899
|
}
|
|
1046
900
|
|
|
1047
901
|
__attribute__((annotate("MEMCPY")))
|
|
1048
|
-
__attribute__((annotate("SVF")))
|
|
1049
902
|
char * __strcpy_chk(char * dest, const char * src, unsigned long destlen)
|
|
1050
903
|
{
|
|
1051
904
|
return NULL;
|
|
1052
905
|
}
|
|
1053
906
|
|
|
1054
907
|
__attribute__((annotate("MEMCPY")))
|
|
1055
|
-
__attribute__((annotate("SVF")))
|
|
1056
908
|
char *__strcat_chk(char * dest, const char * src, unsigned long destlen)
|
|
1057
909
|
{
|
|
1058
910
|
return NULL;
|
|
1059
911
|
}
|
|
1060
912
|
|
|
1061
913
|
__attribute__((annotate("MEMCPY")))
|
|
1062
|
-
__attribute__((annotate("SVF")))
|
|
1063
914
|
char *stpcpy(char *restrict dst, const char *restrict src)
|
|
1064
915
|
{
|
|
1065
916
|
return NULL;
|
|
1066
917
|
}
|
|
1067
918
|
|
|
1068
919
|
__attribute__((annotate("MEMCPY")))
|
|
1069
|
-
__attribute__((annotate("SVF")))
|
|
1070
920
|
char *strcat(char *dest, const char *src)
|
|
1071
921
|
{
|
|
1072
922
|
return NULL;
|
|
1073
923
|
}
|
|
1074
924
|
|
|
1075
925
|
__attribute__((annotate("MEMCPY")))
|
|
1076
|
-
__attribute__((annotate("SVF")))
|
|
1077
926
|
char *strcpy(char *dest, const char *src)
|
|
1078
927
|
{
|
|
1079
928
|
return NULL;
|
|
1080
929
|
}
|
|
1081
930
|
|
|
1082
931
|
__attribute__((annotate("MEMCPY")))
|
|
1083
|
-
__attribute__((annotate("SVF")))
|
|
1084
932
|
char *strncat(char *dest, const char *src, unsigned long n)
|
|
1085
933
|
{
|
|
1086
934
|
return NULL;
|
|
1087
935
|
}
|
|
1088
936
|
|
|
1089
937
|
__attribute__((annotate("MEMCPY")))
|
|
1090
|
-
__attribute__((annotate("SVF")))
|
|
1091
938
|
char *strncpy(char *dest, const char *src, unsigned long n)
|
|
1092
939
|
{
|
|
1093
940
|
return NULL;
|
|
1094
941
|
}
|
|
1095
942
|
|
|
1096
943
|
__attribute__((annotate("MEMCPY")))
|
|
1097
|
-
__attribute__((annotate("SVF")))
|
|
1098
944
|
unsigned long iconv(void* cd, char **restrict inbuf, unsigned long *restrict inbytesleft, char **restrict outbuf, unsigned long *restrict outbytesleft)
|
|
1099
945
|
{
|
|
1100
946
|
return 0;
|
|
1101
947
|
}
|
|
1102
948
|
|
|
1103
949
|
__attribute__((annotate("OVERWRITE")))
|
|
1104
|
-
__attribute__((annotate("SVF")))
|
|
1105
950
|
void* _ZNSt5arrayIPK1ALm2EE4backEv(void *arg)
|
|
1106
951
|
{
|
|
1107
|
-
|
|
952
|
+
void* ptr1 = (char*)arg + 0;
|
|
953
|
+
void* ptr2 = (char*)ptr1 + 0;
|
|
954
|
+
return ptr2;
|
|
1108
955
|
}
|
|
1109
956
|
|
|
1110
957
|
|