File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cbmc-cpp/Pointer_Conversion2
cbmc/pragma_cprover_enable_all Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11#include < cassert>
2- char a[100 ];
2+ signed char a[100 ];
33
44void f (const signed char x[])
55{
Original file line number Diff line number Diff line change 88^\[main\.division-by-zero\.\d+\] line 84 division by zero in x / den: FAILURE
99^\[main\.overflow\.\d+\] line 84 arithmetic overflow on floating-point division in x / den: FAILURE
1010^\[main\.enum-range-check\.\d+\] line 85 enum range check in \(ABC\)10: FAILURE
11- ^\[main\.overflow\.\d+\] line 86 arithmetic overflow on signed type conversion in \(char\)\(\(signed int\)i \+ 1\): FAILURE
11+ ^\[main\.overflow\.\d+\] line 86 arithmetic overflow on signed (to unsigned )? type conversion in \(char\)\(\(signed int\)i \+ 1\): FAILURE
1212^\[main\.overflow\.\d+\] line 87 arithmetic overflow on signed \+ in j \+ 1: FAILURE
1313^VERIFICATION FAILED$
1414^EXIT=10$
You can’t perform that action at this time.
0 commit comments