Re:IKOS: Static analyzer for C/C++ based on the theory of Ab...
by rurban on Thursday April 21, 2022 @10:18AM
(#31109730)
With this example:
cbmc --bounds-check test.c
test.c function main
[main.array_bounds.1] line 6 array 'a' upper bound in a[(signed long int)i]: SUCCESS
[main.array_bounds.2] line 8 array 'a' upper bound in a[(signed long int)i]: FAILURE
** 1 of 2 failed (2 iterations)
VERIFICATION FAILED
gcc and clang both failed to find anything at compile-time.
cbmc --bounds-check test.c
gcc and clang both failed to find anything at compile-time.