Skip to content

This repository contains categorized C code examples that demonstrate how Splint, a static analysis tool, detects memory issues, logic errors, buffer overflows, unsafe macros, and naming convention violations.

Notifications You must be signed in to change notification settings

Or4cle404/splint-code

Repository files navigation

Splint as a Static Bug Detection Tool for C

This repository provides categorized examples of common C programming bugs detected using the Splint static analysis tool. While most compilers can catch syntax errors, Splint goes deeper to uncover hidden memory issues, logic flaws, and security vulnerabilities.


What You'll Learn

  • How Splint detects null pointer dereferences
  • How it identifies uninitialized memory usage
  • Detection of memory leaks and dangling references
  • Prevention of buffer overflows
  • Checks for unsafe macros and naming convention violations
  • Detection of dangerous aliasing and control flow problems

About

This repository contains categorized C code examples that demonstrate how Splint, a static analysis tool, detects memory issues, logic errors, buffer overflows, unsafe macros, and naming convention violations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages