Jump to content

Dynamic program analysis

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by A5b (talk | contribs) at 13:28, 7 June 2006 (Some from static code analysis, stub.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Dynamic code analysis is the analysis of computer software that is performed with executing programs built from that software on real or virtual processor (analysis performed without executing programs is known as static code analysis). Such tools may require loading of special libraries or even recompilation of programm code.

Examples

  • Valgrind, performs run on virtual processor, can detect memory errors (e.g. connected with misuse malloc and free) and race conditions in multithread programs.
  • Dmalloc, library for checking memory allocation and leaks. Software must be recompiled, also all files must include special c header file dmalloc.h