File tree 2 files changed +17
-14
lines changed
regression/cbmc/trace_show_function_calls
2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 1
1
int function_to_call (int a )
2
2
{
3
- int local = 1 ;
4
- return a + local ;
3
+ int local = 1 ;
4
+ return a + local ;
5
5
}
6
6
7
+ int function_without_body (int p );
7
8
8
9
int main ()
9
10
{
10
- int a ;
11
- unsigned int b ;
12
- a = 0 ;
13
- a = -100 ;
14
- a = 2147483647 ;
15
- b = a * 2 ;
16
- a = -2147483647 ;
17
- a = function_to_call (a );
18
- b = function_to_call (b );
19
-
20
- __CPROVER_assert (0 ,"" );
11
+ int a ;
12
+ unsigned int b ;
13
+ a = 0 ;
14
+ a = -100 ;
15
+ a = 2147483647 ;
16
+ b = a * 2 ;
17
+ a = -2147483647 ;
18
+ a = function_to_call (a );
19
+ b = function_to_call (b );
20
+ a = function_without_body (123 );
21
21
22
+ __CPROVER_assert (0 , "" );
22
23
}
Original file line number Diff line number Diff line change 1
- CORE broken-smt-backend
1
+ KNOWNBUG broken-smt-backend
2
2
main.c
3
3
--trace --trace-show-function-calls
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
Function call: function_to_call\(-2147483647\) \(depth 2\)
7
7
Function return from function_to_call \(depth 1\)
8
8
Function call: function_to_call\(-2\) \(depth 2\)
9
+ Function call: function_without_body\(123\) \(depth 2\)
10
+ Function return from function_without_body \(depth 1\)
9
11
^VERIFICATION FAILED$
10
12
--
11
13
^warning: ignoring
You can’t perform that action at this time.
0 commit comments