README 1.2 KB

1234567891011121314151617181920212223242526
  1. splint is a tool for statically checking C programs for security
  2. vulnerabilities and programming mistakes. Splint does many of
  3. the traditional lint checks including unused declarations, type
  4. inconsistencies, use before definition, unreachable code, ignored
  5. return values, execution paths with no return, likely infinite loops,
  6. and fall through cases.
  7. More powerful checks are made possible by additional information given
  8. in source code annotations. Annotations are stylized comments that
  9. document assumptions about functions, variables, parameters and types.
  10. In addition to the checks specifically enabled by annotations, many of
  11. the traditional lint checks are improved by exploiting this additional
  12. information.
  13. As more effort is put into annotating programs, better checking
  14. results. Splint is designed to be flexible and allow programmers to
  15. select appropriate points on the effort-benefit curve for particular
  16. projects. As different checks are turned on and more information
  17. is given in code annotations the number of bugs that can be detected
  18. increases dramatically.
  19. If you want splint to be used as the system default lint, then do this
  20. after installing splint:
  21. cd /usr/bin ; ln -s splint lint
  22. cd /usr/man/man1 ; ln -s splint.1.gz lint.1.gz