Cemre Mengü
Cemre Mengü

Reputation: 18754

Difference between Dynamic Binary Instrumentation and Analysis

I am reading about automated bug finding techniques and in (Valgrind) paper it mentions that Valgrind is a dynamic binary instrumentation framework for building dynamic binary analysis tools. This maybe a bit stupid but I am a bit confused about the naming here. What exactly is the difference between instrumentation and analysis ? (I know that they are different words but what is the difference in practice ?)

Upvotes: 2

Views: 780

Answers (2)

roedeercuco
roedeercuco

Reputation: 59

The implementation details of this automated bug-finding tool should answer your question:

  • You use dynamic binary instrumentation tools to instrument the source code for further analysis.
  • You use different algorithms or techniques to analyze the code, such as statistical debugging introduced in the article.

Upvotes: 0

user405725
user405725

Reputation:

Instrumentation is collecting data. Analysis is, well, analyzing it. The reason why Valgrind mentions "dynamic" is because there are also static analysis tools that actually analyze the code without running a program whereas Valgrind analyzes a binary code while running a binary.

See also:

Upvotes: 1

Related Questions