title: How do you tell Valgrind to completely suppress a particular .so file?
body: <p>I'm trying to use Valgrind on a program that I'm working on, but Valgrind generates a bunch of errors for one of the libraries that I'm using. I'd like to be able to tell it to suppress all errors which involve that library. The closest rule that I can come up with for the suppression file is</p>
  
  <pre><code>{
     rule name
     Memcheck:Cond
     ...
     obj:/path/to/library/thelibrary.so
  }
  </code></pre>
  
  <p>This doesn't entirely do the job, however. I have to create one of these for every suppression type that comes up (Cond, Value4, Param, etc), and it seems to still miss some errors which have the library in the stack trace.</p>
  
  <p>Is there a way to give Valgrind a single suppression rule to make it completely ignore a particular library? And even if there is no way to make such a rule which covers all suppression types, is there at least a way to create a rule which ignores all errors of a particular suppression type from a particular library?</p>