CBMC
gcc_builtin_headers_mem_string.h
Go to the documentation of this file.
1 // clang-format off
2 void __builtin___bnd_chk_ptr_bounds(const void*, __CPROVER_size_t);
5 void* __builtin___bnd_copy_ptr_bounds(const void*, const void*);
6 const void* __builtin___bnd_get_ptr_lbound(const void*);
7 const void* __builtin___bnd_get_ptr_ubound(const void*);
8 void* __builtin___bnd_init_ptr_bounds(const void*);
9 void* __builtin___bnd_narrow_ptr_bounds(const void*, const void*, __CPROVER_size_t);
11 void* __builtin___bnd_set_ptr_bounds(const void*, __CPROVER_size_t);
12 void __builtin___bnd_store_ptr_bounds(void**, const void*);
13 const void* __builtin___chkp_bndldx(const void*, const void*);
14 void __builtin___clear_cache(void*, void*);
15 int __builtin___fprintf_chk(void*, int, const char*, ...);
16 void* __builtin___memcpy_chk(void*, const void*, __CPROVER_size_t, __CPROVER_size_t);
17 void* __builtin___memmove_chk(void*, const void*, __CPROVER_size_t, __CPROVER_size_t);
18 void* __builtin___mempcpy_chk(void*, const void*, __CPROVER_size_t, __CPROVER_size_t);
19 void* __builtin___memset_chk(void*, int, __CPROVER_size_t, __CPROVER_size_t);
20 int __builtin___printf_chk(int, const char*, ...);
21 int __builtin___snprintf_chk(char*, __CPROVER_size_t, int, __CPROVER_size_t, const char*, ...);
22 int __builtin___sprintf_chk(char*, int, __CPROVER_size_t, const char*, ...);
23 char* __builtin___stpcpy(char *s1, const char *s2);
24 char* __builtin___stpcpy_chk(char*, const char*, __CPROVER_size_t);
25 char* __builtin___stpncpy_chk(char*, const char*, __CPROVER_size_t, __CPROVER_size_t);
26 char* __builtin___strcat_chk(char*, const char*, __CPROVER_size_t);
27 char* __builtin___strcpy_chk(char*, const char*, __CPROVER_size_t);
28 char* __builtin___strncat_chk(char*, const char*, __CPROVER_size_t, __CPROVER_size_t);
29 char* __builtin___strncpy_chk(char*, const char*, __CPROVER_size_t, __CPROVER_size_t);
30 int __builtin___vfprintf_chk(void*, int, const char*, __builtin_va_list);
32 int __builtin___vsnprintf_chk(char *s, __CPROVER_size_t maxlen, int flag, __CPROVER_size_t os, const char *fmt, __builtin_va_list ap);
33 int __builtin___vsprintf_chk(char*, int, __CPROVER_size_t, const char*, __builtin_va_list);
35 void* __builtin_aligned_alloc(__CPROVER_size_t, __CPROVER_size_t);
36 void* __builtin_alloca(__CPROVER_size_t);
37 void* __builtin_assume_aligned(const void*, __CPROVER_size_t, ...);
38 int __builtin_bcmp(const void*, const void*, __CPROVER_size_t);
39 void __builtin_bcopy(const void*, void*, __CPROVER_size_t);
40 short unsigned int __builtin_bswap16(short unsigned int);
41 unsigned int __builtin_bswap32(unsigned int);
42 long long unsigned int __builtin_bswap64(long long unsigned int);
43 void __builtin_bzero(void*, __CPROVER_size_t);
44 void* __builtin_calloc(__CPROVER_size_t, __CPROVER_size_t);
45 void* __builtin_chkp_memcpy_nobnd(void*, const void*, __CPROVER_size_t);
46 void* __builtin_chkp_memcpy_nobnd_nochk(void*, const void*, __CPROVER_size_t);
47 void* __builtin_chkp_memcpy_nochk(void*, const void*, __CPROVER_size_t);
48 void* __builtin_chkp_memmove_nobnd(void*, const void*, __CPROVER_size_t);
49 void* __builtin_chkp_memmove_nobnd_nochk(void*, const void*, __CPROVER_size_t);
50 void* __builtin_chkp_memmove_nochk(void*, const void*, __CPROVER_size_t);
51 void* __builtin_chkp_mempcpy_nobnd(void*, const void*, __CPROVER_size_t);
52 void* __builtin_chkp_mempcpy_nobnd_nochk(void*, const void*, __CPROVER_size_t);
53 void* __builtin_chkp_mempcpy_nochk(void*, const void*, __CPROVER_size_t);
54 void* __builtin_chkp_memset_nobnd(void*, int, __CPROVER_size_t);
55 void* __builtin_chkp_memset_nobnd_nochk(void*, int, __CPROVER_size_t);
56 void* __builtin_chkp_memset_nochk(void*, int, __CPROVER_size_t);
57 int __builtin_clrsb(int);
58 int __builtin_clrsbimax(intmax_t);
59 int __builtin_clrsbl(long);
60 int __builtin_clrsbll(long long);
61 int __builtin_clz(unsigned);
62 int __builtin_clzimax(uintmax_t);
63 int __builtin_clzl(unsigned long);
64 int __builtin_clzll(unsigned long long);
65 int __builtin_ctz(unsigned);
66 int __builtin_ctzimax(uintmax_t);
67 int __builtin_ctzl(unsigned long);
68 int __builtin_ctzll(unsigned long long);
69 char* __builtin_dcgettext(const char*, const char*, int);
70 char* __builtin_dgettext(const char*, const char*);
72 int __builtin_ffs(int);
73 int __builtin_ffsl(long);
74 int __builtin_ffsll(long long);
75 int __builtin_fprintf(void *stream, const char *fmt, ...);
76 int __builtin_fprintf_unlocked(void*, const char*, ...);
77 int __builtin_fputc(int, void*);
78 int __builtin_fputc_unlocked(int, void*);
79 int __builtin_fputs(const char *s, void *stream);
80 int __builtin_fputs_unlocked(const char*, void*);
81 void* __builtin_frame_address(unsigned);
82 void __builtin_free(void*);
84 int __builtin_fscanf(void *stream, const char *fmt, ...);
85 __CPROVER_size_t __builtin_fwrite(const void*, __CPROVER_size_t, __CPROVER_size_t, void*);
86 __CPROVER_size_t __builtin_fwrite_unlocked(const void*, __CPROVER_size_t, __CPROVER_size_t, void*);
87 char* __builtin_gettext(const char*);
88 char* __builtin_index(const char*, int);
101 int __builtin_iswalnum(wint_t);
102 int __builtin_iswalpha(wint_t);
103 int __builtin_iswblank(wint_t);
104 int __builtin_iswcntrl(wint_t);
105 int __builtin_iswdigit(wint_t);
106 int __builtin_iswgraph(wint_t);
107 int __builtin_iswlower(wint_t);
108 int __builtin_iswprint(wint_t);
109 int __builtin_iswpunct(wint_t);
110 int __builtin_iswspace(wint_t);
111 int __builtin_iswupper(wint_t);
114 void* __builtin_malloc(__CPROVER_size_t);
115 void* __builtin_memchr(const void*, int, __CPROVER_size_t);
116 int __builtin_memcmp(const void*, const void*, __CPROVER_size_t);
117 void* __builtin_memcpy(void*, const void*, __CPROVER_size_t);
118 void* __builtin_memmove(void*, const void*, __CPROVER_size_t);
119 void* __builtin_mempcpy(void*, const void*, __CPROVER_size_t);
120 void* __builtin_memset(void*, int, __CPROVER_size_t);
121 __CPROVER_size_t __builtin_object_size(const void*, int);
122 __CPROVER_size_t __builtin_dynamic_object_size(const void*, int);
123 int __builtin_popcount(unsigned);
124 int __builtin_popcountimax(uintmax_t);
125 int __builtin_popcountll(unsigned long long int x);
126 int __builtin_posix_memalign(void**, __CPROVER_size_t, __CPROVER_size_t);
127 void __builtin_prefetch(const void*, ...);
128 int __builtin_printf(const char*, ...);
129 int __builtin_printf_unlocked(const char*, ...);
130 int __builtin_putc(int, void*);
131 int __builtin_putc_unlocked(int, void*);
134 int __builtin_puts(const char*);
135 int __builtin_puts_unlocked(const char*);
136 void* __builtin_realloc(void*, __CPROVER_size_t);
137 void* __builtin_return_address(unsigned);
138 char* __builtin_rindex(const char*, int);
139 int __builtin_scanf(const char *str, const char *fmt, ...);
140 int __builtin_scanf(const char*, ...);
141 int __builtin_snprintf(char*, __CPROVER_size_t, const char*, ...);
142 int __builtin_sprintf(char*, const char*, ...);
143 int __builtin_sscanf(const char*, const char*, ...);
144 char* __builtin_stpcpy(char*, const char*);
145 char* __builtin_stpncpy(char*, const char*, __CPROVER_size_t);
146 int __builtin_strcasecmp(const char*, const char*);
147 char* __builtin_strcat(char*, const char*);
148 char* __builtin_strchr(const char*, int);
149 int __builtin_strcmp(const char*, const char*);
150 char* __builtin_strcpy(char*, const char*);
151 __CPROVER_size_t __builtin_strcspn(const char*, const char*);
152 char* __builtin_strdup(const char*);
153 ssize_t __builtin_strfmon(char*, __CPROVER_size_t, const char*, ...);
154 __CPROVER_size_t __builtin_strftime(char*, __CPROVER_size_t, const char*, const struct tm*);
155 __CPROVER_size_t __builtin_strlen(const char*);
156 int __builtin_strncasecmp(const char*, const char*, __CPROVER_size_t);
157 char* __builtin_strncat(char*, const char*, __CPROVER_size_t);
158 int __builtin_strncmp(const char*, const char*, __CPROVER_size_t);
159 char* __builtin_strncpy(char*, const char*, __CPROVER_size_t);
160 char* __builtin_strndup(const char*, __CPROVER_size_t);
161 __CPROVER_size_t __builtin_strnlen(const char*, __CPROVER_size_t);
162 char* __builtin_strpbrk(const char*, const char*);
163 char* __builtin_strrchr(const char*, int);
164 __CPROVER_size_t __builtin_strspn(const char*, const char*);
165 char* __builtin_strstr(const char*, const char*);
169 wint_t __builtin_towlower(wint_t);
170 wint_t __builtin_towupper(wint_t);
171 int __builtin_vfprintf(void*, const char*, __builtin_va_list);
172 int __builtin_vfscanf(void*, const char*, __builtin_va_list);
175 int __builtin_vsnprintf(char*, __CPROVER_size_t, const char*, __builtin_va_list);
176 int __builtin_vsprintf(char*, const char*, __builtin_va_list);
177 int __builtin_vsscanf(const char*, const char*, __builtin_va_list);
178 // clang-format on
int16_t s2
Definition: bytecode_info.h:60
int8_t s1
Definition: bytecode_info.h:59
short unsigned int __builtin_bswap16(short unsigned int)
int __builtin___snprintf_chk(char *, __CPROVER_size_t, int, __CPROVER_size_t, const char *,...)
int __builtin_toascii(int)
void * __builtin_chkp_memmove_nobnd_nochk(void *, const void *, __CPROVER_size_t)
char * __builtin___strcpy_chk(char *, const char *, __CPROVER_size_t)
Definition: string.c:3
int __builtin_fputc_unlocked(int, void *)
int __builtin_popcount(unsigned)
int __builtin_putchar(int)
int __builtin_vsnprintf(char *, __CPROVER_size_t, const char *, __builtin_va_list)
int __builtin_fputc(int, void *)
__CPROVER_size_t __builtin_strnlen(const char *, __CPROVER_size_t)
void * __builtin_memmove(void *, const void *, __CPROVER_size_t)
void * __builtin___bnd_set_ptr_bounds(const void *, __CPROVER_size_t)
char * __builtin_strstr(const char *, const char *)
int __builtin_ffsll(long long)
int __builtin_isgraph(int)
int __builtin_iswprint(wint_t)
void * __builtin_chkp_memcpy_nochk(void *, const void *, __CPROVER_size_t)
void * __builtin_aggregate_incoming_address()
void * __builtin_chkp_memset_nobnd(void *, int, __CPROVER_size_t)
char * __builtin_strchr(const char *, int)
int __builtin_puts(const char *)
int __builtin_iswdigit(wint_t)
char * __builtin___strcat_chk(char *, const char *, __CPROVER_size_t)
Definition: string.c:37
int __builtin___vsprintf_chk(char *, int, __CPROVER_size_t, const char *, __builtin_va_list)
int __builtin_vprintf(const char *, __builtin_va_list)
int __builtin_fputs(const char *s, void *stream)
int __builtin_tolower(int)
char * __builtin_dcgettext(const char *, const char *, int)
void * __builtin___memmove_chk(void *, const void *, __CPROVER_size_t, __CPROVER_size_t)
char * __builtin___strncat_chk(char *, const char *, __CPROVER_size_t, __CPROVER_size_t)
Definition: string.c:81
int __builtin___vprintf_chk(int, const char *, __builtin_va_list)
char * __builtin_strncat(char *, const char *, __CPROVER_size_t)
void * __builtin_extract_return_addr(void *)
void * __builtin_memchr(const void *, int, __CPROVER_size_t)
void __builtin___bnd_chk_ptr_lbounds(const void *)
char * __builtin___strncpy_chk(char *, const char *, __CPROVER_size_t, __CPROVER_size_t)
int __builtin_strcmp(const char *, const char *)
unsigned int __builtin_bswap32(unsigned int)
int __builtin_fputs_unlocked(const char *, void *)
int __builtin_putc_unlocked(int, void *)
int __builtin_ctzl(unsigned long)
int __builtin_iswblank(wint_t)
int __builtin_iscntrl(int)
int __builtin_iswxdigit(wint_t)
void * __builtin_realloc(void *, __CPROVER_size_t)
int __builtin_iswlower(wint_t)
void __builtin___bnd_chk_ptr_ubounds(const void *)
int __builtin_snprintf(char *, __CPROVER_size_t, const char *,...)
int __builtin_isspace(int)
void * __builtin_return_address(unsigned)
void * __builtin_memset(void *, int, __CPROVER_size_t)
Definition: string.c:750
int __builtin_ffs(int)
void * __builtin_chkp_mempcpy_nochk(void *, const void *, __CPROVER_size_t)
char * __builtin___stpncpy_chk(char *, const char *, __CPROVER_size_t, __CPROVER_size_t)
void * __builtin___bnd_init_ptr_bounds(const void *)
int __builtin_bcmp(const void *, const void *, __CPROVER_size_t)
int __builtin_clzl(unsigned long)
int __builtin_iswgraph(wint_t)
char * __builtin_dgettext(const char *, const char *)
__CPROVER_size_t __builtin_dynamic_object_size(const void *, int)
int __builtin___sprintf_chk(char *, int, __CPROVER_size_t, const char *,...)
int __builtin_sprintf(char *, const char *,...)
int __builtin_isalpha(int)
int __builtin_iswalpha(wint_t)
ssize_t __builtin_strfmon(char *, __CPROVER_size_t, const char *,...)
void * __builtin_alloca(__CPROVER_size_t)
Definition: stdlib.c:270
void __builtin___bnd_store_ptr_bounds(void **, const void *)
int __builtin_ispunct(int)
int __builtin_sscanf(const char *, const char *,...)
void * __builtin_frame_address(unsigned)
__CPROVER_size_t __builtin_strlen(const char *)
int __builtin_clzimax(uintmax_t)
int __builtin_vfprintf(void *, const char *, __builtin_va_list)
long long unsigned int __builtin_bswap64(long long unsigned int)
int __builtin_vscanf(const char *, __builtin_va_list)
char * __builtin___stpcpy(char *s1, const char *s2)
int __builtin_putchar_unlocked(int)
void * __builtin_aligned_alloc(__CPROVER_size_t, __CPROVER_size_t)
__CPROVER_size_t __builtin_fwrite_unlocked(const void *, __CPROVER_size_t, __CPROVER_size_t, void *)
void * __builtin_chkp_memmove_nochk(void *, const void *, __CPROVER_size_t)
void __builtin___bnd_chk_ptr_bounds(const void *, __CPROVER_size_t)
void * __builtin_malloc(__CPROVER_size_t)
char * __builtin_strcat(char *, const char *)
int __builtin_isdigit(int)
void * __builtin___memset_chk(void *, int, __CPROVER_size_t, __CPROVER_size_t)
Definition: string.c:789
void * __builtin_mempcpy(void *, const void *, __CPROVER_size_t)
void * __builtin_chkp_memmove_nobnd(void *, const void *, __CPROVER_size_t)
int __builtin_scanf(const char *str, const char *fmt,...)
int __builtin_popcountll(unsigned long long int x)
__CPROVER_size_t __builtin_strspn(const char *, const char *)
__CPROVER_size_t __builtin_object_size(const void *, int)
int __builtin_strncmp(const char *, const char *, __CPROVER_size_t)
char * __builtin_index(const char *, int)
void * __builtin___bnd_null_ptr_bounds(const void *)
void * __builtin___mempcpy_chk(void *, const void *, __CPROVER_size_t, __CPROVER_size_t)
int __builtin_puts_unlocked(const char *)
int __builtin_clzll(unsigned long long)
void * __builtin_chkp_mempcpy_nobnd_nochk(void *, const void *, __CPROVER_size_t)
int __builtin_strncasecmp(const char *, const char *, __CPROVER_size_t)
void * __builtin_frob_return_addr(void *)
wint_t __builtin_towupper(wint_t)
void * __builtin_calloc(__CPROVER_size_t, __CPROVER_size_t)
int __builtin_vsscanf(const char *, const char *, __builtin_va_list)
wint_t __builtin_towlower(wint_t)
int __builtin_printf(const char *,...)
int __builtin_popcountimax(uintmax_t)
int __builtin___vfprintf_chk(void *, int, const char *, __builtin_va_list)
void * __builtin___memcpy_chk(void *, const void *, __CPROVER_size_t, __CPROVER_size_t)
Definition: string.c:659
int __builtin_ctzimax(uintmax_t)
int __builtin_clrsbll(long long)
int __builtin_printf_unlocked(const char *,...)
int __builtin_iswpunct(wint_t)
char * __builtin___stpcpy_chk(char *, const char *, __CPROVER_size_t)
const void * __builtin___bnd_get_ptr_ubound(const void *)
const void * __builtin___bnd_get_ptr_lbound(const void *)
int __builtin_isascii(int)
int __builtin_iswupper(wint_t)
char * __builtin_strndup(const char *, __CPROVER_size_t)
int __builtin_clrsb(int)
char * __builtin_gettext(const char *)
void * __builtin_chkp_memset_nochk(void *, int, __CPROVER_size_t)
void __builtin_bzero(void *, __CPROVER_size_t)
char * __builtin_stpncpy(char *, const char *, __CPROVER_size_t)
int __builtin_clrsbl(long)
int __builtin_isblank(int)
int __builtin_toupper(int)
int __builtin_iswspace(wint_t)
__CPROVER_size_t __builtin_strftime(char *, __CPROVER_size_t, const char *, const struct tm *)
int __builtin_memcmp(const void *, const void *, __CPROVER_size_t)
int __builtin_vsprintf(char *, const char *, __builtin_va_list)
int __builtin_ffsl(long)
const void * __builtin___chkp_bndldx(const void *, const void *)
void __builtin_free(void *)
int __builtin_putc(int, void *)
int __builtin_clrsbimax(intmax_t)
void * __builtin___bnd_copy_ptr_bounds(const void *, const void *)
__CPROVER_size_t __builtin_fwrite(const void *, __CPROVER_size_t, __CPROVER_size_t, void *)
void * __builtin_chkp_memcpy_nobnd_nochk(void *, const void *, __CPROVER_size_t)
int __builtin_isprint(int)
char * __builtin_rindex(const char *, int)
void * __builtin_chkp_memcpy_nobnd(void *, const void *, __CPROVER_size_t)
int __builtin_isxdigit(int)
int __builtin_fprintf(void *stream, const char *fmt,...)
char * __builtin_strpbrk(const char *, const char *)
int __builtin___printf_chk(int, const char *,...)
char * __builtin_strdup(const char *)
void * __builtin_memcpy(void *, const void *, __CPROVER_size_t)
__CPROVER_size_t __builtin_strcspn(const char *, const char *)
int __builtin_iswcntrl(wint_t)
int __builtin_posix_memalign(void **, __CPROVER_size_t, __CPROVER_size_t)
char * __builtin_strncpy(char *, const char *, __CPROVER_size_t)
char * __builtin_stpcpy(char *, const char *)
void __builtin_bcopy(const void *, void *, __CPROVER_size_t)
int __builtin___vsnprintf_chk(char *s, __CPROVER_size_t maxlen, int flag, __CPROVER_size_t os, const char *fmt, __builtin_va_list ap)
int __builtin_ctz(unsigned)
char * __builtin_strcpy(char *, const char *)
void * __builtin_assume_aligned(const void *, __CPROVER_size_t,...)
int __builtin_iswalnum(wint_t)
void * __builtin_chkp_memset_nobnd_nochk(void *, int, __CPROVER_size_t)
void * __builtin_chkp_mempcpy_nobnd(void *, const void *, __CPROVER_size_t)
int __builtin_strcasecmp(const char *, const char *)
int __builtin_vfscanf(void *, const char *, __builtin_va_list)
int __builtin_isupper(int)
void * __builtin___bnd_narrow_ptr_bounds(const void *, const void *, __CPROVER_size_t)
int __builtin_clz(unsigned)
void __builtin___clear_cache(void *, void *)
int __builtin_fprintf_unlocked(void *, const char *,...)
char * __builtin_strrchr(const char *, int)
int __builtin_isalnum(int)
void __builtin_prefetch(const void *,...)
int __builtin___fprintf_chk(void *, int, const char *,...)
int __builtin_fscanf(void *stream, const char *fmt,...)
int __builtin_ctzll(unsigned long long)
int __builtin_islower(int)
void ** __builtin_va_list