title: Can static analysis detect memory leaks?
body: <p>Having received my ISTQB certification a long time ago, I remember that it makes the following distinction:<br>
  -static analysis: performed on the source code, detects unreachable code, unassigned values etc.<br>
  -dynamic analysis: can detect memory leaks etc., requires execution (profiling).</p>
  
  <p>But when I search today, I can see various sites and sources mentioning static analysis is capable of detecting memory leaks too.</p>
  
  <p>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?</p>