CBMC
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
j
l
m
r
t
w
Functions
a
c
d
f
g
r
t
w
Typedefs
Enumerations
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Related Symbols
b
c
d
e
g
i
j
m
n
o
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
y
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
_
a
b
c
d
f
g
i
l
m
p
r
s
t
u
v
w
Enumerator
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
locale.c
Go to the documentation of this file.
1
2
/* FUNCTION: setlocale */
3
4
#ifndef __CPROVER_LOCALE_H_INCLUDED
5
#include <locale.h>
6
#define __CPROVER_LOCALE_H_INCLUDED
7
#endif
8
9
char
*
setlocale
(
int
category
,
const
char
*
locale
)
10
{
11
__CPROVER_HIDE
:;
12
(
void
)
category
;
13
(
void
)*
locale
;
14
#ifdef __CPROVER_CUSTOM_BITVECTOR_ANALYSIS
15
__CPROVER_event
(
"invalidate_pointer"
,
"setlocale_result"
);
16
char
*
setlocale_result
;
17
__CPROVER_set_may
(
setlocale_result
,
"setlocale_result"
);
18
return
setlocale_result
;
19
#else
20
static
char
setlocale_result
[1];
21
return
setlocale_result
;
22
#endif
23
}
9
char
*
setlocale
(
int
category
,
const
char
*
locale
) {
…
}
24
25
/* FUNCTION: localeconv */
26
27
#ifndef __CPROVER_LOCALE_H_INCLUDED
28
#include <locale.h>
29
#define __CPROVER_LOCALE_H_INCLUDED
30
#endif
31
32
struct
lconv
*
localeconv
(
void
)
33
{
34
__CPROVER_HIDE
:;
35
#ifdef __CPROVER_CUSTOM_BITVECTOR_ANALYSIS
36
__CPROVER_event
(
"invalidate_pointer"
,
"localeconv_result"
);
37
struct
lconv
*
localeconv_result
;
38
__CPROVER_set_may
(
localeconv_result
,
"localeconv_result"
);
39
return
localeconv_result
;
40
#else
41
static
struct
lconv
localeconv_result
;
42
return
&
localeconv_result
;
43
#endif
44
}
32
struct
lconv
*
localeconv
(
void
) {
…
}
ait
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition
ai.h:562
ait::ait
ait()
Definition
ai.h:565
__CPROVER_set_may
void __CPROVER_set_may(const void *, const char *)
setlocale
char * setlocale(int category, const char *locale)
Definition
locale.c:9
localeconv
struct lconv * localeconv(void)
Definition
locale.c:32
src
ansi-c
library
locale.c
Generated by
1.9.8