Top > All GNU Packages > checker

checker - Finds memory errors at runtime

'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.

Obtaining

Web pagehttp://www.gnu.org/software/checker/
Source tarballftp://alpha.gnu.org/pub/gnu/checker/Checker-0.9.9.1.tar.gz
Version 0.9.9.1 (stable) released on 2002-08-24
Licensed under The GNU General Public License, Version 2.
This is a GNU package.

Support contacts

Bug List<bug-checker@gnu.org>

Project contacts

Maintainers
Developers
Contributors

Related information

Source repository:pserver:anoncvs@subversions.gnu.org:/cvsroot/checker http://savannah.gnu.org/cvs/?group_id=58
Programscheckergcc
Source languagesC
Supported languagesC, C++
Use requirementsgcc 2.8.1
Build prerequisitesgcc

Entry information

License verified byJanet Casey <jcasey@gnu.org> on 2001-03-01
Entry compiled byJanet Casey <jcasey@gnu.org>

Categories



The copyright licensing notice below applies to this text. The software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Copyright © 2000, 2001, 2002, 2003 Free Software Foundation, Inc.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of this license is included in the file COPYING.DOC.

Please report any problems in this page to bug-directory@gnu.org, or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.