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