Lint (software)

Lint (software)

In computer programming, lint was the name originally given to a particular program that flagged suspicious and non-portable constructs (likely to be bugs) in C language source code. The term is now applied generically to tools that flag suspicious usage in software written in any computer language. The term lint-like behavior is sometimes applied to the process of flagging suspicious language usage. lint-like tools generally perform static analysis of source code.

Suspicious usage includes: variables being used before being set, conditions that are constant, and calculations whose result is likely to be outside the range of values representable in the type used.

The term was derived from the name of the undesirable bits of fiber and fluff found in sheep's wool.

Many of the forms of analysis performed by lint-like tools are also performed by optimizing compilers (whose prime motivation is to generate higher quality code), and modern compilers can often detect many of the constructs traditionally warned about by lint.

Writers of lint-like tools have continued to improve the range of suspicious constructs that they detect. Modern tools perform forms of analysis that many optimizing compilers typically don't do, such as cross-module consistency checking, checking that the code will be portable to other compilers, and supporting annotations that specify intended behavior or properties of code.

Lint first appeared (outside of Bell Labs) in the seventh version (V7) of the UNIX operating system in 1979. It was derived from PCC, the Portable C Compiler, which was included with that system. Lint and PCC were developed by Stephen C. Johnson, who also authored the parser generator yacc.

ee also

*List of tools for static code analysis

References

*Stephen Johnson. "Lint, a C program checker". Computer Science Technical Report 65, Bell Laboratories, December 1977.

External links

*Book: [http://www.oreilly.com/catalog/lint/ Checking C Programs with Lint] by Ian F. Darwin (ISBN 0-937175-30-7)
* Man page: http://docs.sun.com/source/806-3567/lint.html


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Lint — may mean: * Fibrous coat of thick hairs covering the seeds of the cotton plant * Fuzzy fluff that accumulates on various fabrics, which can be removed via a lint roller * Fibers that become trapped in the lint filter of a clothes dryer * Navel… …   Wikipedia

  • LINT — Alstom Coradia LINT Allgemein Anzahl: ca. 300 (März 2009) Hersteller: Alstom LHB Baujahr(e): ab 1999 Spurweite: 1435 mm Höhe: 4,34 m Breite: 2,75 m Drehgestellachsstand: 1900 mm Höchstgeschwindigkeit: 120 km/h …   Deutsch Wikipedia

  • LINT 27 — Alstom Coradia LINT Allgemein Anzahl: ca. 300 (März 2009) Hersteller: Alstom LHB Baujahr(e): ab 1999 Spurweite: 1435 mm Höhe: 4,34 m Breite: 2,75 m Drehgestellachsstand: 1900 mm Höchstgeschwindigkeit: 120 km/h …   Deutsch Wikipedia

  • LINT 41 — Alstom Coradia LINT Allgemein Anzahl: ca. 300 (März 2009) Hersteller: Alstom LHB Baujahr(e): ab 1999 Spurweite: 1435 mm Höhe: 4,34 m Breite: 2,75 m Drehgestellachsstand: 1900 mm Höchstgeschwindigkeit: 120 km/h …   Deutsch Wikipedia

  • PC-Lint — is a commercial static code analysis software tool produced by Gimpel Software for the C/C++ languages. PC lint is a command line tool for developers, indicating suspicious or plain wrong issues in source code. PC lint (or its multi platform… …   Wikipedia

  • Alstom LHB Coradia LINT — Alstom Coradia LINT Allgemein Anzahl: ca. 300 (März 2009) Hersteller: Alstom LHB Baujahr(e): ab 1999 Spurweite: 1435 mm Höhe: 4,34 m Breite: 2,75 m Drehgestellachsstand: 1900 mm Höchstgeschwindigkeit: 120 km/h …   Deutsch Wikipedia

  • Coradia LINT — Alstom Coradia LINT Allgemein Anzahl: ca. 300 (März 2009) Hersteller: Alstom LHB Baujahr(e): ab 1999 Spurweite: 1435 mm Höhe: 4,34 m Breite: 2,75 m Drehgestellachsstand: 1900 mm Höchstgeschwindigkeit: 120 km/h …   Deutsch Wikipedia

  • Avionics software — is embedded software with legally mandated safety and reliability concerns used in avionics. The main difference between avionic software and conventional embedded software is that the development process is required by law and is optimized for… …   Wikipedia

  • Splint (Software) — Splint (Secure Programming Lint) ist eine Software für statische Quellcode Analysen der Programmiersprache C. Splint ist eine indirekte Weiterentwicklung von Lint. Splint ist freie Software, die unter der GNU General Public License veröffentlicht …   Deutsch Wikipedia

  • List of tools for static code analysis — This is a list of significant tools for static code analysis.Historical products* Lint the original static code analyzer of C code.Open source or Noncommercial products .NET (C#, VB.NET and all .NET compatible languages) *… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”