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