Dynamic analysis

Dynamic analysis is a short version of dynamic program analysis, which analyzes the performance of a software program by executing it either on a real or virtual processor. Similar to static analysis, dynamic analysis can also be done automatically or manually. For instance, unit tests, integration tests, system tests, and acceptance tests are typically human-involved dynamic analysis processes. On the other hand, memory debugging, memory leak detection, and profiling tools such as IBM purify, Valgrind, and Clang sanitizers are automatic dynamic analysis tools. We will focus on automatic dynamic analysis tools in this subsection.

A dynamic analysis process contains steps such as preparing the input data, launching a test ...

Get Expert C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.