X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/5caadb51e0e5ef262e98ae102b19d7605f8c92ed..d26c96673d5f313acdb856ccfae7df4eb4628eaf:/test/sizeoftest.expect diff --git a/test/sizeoftest.expect b/test/sizeoftest.expect index 535b163..e7cd00a 100644 --- a/test/sizeoftest.expect +++ b/test/sizeoftest.expect @@ -1,8 +1,10 @@ sizeof.c: (in function main) -sizeof.c:9:2: Unresolved constraint: - Lclint is unable to resolve Requires: : MAXSET ((x @ sizeof.c:6:2 ) ) >= - ( 3 ) needed to satisfy Requires: : MAXSET ((x @ sizeof.c:6:2 ) ) >= ( 3 - ) +sizeof.c:6:2: Possible out-of-bounds store: + x[(sizeof(x))] + Unable to resolve constraint: + requires 2 >= 3 + needed to satisfy precondition: + requires maxSet(x @ sizeof.c:6:2) >= 3 -Finished LCLint checking --- 1 code error found +Finished checking --- 1 code warning