]> andersk Git - splint.git/blame_incremental - test/constannot.expect
Made allocations involving sizeof work correctly (test/malloc.c).
[splint.git] / test / constannot.expect
... / ...
CommitLineData
1
2constannot.c: (in function foo2)
3constannot.c:11:3: Possible out-of-bounds store: str[20]
4 Unable to resolve constraint:
5 requires maxSet(str @ constannot.c:11:3) >= 20
6 needed to satisfy precondition:
7 requires maxSet(str @ constannot.c:11:3) >= 20
8constannot.c: (in function foo3)
9constannot.c:20:3: Likely out-of-bounds store: foo(buf)
10 Unable to resolve constraint:
11 requires <const int=20> <= 19
12 needed to satisfy precondition:
13 requires maxSet(buf @ constannot.c:20:8) >= <const int=20>
14 derived from foo precondition: requires maxSet(<parameter 1>) >= <const
15 int=20>
16
17Finished checking --- 2 code warnings, as expected
This page took 0.038915 seconds and 5 git commands to generate.