File: stack.expect

package info (click to toggle)
splint 1%3A3.1.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 21,004 kB
  • sloc: ansic: 150,869; yacc: 3,465; sh: 3,034; makefile: 2,157; lex: 412
file content (14 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

stack.c: (in function stack1)
stack.c:10:2: Stack-allocated storage *x reachable from parameter x
   stack.c:9:3: Storage *x becomes stack-allocated storage
stack.c:10:2: Stack-allocated storage glob reachable from global glob
   stack.c:8:3: Storage glob becomes stack-allocated storage
stack.c: (in function f)
stack.c:20:14: Stack-allocated storage &x reachable from return value: &x
stack.c:31:11: Stack-allocated storage sa reachable from return value: sa
stack.c:35:11: Stack-allocated storage sa reachable from return value: &sa[0]

Finished checking --- 5 code warnings, as expected

Finished checking --- no warnings