blob: 989e3dfee7e920c0ca10fd25d66da7fdf7838663 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# valgrind(1)
## Memcheck `--tool=memcheck`
Is the default tool when invoking `valgrind` without explicitly specifying
`--tool`.
Memory checker used to identify:
- memory leaks
- out of bound accesses
- uninitialized reads
```sh
valgrind [OPTIONS] PROGRAM [ARGS]
--log-file=FILE Write valgrind output to FILE.
--leak-check=full Enable full leak check.
--track-origins=yes Show origins of undefined values.
--keep-debuginfo=no|yes Keep symbols etc for unloaded code.
--gen-suppressions=yes Generate suppressions file from the run.
--suppressions=FILE Load suppressions file.
```
|