Valgrind

Valgrind is a memory super-tool.

Sometimes you want to suppress leak-check information, like with the OpenSSL library. Put this in a file, like ~/vg/openssl.supp:

{
  openssl gonna openssl
  Memcheck:Cond
  obj:/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
}
{
  openssl gonna openssl
  Memcheck:Value4
  obj:/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
}

Then, you can run valgrind with the --suppression=~/vg/openssl.supp flag.