In the following examples, main.cc is a file name, foo and bar are functions, and a.out is the name of an executable.
Do not report memory leaks whose allocation occurs in function foo.
suppress mel in foo |
Suppress reporting blocks in use allocated from libc.so.1.
suppress biu in libc.so.1 |
Suppress read from uninitialized in all functions in a.out.
suppress rui in a.out |
Do not report read from unallocated in file main.cc.
suppress rua in main.cc |
Suppress duplicate free at line 10 of main.cc.
suppress duf at main.cc:10 |
Suppress reporting of all errors in function bar.
suppress all in bar |
For more information, see suppress Command.