sizeof.c: (in function main)
-sizeof.c:9:2: Unresolved constraint:
- Lclint is unable to resolve Requires: :
- ( 2 ) >= ( 3 ) needed to satisfy Requires: : MAXSET ((x @ sizeof.c:6:2
- ) ) >= ( 3 )
+sizeof.c:6:2: Likely 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, as expected