Dynamic program analysis
Appearance
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