Are there conditions under which valgrind will not report leaks / erros

I check valgrind for the first time, and I like the current results, however, I am curious if valgrind will always return the memory leaks that it encountered, or if someone can get away from it, the specificity depends on how the program shuts down. For example, if the program is killed using the program "killall -9".

Here is the result of my current program, stopped using the "final process" in the Ubuntu system monitor

==10182== HEAP SUMMARY:
==10182==     in use at exit: 0 bytes in 0 blocks
==10182==   total heap usage: 8,747,225 allocs, 8,747,225 frees, 1,352,535,387 bytes allocated
==10182== 
==10182== All heap blocks were freed -- no leaks are possible
==10182== 
==10182== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Is this result a confirmation that there were literally zero leaks or context errors?

+4
source share
1

this, Vallgrind , .

0

Source: https://habr.com/ru/post/1525839/


All Articles