lundi 9 mai 2016

Can static analysis detect memory leaks?

Having received my ISTQB certification a long time ago, I remember that it makes the following distinction:
-static analysis: performed on the source code, detects unreachable code, unassigned values etc.
-dynamic analysis: can detect memory leaks etc., requires execution (profiling).

But when I search today, I can see various sites and sources mentioning static analysis is capable of detecting memory leaks too.

So I wonder, is static analysis really capable of that? And if so, what is the different between dynamic analysis then, in terms of results?

Aucun commentaire:

Enregistrer un commentaire