Static Value-Flow Analysis
Loading...
Searching...
No Matches
extapi.c
Go to the documentation of this file.
1#include <stddef.h>
2
3// Ensure NULL is always defined (but don't redefine)
4#ifndef NULL
5# define NULL ((void *)0)
6#endif
7
8/*
9 Functions with __attribute__((annotate("XXX"))) will be handle by SVF specifcially.
10 Their logical behaviours can't be described by C/C++ language. For example, "malloc()" functionality is to alloc an object to it's return value.
11
12 The description of methodProperties is as follows:
13
14 ALLOC_HEAP_RET, // returns a pointer to a newly allocated heap object
15 ALLOC_HEAP_ARGi // stores a pointer to an allocated object in *argi
16 ALLOC_STACK_RET, // returns a pointer to a newly allocated stack object
17 REALLOC_HEAP_RET,
18 MEMSET, // memcpy() operations
19 MEMCPY, // memset() operations
20 STRLEN, // reads modeled fields of argument 0; clients compute the length
21 OVERWRITE, // svf function overwrite app function
22 STORE_TOP:Argi+, // store nondeterministic top values through argument i and following arguments
23 SCANF:FormatArgi, // argument i is a scanf-style format string; if it cannot write an address,
24 // the STORE_TOP outputs get an unknown non-pointer value instead of a black-hole pointer
25*/
26__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
27void *malloc(unsigned long size)
28{
29 return NULL;
30}
31
32__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg2")))
33void *HeapAlloc(void *hHeap, unsigned int dwFlags, unsigned long dwBytes)
34{
35 return NULL;
36}
37
38__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
39void *LocalAlloc(unsigned int uFlags, unsigned long uBytes)
40{
41 return NULL;
42}
43
44__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
45void *GlobalAlloc(unsigned int uFlags, unsigned long uBytes)
46{
47 return NULL;
48}
49
50__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
51void *_malloc_dbg(unsigned long size, int blockType, const char *filename, int linenumber)
52{
53 return NULL;
54}
55
56__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
57void *_aligned_malloc(unsigned long size, unsigned long alignment)
58{
59 return NULL;
60}
61
62__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:Arg3")))
63void *HeapReAlloc(void *hHeap, unsigned int dwFlags, void *lpMem, unsigned long dwBytes)
64{
65 return NULL;
66}
67
68__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
69void *LocalReAlloc(void *hMem, unsigned long uBytes, unsigned int uFlags)
70{
71 return NULL;
72}
73
74__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
75void *fopen(const char *voidname, const char *mode)
76{
77 return NULL;
78}
79
80__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
81void *fopen64(const char *voidname, const char *mode)
82{
83 return NULL;
84}
85
86__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
87void *fdopen(int fd, const char *mode)
88{
89 return NULL;
90}
91
92__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
93struct dirent64 *readdir64(void *dirp)
94{
95 return NULL;
96}
97
98__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
99void *tmpvoid64(void)
100{
101 return NULL;
102}
103
104__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0*Arg1")))
105void *calloc(unsigned long nitems, unsigned long size)
106{
107 return NULL;
108}
109
110__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
111void *zmalloc(unsigned long size)
112{
113 return NULL;
114}
115
116__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
117void *gzdopen(int fd, const char *mode)
118{
119 return NULL;
120}
121
122__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
123void *iconv_open(const char *tocode, const char *fromcode)
124{
125 return NULL;
126}
127
128__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
129void *lalloc(unsigned long size, int a)
130{
131 return NULL;
132}
133
134__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
135void *lalloc_clear(unsigned long size, int a)
136{
137 return NULL;
138}
139
140__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
141long *nhalloc(unsigned int a, const char *b, int c)
142{
143 return NULL;
144}
145
146__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
147void *oballoc(unsigned long size)
148{
149 return NULL;
150}
151
152__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
153void *popen(const char *command, const char *type)
154{
155 return NULL;
156}
157
158__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
159void *pthread_getspecific(const char *a, const char *b)
160{
161 return NULL;
162}
163
164__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
165struct dirent *readdir(void *dirp)
166{
167 return NULL;
168}
169
170__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0*Arg1")))
171void* safe_calloc(unsigned nelem, unsigned elsize)
172{
173 return NULL;
174}
175
176__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
177void* safe_malloc(unsigned long size)
178{
179 return NULL;
180}
181
182__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0*Arg1")))
183char* safecalloc(int a, int b)
184{
185 return NULL;
186}
187
188__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
189char* safemalloc(int a, int b)
190{
191 return NULL;
192}
193
194__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
195void *setmntent(const char *voidname, const char *type)
196{
197 return NULL;
198}
199
200__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
201void *shmat(int shmid, const void *shmaddr, int shmflg)
202{
203 return NULL;
204}
205
206__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
207void* __sysv_signal(int a, void *b)
208{
209 return NULL;
210}
211
212__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
213void (*signal(int sig, void (*func)(int)))(int)
214{
215 return NULL;
216}
217
218__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
219char *tempnam(const char *dir, const char *pfx)
220{
221 return NULL;
222}
223
224__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
225void *tmpvoid(void)
226{
227 return NULL;
228}
229
230__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
231void* xcalloc(unsigned long size1, unsigned long size2)
232{
233 return NULL;
234}
235
236__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
237void* xmalloc(unsigned long size)
238{
239 return NULL;
240}
241
242__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
243void *__cxa_allocate_exception(unsigned long size)
244{
245 return NULL;
246}
247
248__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
249void* aligned_alloc(unsigned long size1, unsigned long size2)
250{
251 return NULL;
252}
253
254__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
255void* memalign(unsigned long size1, unsigned long size2)
256{
257 return NULL;
258}
259
260__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
261void *valloc(unsigned long size)
262{
263 return NULL;
264}
265
266__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
267void *pvalloc(unsigned long size)
268{
269 return NULL;
270}
271
272__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
273void *mmap64(void *addr, unsigned long len, int prot, int flags, int fildes, long off)
274{
275 return NULL;
276}
277
278__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
279char *XSetLocaleModifiers(char *a)
280{
281 return NULL;
282}
283
284__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
285char * __strdup(const char * string)
286{
287 return NULL;
288}
289
290__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
291char *crypt(const char *key, const char *salt)
292{
293 return NULL;
294}
295
296__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
297char *dlerror(void)
298{
299 return NULL;
300}
301
302__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
303void *dlopen(const char *voidname, int flags)
304{
305 return NULL;
306}
307
308__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
309const char *gai_strerror(int errcode)
310{
311 return NULL;
312}
313
314__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
315const char *gcry_cipher_algo_name(int errcode)
316{
317 return NULL;
318}
319
320__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
321const char *svfgcry_md_algo_name_(int errcode)
322{
323 return NULL;
324}
325
326__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
327char *getlogin(void)
328{
329 return NULL;
330}
331
332__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
333char *getpass(const char *prompt)
334{
335 return NULL;
336}
337
338__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
339const char * gnutls_strerror(int error)
340{
341 return NULL;
342}
343
344__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
345const char *gpg_strerror(unsigned int a)
346{
347 return NULL;
348}
349
350__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
351const char * gzerror(void* file, int * errnum)
352{
353 return NULL;
354}
355
356__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
357char *inet_ntoa(unsigned int in)
358{
359 return NULL;
360}
361
362__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
363void *initscr(void)
364{
365 return NULL;
366}
367
368__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
369void* llvm_stacksave()
370{
371 return NULL;
372}
373
374__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
375void *mmap(void *addr, unsigned long len, int prot, int flags, int fildes, long off)
376{
377 return NULL;
378}
379
380__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
381void *newwin(int nlines, int ncols, int begin_y, int begin_x)
382{
383 return NULL;
384}
385
386__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
387char *nl_langinfo(int item)
388{
389 return NULL;
390}
391
392__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
393void *opendir(const char *name)
394{
395 return NULL;
396}
397
398__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
399void *sbrk(long increment)
400{
401 return NULL;
402}
403
404__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
405char *strdup(const char *s)
406{
407 return NULL;
408}
409
410__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
411char *strndup(const char *s, unsigned long n)
412{
413 return NULL;
414}
415
416__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
417char *strerror(int errnum)
418{
419 return NULL;
420}
421
422__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
423char *strsignal(int errnum)
424{
425 return NULL;
426}
427
428__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
429char *textdomain(const char * domainname)
430{
431 return NULL;
432}
433
434__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
435char *tgetstr(char *id, char **area)
436{
437 return NULL;
438}
439
440__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
441char *tigetstr(char *capname)
442{
443 return NULL;
444}
445
446__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
447char *tmpnam(char *s)
448{
449 return NULL;
450}
451
452__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
453char *ttyname(int fd)
454{
455 return NULL;
456}
457
458__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
459char *getcwd(char *buf, unsigned long size)
460{
461 return NULL;
462}
463
464__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
465char *mem_realloc(void *ptr, unsigned long size)
466{
467 return NULL;
468}
469
470__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
471char *realloc(void *ptr, unsigned long size)
472{
473 return NULL;
474}
475
476__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:Arg1*Arg2")))
477char *reallocarray(void *ptr, unsigned long elems, unsigned long size)
478{
479 return NULL;
480}
481
482__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
483void* safe_realloc(void *p, unsigned long n)
484{
485 return NULL;
486}
487
488__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:Arg1*Arg2")))
489void* saferealloc(void *p, unsigned long n1, unsigned long n2)
490{
491 return NULL;
492}
493
494__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:UNKNOWN")))
495void* safexrealloc()
496{
497 return NULL;
498}
499
500
501char *strtok(char *str, const char *delim)
502{
503 return str;
504}
505
506char *strtok_r(char *str, const char *delim, char **saveptr)
507{
508 return str;
509}
510
511char* strsep(char** stringp, const char* delim)
512{
513 return *stringp;
514}
515
516__attribute__((annotate("REALLOC_HEAP_RET"), annotate("AllocSize:Arg1")))
517void *xrealloc(void *ptr, unsigned long bytes)
518{
519 return NULL;
520}
521
522// ::operator new (size (unsigned int))
523__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
524void *_Znwj(unsigned int size)
525{
526 return NULL;
527}
528
529// ::operator new (size (unsigned int), nothrow)
530__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
531void *_ZnwjRKSt9nothrow_t(unsigned int size, void *)
532{
533 return NULL;
534}
535
536// ::operator new (size (unsigned int), aligned)
537__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
538void *_ZnwjSt11align_val_t(unsigned int size, unsigned long)
539{
540 return NULL;
541}
542
543// ::operator new (size (unsigned int), aligned, nothrow)
544__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
545void *_ZnwjSt11align_val_tRKSt9nothrow_t(unsigned int size, unsigned long, void *)
546{
547 return NULL;
548}
549
550// ::operator new[] (size (unsigned int))
551__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
552void *_Znaj(unsigned int size)
553{
554 return NULL;
555}
556
557// ::operator new[] (size (unsigned int), nothrow)
558__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
559void *_ZnajRKSt9nothrow_t(unsigned int size, void *)
560{
561 return NULL;
562}
563
564// ::operator new[] (size (unsigned int), aligned)
565__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
566void *_ZnajSt11align_val_t(unsigned int size, unsigned long)
567{
568 return NULL;
569}
570
571// ::operator new[] (size (unsigned int), aligned, nothrow)
572__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
573void *_ZnajSt11align_val_tRKSt9nothrow_t(unsigned int size, unsigned long, void *)
574{
575 return NULL;
576}
577
578// ::operator new (size (size_t))
579__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
580void *_Znwm(unsigned long size)
581{
582 return NULL;
583}
584
585// ::operator new (size (size_t), nothrow)
586__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
587void *_ZnwmRKSt9nothrow_t(unsigned long size, void *)
588{
589 return NULL;
590}
591
592// ::operator new (size (size_t), aligned)
593__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
594void *_ZnwmSt11align_val_t(unsigned long size, unsigned long)
595{
596 return NULL;
597}
598
599// ::operator new (size (size_t), aligned, nothrow)
600__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
601void *_ZnwmSt11align_val_tRKSt9nothrow_t(unsigned long size, unsigned long, void *)
602{
603 return NULL;
604}
605
606// ::operator new[]
607__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
608void *_Znam(unsigned long size)
609{
610 return NULL;
611}
612
613// ::operator new[] (nothrow)
614__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
615void *_ZnamRKSt9nothrow_t(unsigned long size, void *)
616{
617 return NULL;
618}
619
620// ::operator new[] (aligned)
621__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
622void *_ZnamSt11align_val_t(unsigned long size, unsigned long)
623{
624 return NULL;
625}
626
627// ::operator new[] (aligned, nothrow)
628__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
629void *_ZnamSt11align_val_tRKSt9nothrow_t(unsigned long size, unsigned long, void *)
630{
631 return NULL;
632}
633
634__attribute__((annotate("ALLOC_HEAP_ARG0"), annotate("AllocSize:UNKNOWN")))
635int asprintf(char **__restrict strp, const char *__restrict fmt, ...)
636{
637 return 0;
638}
639
640__attribute__((annotate("ALLOC_HEAP_ARG0"), annotate("AllocSize:UNKNOWN")))
641int vasprintf(char **strp, const char *fmt, void* ap)
642{
643 return 0;
644}
645
646__attribute__((annotate("ALLOC_HEAP_ARG0"), annotate("AllocSize:UNKNOWN")))
647int db_create(void **dbp, void *dbenv, unsigned int flags)
648{
649 return 0;
650}
651
652__attribute__((annotate("ALLOC_HEAP_ARG0"), annotate("AllocSize:UNKNOWN")))
653int gnutls_pkcs12_bag_init(void *a)
654{
655 return 0;
656}
657
658__attribute__((annotate("ALLOC_HEAP_ARG0"), annotate("AllocSize:UNKNOWN")))
659int gnutls_pkcs12_init(void *a)
660{
661 return 0;
662}
663
664__attribute__((annotate("ALLOC_HEAP_ARG0"), annotate("AllocSize:UNKNOWN")))
665int gnutls_x509_crt_init(void *a)
666{
667 return 0;
668}
669
670__attribute__((annotate("ALLOC_HEAP_ARG0"), annotate("AllocSize:UNKNOWN")))
671int gnutls_x509_privkey_init(void *a)
672{
673 return 0;
674}
675
676__attribute__((annotate("ALLOC_HEAP_ARG0"), annotate("AllocSize:Arg2")))
677int posix_memalign(void **a, unsigned long b, unsigned long c)
678{
679 return 0;
680}
681
682__attribute__((annotate("ALLOC_HEAP_ARG1"), annotate("AllocSize:UNKNOWN")))
683int scandir(const char *__restrict dirp, struct dirent ***__restrict namelist, int (*filter)(const struct dirent *), int (*compar)(const struct dirent **, const struct dirent **))
684{
685 return 0;
686}
687
688__attribute__((annotate("ALLOC_HEAP_ARG2"), annotate("AllocSize:UNKNOWN")))
689int XmbTextPropertyToTextList(void *a, void *b, char ***c, int *d)
690{
691 return 0;
692}
693
694__attribute__((annotate("MEMCPY")))
695void llvm_memcpy_p0i8_p0i8_i64(char* dst, char* src, int sz, int flag){}
696
697__attribute__((annotate("MEMCPY")))
698void llvm_memcpy_p0_p0_i64(char* dst, char* src, int sz, int flag){}
699
700__attribute__((annotate("MEMCPY")))
701void llvm_memcpy_p0i8_p0i8_i32(char* dst, char* src, int sz, int flag){}
702
703__attribute__((annotate("MEMCPY")))
704void llvm_memcpy_p0_p0_i32(char* dst, char* src, int sz, int flag){}
705
706__attribute__((annotate("MEMCPY")))
707void llvm_memcpy(char* dst, char* src, int sz, int flag){}
708
709__attribute__((annotate("MEMCPY")))
710void llvm_memmove(char* dst, char* src, int sz, int flag){}
711
712__attribute__((annotate("MEMCPY")))
713void llvm_memmove_p0i8_p0i8_i64(char* dst, char* src, int sz, int flag){}
714
715__attribute__((annotate("MEMCPY")))
716void llvm_memmove_p0_p0_i64(char* dst, char* src, int sz, int flag){}
717
718__attribute__((annotate("MEMCPY")))
719void llvm_memmove_p0i8_p0i8_i32(char* dst, char* src, int sz, int flag){}
720
721__attribute__((annotate("MEMCPY")))
722void llvm_memmove_p0_p0_i32(char* dst, char* src, int sz, int flag){}
723
724__attribute__((annotate("MEMCPY")))
725void __memcpy_chk(char* dst, char* src, int sz, int flag){}
726
727__attribute__((annotate("MEMCPY")))
728void *memmove(void *str1, const void *str2, unsigned long n)
729{
730 return NULL;
731}
732
733__attribute__((annotate("MEMCPY")))
734void bcopy(const void *s1, void *s2, unsigned long n){}
735
736__attribute__((annotate("MEMCPY")))
737void *memccpy( void *__restrict dest, const void *__restrict src, int c, unsigned long count)
738{
739 return NULL;
740}
741
742__attribute__((annotate("MEMCPY")))
743void __memmove_chk(char* dst, char* src, int sz){}
744
745__attribute__((annotate("STRLEN")))
746size_t strlen(const char *str)
747{
748 return 0;
749}
750
751__attribute__((annotate("STRLEN")))
752size_t wcslen(const wchar_t *str)
753{
754 return 0;
755}
756
757__attribute__((annotate("MEMSET")))
758void llvm_memset(char* dst, char elem, int sz, int flag){}
759
760__attribute__((annotate("MEMSET")))
761void llvm_memset_p0i8_i32(char* dst, char elem, int sz, int flag){}
762
763__attribute__((annotate("MEMSET")))
764void llvm_memset_p0_i32(char* dst, char elem, int sz, int flag){}
765
766__attribute__((annotate("MEMSET")))
767void llvm_memset_p0i8_i64(char* dst, char elem, int sz, int flag){}
768
769__attribute__((annotate("MEMSET")))
770void llvm_memset_p0_i64(char* dst, char elem, int sz, int flag){}
771
772__attribute__((annotate("MEMSET")))
773char *__memset_chk(char * dest, int c, unsigned long destlen, int flag)
774{
775 return NULL;
776}
777
778__attribute__((annotate("MEMSET")))
779char *wmemset(wchar_t * dst, wchar_t elem, int sz, int flag) {
780 return NULL;
781}
782
783
784__attribute__((annotate("STRCPY")))
785char * __strcpy_chk(char * dest, const char * src, unsigned long destlen)
786{
787 return NULL;
788}
789
790__attribute__((annotate("STRCAT")))
791char *__strcat_chk(char * dest, const char * src, unsigned long destlen)
792{
793 return NULL;
794}
795
796__attribute__((annotate("STRCAT")))
797wchar_t* __wcscat_chk(wchar_t * dest, const wchar_t * src)
798{
799 return NULL;
800}
801
802__attribute__((annotate("STRCPY")))
803char *stpcpy(char *__restrict dst, const char *__restrict src)
804{
805 return NULL;
806}
807
808__attribute__((annotate("STRCAT")))
809char *strcat(char *dest, const char *src)
810{
811 return NULL;
812}
813
814__attribute__((annotate("STRCAT")))
815char *wcscat(char *dest, const char *src)
816{
817 return NULL;
818}
819
820
821__attribute__((annotate("STRCPY")))
822char *strcpy(char *dest, const char *src)
823{
824 return NULL;
825}
826
827__attribute__((annotate("STRCAT")))
828char *strncat(char *dest, const char *src, unsigned long n)
829{
830 return NULL;
831}
832
833__attribute__((annotate("STRCAT")))
834wchar_t* wcsncat(wchar_t * dest, const wchar_t * src, int n) {
835 return NULL;
836}
837
838__attribute__((annotate("STRCAT")))
839char *__strncat_chk(char *dest, const char *src, unsigned long n)
840{
841 return NULL;
842}
843
844__attribute__((annotate("STRCAT")))
845wchar_t* __wcsncat_chk(wchar_t * dest, const wchar_t * src, int n) {
846 return NULL;
847}
848
849__attribute__((annotate("MEMCPY")))
850char *strncpy(char *dest, const char *src, unsigned long n)
851{
852 return NULL;
853}
854
855__attribute__((annotate("STRCPY")))
856char *wcscpy(wchar_t* dest, const wchar_t* src) {
857 return NULL;
858}
859
860__attribute__((annotate("MEMCPY")))
861unsigned long iconv(void* cd, char **__restrict inbuf, unsigned long *__restrict inbytesleft, char **__restrict outbuf, unsigned long *__restrict outbytesleft)
862{
863 return 0;
864}
865
866__attribute__((annotate("STORE_TOP:Arg1+"), annotate("SCANF:FormatArg0")))
867int scanf(const char *format, ...)
868{
869 return 0;
870}
871
872__attribute__((annotate("STORE_TOP:Arg1+"), annotate("SCANF:FormatArg0")))
873int __isoc99_scanf(const char *format, ...)
874{
875 return 0;
876}
877
878__attribute__((annotate("STORE_TOP:Arg2+"), annotate("SCANF:FormatArg1")))
879int fscanf(void *stream, const char *format, ...)
880{
881 return 0;
882}
883
884__attribute__((annotate("STORE_TOP:Arg2+"), annotate("SCANF:FormatArg1")))
885int __isoc99_fscanf(void *stream, const char *format, ...)
886{
887 return 0;
888}
889
890__attribute__((annotate("STORE_TOP:Arg2+"), annotate("SCANF:FormatArg1")))
891int sscanf(const char *str, const char *format, ...)
892{
893 return 0;
894}
895
896__attribute__((annotate("STORE_TOP:Arg2+"), annotate("SCANF:FormatArg1")))
897int __isoc99_sscanf(const char *str, const char *format, ...)
898{
899 return 0;
900}
901
902__attribute__((annotate("OVERWRITE")))
903void* _ZNSt5arrayIPK1ALm2EE4backEv(void *arg)
904{
905 void* ptr1 = (char*)arg + 0;
906 void* ptr2 = (char*)ptr1 + 0;
907 return ptr2;
908}
909
910__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
911void *SyGetmem(unsigned long size)
912{
913 return NULL;
914}
915
916void * __rawmemchr(const void * s, int c)
917{
918 return (void *)s;
919}
920
921struct jpeg_error_mgr *jpeg_std_error(struct jpeg_error_mgr * a)
922{
923 return a;
924}
925
926char *fgets(char *str, int n, void *stream)
927{
928 return str;
929}
930
931char *fgets_unlocked(char *str, int n, void *stream)
932{
933 return str;
934}
935
936char* gets(char *str)
937{
938 return str;
939}
940
941void *memchr(const void *str, int c, unsigned long n)
942{
943 return (void *)str;
944}
945
946void *memrchr(const void *str, int c, unsigned long n)
947{
948 return (void *)str;
949}
950
951void * mremap(void * old_address, unsigned long old_size, unsigned long new_size, int flags)
952{
953 return old_address;
954}
955
956char *strchr(const char *str, int c)
957{
958 return (char *)str;
959}
960
961char *__strchrnull(const char *s, int c)
962{
963 return (char *)s;
964}
965
966char *strcasestr(const char *haystack, const char *needle)
967{
968 return (char *)haystack;
969}
970
971char* index(const char *s, int c)
972{
973 return (char *)s;
974}
975
976char* rindex(const char *s, int c)
977{
978 return (char *)s;
979}
980
981char *strerror_r(int errnum, char *buf, unsigned long buflen)
982{
983 return buf;
984}
985
986char *strpbrk(const char *str1, const char *str2)
987{
988 return (char *)str1;
989}
990
991char *strptime(const void* s, const void* format, void* tm)
992{
993 return (char *)s;
994}
995
996char *strrchr(const char *str, int c)
997{
998 return (char *)str;
999}
1000
1001char *strstr(const char *haystack, const char *needle)
1002{
1003 return (char *)haystack;
1004}
1005
1006char *tmpnam_r(char *s)
1007{
1008 return s;
1009}
1010
1011int isalnum(int character)
1012{
1013 return character;
1014}
1015
1016int isalpha(int character)
1017{
1018 return character;
1019}
1020
1021int isblank(int character)
1022{
1023 return character;
1024}
1025
1026int iscntrl(int c)
1027{
1028 return c;
1029}
1030
1031int isdigit(int c)
1032{
1033 return c;
1034}
1035
1036int isgraph(int c)
1037{
1038 return c;
1039}
1040
1041int islower( int arg )
1042{
1043 return arg;
1044}
1045
1046int isprint(int c)
1047{
1048 return c;
1049}
1050
1051int ispunct(int argument)
1052{
1053 return argument;
1054}
1055
1056int isspace(char c)
1057{
1058 return c;
1059}
1060
1061int isupper(int c)
1062{
1063 return c;
1064}
1065
1066int isxdigit(int c)
1067{
1068 return c;
1069}
1070
1071char *asctime_r(const void *tm, char *buf)
1072{
1073 return buf;
1074}
1075
1076void *bsearch(const void *key, const void *base, unsigned long nitems, unsigned long size, int (*compar)(const void *, const void *))
1077{
1078 return (void *)base;
1079}
1080
1081struct mntent *getmntent_r(void *fp, struct mntent *mntbuf, char *buf, int buflen)
1082{
1083 return mntbuf;
1084}
1085
1086struct tm *gmtime_r(const void *timer, struct tm *buf)
1087{
1088 return buf;
1089}
1090
1091char * gzgets(void* file, char * buf, int len)
1092{
1093 return buf;
1094}
1095
1096struct tm *localtime_r(const void *timep, struct tm *result)
1097{
1098 return result;
1099}
1100
1101char *realpath(const char *__restrict path, char *__restrict resolved_path)
1102{
1103 return resolved_path;
1104}
1105
1106void* freopen64( const char* voidname, const char* mode, void* fp )
1107{
1108 return fp;
1109}
1110
1111void* freopen(const char* voidname, const char* mode, void* fp)
1112{
1113 return fp;
1114}
1115
1116const char *inet_ntop(int af, const void *__restrict src, char *__restrict dst, unsigned int size)
1117{
1118 return dst;
1119}
1120
1121double strtod(const char *str, char **endptr)
1122{
1123 *endptr = (char *)str;
1124 return 0.0;
1125}
1126
1127double strtod_l(const char *str, char **endptr, void *loc)
1128{
1129 *endptr = (char *)str;
1130 return 0.0;
1131}
1132
1133float strtof(const char *nptr, char **endptr)
1134{
1135 *endptr = (char *)nptr;
1136 return 0.0;
1137}
1138
1139float strtof_l(const char *nptr, char **endptr, void *loc)
1140{
1141 *endptr = (char *)nptr;
1142 return 0.0;
1143}
1144
1145long int strtol(const char *str, char **endptr, int base)
1146{
1147 *endptr = (char *)str;
1148 return 0;
1149}
1150
1151long long strtoll(const char *str, char **endptr, int base)
1152{
1153 *endptr = (char *)str;
1154 return 0;
1155}
1156
1157long double strtold(const char* str, char** endptr)
1158{
1159 *endptr = (char *)str;
1160 return 0.0;
1161}
1162
1163unsigned long int strtoul(const char *str, char **endptr, int base)
1164{
1165 *endptr = (char *)str;
1166 return 0;
1167}
1168
1169unsigned long long strtoull(const char *str, char **endptr, int base)
1170{
1171 *endptr = (char *)str;
1172 return 0;
1173}
1174
1175char *gcvt(double x, int ndigit, char *buf)
1176{
1177 return buf;
1178}
1179
1180void *memmem(const void *haystack, unsigned long haystacklen, const void *needle, unsigned long needlelen)
1181{
1182 return (void *)haystack;
1183}
1184
1185char* ctime_r(const char *timer, char *buf)
1186{
1187 return buf;
1188}
1189
1190int readdir_r(void *__restrict dir, void *__restrict entry, void **__restrict result)
1191{
1192 entry = *result;
1193 return 0;
1194}
1195
1196int getpwnam_r(const char *name, void *pwd, char *buf, unsigned long buflen, void **result)
1197{
1198 *result = pwd;
1199 return 0;
1200}
1201
1202int getpwuid_r(unsigned int uid, void *pwd, char *buf, unsigned long buflen, void **result)
1203{
1204 *result = pwd;
1205 return 0;
1206}
1207
1209{
1210 *arg1 = arg0;
1211}
1212
1213void* __dynamic_cast(void* source, const void* sourceTypeInfo, const void* targetTypeInfo, ptrdiff_t castType)
1214{
1215 return source;
1216}
1217
1218void _ZNSsC1EPKcRKSaIcE(void **arg0, void *arg1)
1219{
1220 *arg0 = arg1;
1221}
1222
1224{
1225 *arg0 = arg1;
1226}
1227
1229char *getenv(const char *name)
1230{
1231 return getenv_global;
1232}
1233
1234unsigned short ctype_b_loc_global[10];
1235const unsigned short **__ctype_b_loc(void)
1236{
1237 return (const unsigned short **)&ctype_b_loc_global;
1238}
1239
1242{
1243 return (int **)&ctype_tolower_loc_global;
1244}
1245
1248{
1249 return (int **)&ctype_toupper_loc_global;
1250}
1251
1254{
1255 return error_global;
1256}
1257
1260{
1261 return h_error_global;
1262}
1263
1265void* __res_state(void)
1266{
1267 return res_state_global;
1268}
1269
1271char *asctime(const void *timeptr)
1272{
1273 return time_global;
1274}
1275
1276char *ctime(const void *timer)
1277{
1278 return time_global;
1279}
1280
1281void *gmtime(const void *timer)
1282{
1283 return time_global;
1284}
1285
1286void *localtime(const void *timer)
1287{
1288 return time_global;
1289}
1290
1292char * bindtextdomain(const char * domainname, const char * dirname)
1293{
1294 return bindtextdomain_global;
1295}
1296
1298char * bind_textdomain_codeset(const char * domainname, const char * codeset)
1299{
1301}
1302
1304char *ctermid(char *s)
1305{
1306 return s ? s : ctermid_global;
1307}
1308
1310char * dcgettext(const char * domainname, const char * msgid, int category)
1311{
1312 return gettext_global;
1313}
1314
1315char * dgettext(const char * domainname, const char * msgid)
1316{
1317 return gettext_global;
1318}
1319
1320char * dngettext(const char * domainname, const char * msgid, const char * msgid_plural, unsigned long int n)
1321{
1322 return gettext_global;
1323}
1324
1325char * gettext(const char * msgid)
1326{
1327 return gettext_global;
1328}
1329
1330char * ngettext(const char * msgid, const char * msgid_plural, unsigned long int n)
1331{
1332 return gettext_global;
1333}
1334
1336void *getgrgid(unsigned int gid)
1337{
1338 return getgrgid_global;
1339}
1340
1342void *getgrnam(const char *name)
1343{
1344 return getgrnam_global;
1345}
1346
1348void *gethostbyaddr(const void *addr, unsigned int len, int type)
1349{
1350 return gethostby_global;
1351}
1352
1353void *gethostbyname(const char *name)
1354{
1355 return gethostby_global;
1356}
1357
1358void *gethostbyname2(const char *name, int af)
1359{
1360 return gethostby_global;
1361}
1362
1364void *getmntent(void *stream)
1365{
1366 return getmntent_global;
1367}
1368
1370void *getprotobyname(const char *name)
1371{
1372 return getproto_global;
1373}
1374
1375void *getprotobynumber(int proto)
1376{
1377 return getproto_global;
1378}
1379
1381void *getpwent(void)
1382{
1383 return getpw_global;
1384}
1385
1386void *getpwnam(const char *name)
1387{
1388 return getpw_global;
1389}
1390
1391void *getpwuid(unsigned int uid)
1392{
1393 return getpw_global;
1394}
1395
1397void *getservbyname(const char *name, const char *proto)
1398{
1399 return getserv_global;
1400}
1401
1402void *getservbyport(int port, const char *proto)
1403{
1404 return getserv_global;
1405}
1406
1408void *getspnam(const char *name)
1409{
1410 return getspnam_global;
1411}
1412
1414const char *gnu_get_libc_version(void)
1415{
1417}
1418
1420const char * gnutls_check_version(const char * req_version)
1421{
1423}
1424
1426void *localeconv(void)
1427{
1428 return localeconv_global;
1429}
1430
1436
1438char *re_comp(const char *regex)
1439{
1440 return re_comp_global;
1441}
1442
1444char *setlocale(int category, const char *locale)
1445{
1446 return setlocale_global;
1447}
1448
1450char *tgoto(const char *cap, int col, int row)
1451{
1452 return tgoto_global;
1453}
1454
1456char *tparm(char *str, ...)
1457{
1458 return tparm_global;
1459}
1460
1462const char *zError(int a)
1463{
1464 return zError_global;
1465}
cJSON * p
Definition cJSON.cpp:2559
newitem type
Definition cJSON.cpp:2739
cJSON * a
Definition cJSON.cpp:2560
cJSON * n
Definition cJSON.cpp:2558
const cJSON *const b
Definition cJSON.h:255
const char *const name
Definition cJSON.h:264
char const int const cJSON_bool format
Definition cJSON.h:163
int index
Definition cJSON.h:170
int cJSON_bool fmt
Definition cJSON.h:160
cJSON * item
Definition cJSON.h:222
int count
Definition cJSON.h:216
int iscntrl(int c)
Definition extapi.c:1026
void _ZNSsC1EPKcRKSaIcE(void **arg0, void *arg1)
Definition extapi.c:1218
char re_comp_global[10]
Definition extapi.c:1437
char * strsep(char **stringp, const char *delim)
Definition extapi.c:511
__attribute__((annotate("ALLOC_HEAP_RET"), annotate("AllocSize:Arg0")))
Definition extapi.c:26
char gnutls_check_version_global[10]
Definition extapi.c:1419
void * getgrnam_global[10]
Definition extapi.c:1341
int ctype_toupper_loc_global[10]
Definition extapi.c:1246
char setlocale_global[10]
Definition extapi.c:1443
char * tmpnam_r(char *s)
Definition extapi.c:1006
char * asctime(const void *timeptr)
Definition extapi.c:1271
int error_global[10]
Definition extapi.c:1252
char * strpbrk(const char *str1, const char *str2)
Definition extapi.c:986
void * gethostby_global[10]
Definition extapi.c:1347
long long strtoll(const char *str, char **endptr, int base)
Definition extapi.c:1151
void * __res_state(void)
Definition extapi.c:1265
void * mremap(void *old_address, unsigned long old_size, unsigned long new_size, int flags)
Definition extapi.c:951
#define NULL
Definition extapi.c:5
char * fgets(char *str, int n, void *stream)
Definition extapi.c:926
void * getprotobyname(const char *name)
Definition extapi.c:1370
float strtof(const char *nptr, char **endptr)
Definition extapi.c:1133
float strtof_l(const char *nptr, char **endptr, void *loc)
Definition extapi.c:1139
void * getservbyport(int port, const char *proto)
Definition extapi.c:1402
char * ctime(const void *timer)
Definition extapi.c:1276
char * re_comp(const char *regex)
Definition extapi.c:1438
void * getpwnam(const char *name)
Definition extapi.c:1386
char * tparm(char *str,...)
Definition extapi.c:1456
long int strtol(const char *str, char **endptr, int base)
Definition extapi.c:1145
char * setlocale(int category, const char *locale)
Definition extapi.c:1444
long double strtold(const char *str, char **endptr)
Definition extapi.c:1157
char * ctime_r(const char *timer, char *buf)
Definition extapi.c:1185
char * dcgettext(const char *domainname, const char *msgid, int category)
Definition extapi.c:1310
const unsigned short ** __ctype_b_loc(void)
Definition extapi.c:1235
void * localeconv_global[10]
Definition extapi.c:1425
char * gets(char *str)
Definition extapi.c:936
char * __strchrnull(const char *s, int c)
Definition extapi.c:961
char * strtok_r(char *str, const char *delim, char **saveptr)
Definition extapi.c:506
char zError_global[10]
Definition extapi.c:1461
const char * gnu_get_libc_version(void)
Definition extapi.c:1414
int isdigit(int c)
Definition extapi.c:1031
unsigned long long strtoull(const char *str, char **endptr, int base)
Definition extapi.c:1169
char * bind_textdomain_codeset(const char *domainname, const char *codeset)
Definition extapi.c:1298
void * freopen(const char *voidname, const char *mode, void *fp)
Definition extapi.c:1111
int isgraph(int c)
Definition extapi.c:1036
const char * gnutls_check_version(const char *req_version)
Definition extapi.c:1420
int res_state_global[10]
Definition extapi.c:1264
int * __errno_location(void)
Definition extapi.c:1253
char getenv_global[10]
Definition extapi.c:1228
char * gcvt(double x, int ndigit, char *buf)
Definition extapi.c:1175
char * strchr(const char *str, int c)
Definition extapi.c:956
char * strrchr(const char *str, int c)
Definition extapi.c:996
void * getservbyname(const char *name, const char *proto)
Definition extapi.c:1397
char * rindex(const char *s, int c)
Definition extapi.c:976
struct mntent * getmntent_r(void *fp, struct mntent *mntbuf, char *buf, int buflen)
Definition extapi.c:1081
void * getpwuid(unsigned int uid)
Definition extapi.c:1391
double strtod_l(const char *str, char **endptr, void *loc)
Definition extapi.c:1127
int ctype_tolower_loc_global[10]
Definition extapi.c:1240
void * gethostbyname(const char *name)
Definition extapi.c:1353
void * __rawmemchr(const void *s, int c)
Definition extapi.c:916
void _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(void **arg0, void *arg1)
Definition extapi.c:1223
void * localeconv(void)
Definition extapi.c:1426
void * getmntent(void *stream)
Definition extapi.c:1364
char * gettext(const char *msgid)
Definition extapi.c:1325
int h_error_global[10]
Definition extapi.c:1258
char * strtok(char *str, const char *delim)
Definition extapi.c:501
void * gmtime(const void *timer)
Definition extapi.c:1281
void * bsearch(const void *key, const void *base, unsigned long nitems, unsigned long size, int(*compar)(const void *, const void *))
Definition extapi.c:1076
void * getproto_global[10]
Definition extapi.c:1369
void * getgrgid(unsigned int gid)
Definition extapi.c:1336
char time_global[10]
Definition extapi.c:1270
int isspace(char c)
Definition extapi.c:1056
char * fgets_unlocked(char *str, int n, void *stream)
Definition extapi.c:931
void _ZNSt8__detail15_List_node_base7_M_hookEPS0_(void *arg0, void **arg1)
Definition extapi.c:1208
unsigned short ctype_b_loc_global[10]
Definition extapi.c:1234
int ** __ctype_tolower_loc(void)
Definition extapi.c:1241
char tgoto_global[10]
Definition extapi.c:1449
int getpwuid_r(unsigned int uid, void *pwd, char *buf, unsigned long buflen, void **result)
Definition extapi.c:1202
void * getgrgid_global[10]
Definition extapi.c:1335
char bind_textdomain_codeset_global[10]
Definition extapi.c:1297
int * __h_errno_location(void)
Definition extapi.c:1259
void * gethostbyaddr(const void *addr, unsigned int len, int type)
Definition extapi.c:1348
int isprint(int c)
Definition extapi.c:1046
int getpwnam_r(const char *name, void *pwd, char *buf, unsigned long buflen, void **result)
Definition extapi.c:1196
int ispunct(int argument)
Definition extapi.c:1051
void * getgrnam(const char *name)
Definition extapi.c:1342
void * getspnam_global[10]
Definition extapi.c:1407
int islower(int arg)
Definition extapi.c:1041
char * dgettext(const char *domainname, const char *msgid)
Definition extapi.c:1315
unsigned long int strtoul(const char *str, char **endptr, int base)
Definition extapi.c:1163
char gnu_get_libc_version_global[10]
Definition extapi.c:1413
char bindtextdomain_global[10]
Definition extapi.c:1291
int isblank(int character)
Definition extapi.c:1021
char * bindtextdomain(const char *domainname, const char *dirname)
Definition extapi.c:1292
double strtod(const char *str, char **endptr)
Definition extapi.c:1121
char * getenv(const char *name)
Definition extapi.c:1229
char * strstr(const char *haystack, const char *needle)
Definition extapi.c:1001
char * dngettext(const char *domainname, const char *msgid, const char *msgid_plural, unsigned long int n)
Definition extapi.c:1320
void * localtime(const void *timer)
Definition extapi.c:1286
void * gethostbyname2(const char *name, int af)
Definition extapi.c:1358
int isalnum(int character)
Definition extapi.c:1011
void * memmem(const void *haystack, unsigned long haystacklen, const void *needle, unsigned long needlelen)
Definition extapi.c:1180
int readdir_r(void *__restrict dir, void *__restrict entry, void **__restrict result)
Definition extapi.c:1190
char ctermid_global[10]
Definition extapi.c:1303
char * strcasestr(const char *haystack, const char *needle)
Definition extapi.c:966
void * getprotobynumber(int proto)
Definition extapi.c:1375
int ** __ctype_toupper_loc(void)
Definition extapi.c:1247
char * realpath(const char *__restrict path, char *__restrict resolved_path)
Definition extapi.c:1101
void * getpw_global[10]
Definition extapi.c:1380
char * strptime(const void *s, const void *format, void *tm)
Definition extapi.c:991
void * memrchr(const void *str, int c, unsigned long n)
Definition extapi.c:946
char * ngettext(const char *msgid, const char *msgid_plural, unsigned long int n)
Definition extapi.c:1330
char * tgoto(const char *cap, int col, int row)
Definition extapi.c:1450
void * __dynamic_cast(void *source, const void *sourceTypeInfo, const void *targetTypeInfo, ptrdiff_t castType)
Definition extapi.c:1213
char * asctime_r(const void *tm, char *buf)
Definition extapi.c:1071
int isupper(int c)
Definition extapi.c:1061
int isxdigit(int c)
Definition extapi.c:1066
void * getpwent(void)
Definition extapi.c:1381
char * ctermid(char *s)
Definition extapi.c:1304
struct tm * localtime_r(const void *timep, struct tm *result)
Definition extapi.c:1096
void * getserv_global[10]
Definition extapi.c:1396
void * getmntent_global[10]
Definition extapi.c:1363
const char * inet_ntop(int af, const void *__restrict src, char *__restrict dst, unsigned int size)
Definition extapi.c:1116
void * getspnam(const char *name)
Definition extapi.c:1408
void * memchr(const void *str, int c, unsigned long n)
Definition extapi.c:941
const char * zError(int a)
Definition extapi.c:1462
struct jpeg_error_mgr * jpeg_std_error(struct jpeg_error_mgr *a)
Definition extapi.c:921
void * pango_cairo_font_map_get_default(void)
Definition extapi.c:1432
void * pango_cairo_font_map_global[10]
Definition extapi.c:1431
void * freopen64(const char *voidname, const char *mode, void *fp)
Definition extapi.c:1106
struct tm * gmtime_r(const void *timer, struct tm *buf)
Definition extapi.c:1086
char * gzgets(void *file, char *buf, int len)
Definition extapi.c:1091
char tparm_global[10]
Definition extapi.c:1455
int isalpha(int character)
Definition extapi.c:1016
char gettext_global[10]
Definition extapi.c:1309
char * strerror_r(int errnum, char *buf, unsigned long buflen)
Definition extapi.c:981