Categories
checker
'checker' can help find bugs that standard tools cannot always find. The best example is memory leaks. A memory leak is a zone of memory, allocated with malloc that is not used anymore. So the memory allocated is lost. This means you program needs more memory and runs slower, since your OS might have to start swapping.
It detects bad memory accesses such as: reading uninitialized memory, writing in a freed zone, writing or reading outside of a memory block, and using NULL pointers. This is particularly useful for big programs with many functions.
Checker maintains bitmaps to keep track of the status of each byte of memory. The status can be writable, readable, both, or none. When memory is allocated, the new memory becomes write-only: you are not allowed to read it because it has not been initialized. But when you you write to this new block, those bytes become readable and writable. When the block is freed, the bytes become unreadable and unwritable. Red zones are unreadable and unwritable memory, so that each access to a red zone produces a warning.
This project was a GNU package. It has since been decommissioned and is no longer developed.Last updated 15 Oct, 2009
About
Leadership
- Ben Pfaff - Maintainer
- Ben Pfaff - Contributor
Requirements
- gcc 2.8.1 (Use Requirement)
- gcc (Build Prerequisite)
Related Projects
Subprograms
checkergcc
Versions
0.9.9.1
0.9.9.1 stable released 2002-08-24
- Released: 24 Aug, 2002
- Code Maturity: Stable
- Licenses: GPLv2




