---
title: "[Valgrind](https://en.wikipedia.org/wiki/Valgrind)"
---

- [Valgrind Quick Start Guide](http://www.valgrind.org/docs/manual/quick-start.html)
- [Valgrind User Manual](http://www.valgrind.org/docs/manual/manual.html)
- [Valgrind FAQ](http://www.valgrind.org/docs/manual/faq.html)

```text
$ export GLIBCXX_FORCE_NEW=1 MALLOC_CHECK_=0

$ valgrind --leak-check=yes myprog arg1 arg2
$ valgrind --leak-check=yes --track-origins=yes myprog arg1 arg2
```
