blob: 2b5d834e9620756d76f4fcf9e8842c97dea128fc [file] [view] [edit]
# Dr. Memory: the memory debugger
## About Dr. Memory
Dr. Memory is a memory monitoring tool capable of identifying
memory-related programming errors such as accesses of uninitialized memory,
accesses to unaddressable memory (including outside of allocated heap units
and heap underflow and overflow), accesses to freed memory, double frees,
memory leaks, and (on Windows) handle leaks, GDI API usage errors, and
accesses to un-reserved thread local storage slots.
Dr. Memory operates on unmodified application binaries running on Windows,
Linux, Mac, or Android on commodity IA-32, AMD64, and ARM hardware.
Dr. Memory is released under an LGPL license and binary packages are
[available for download](https://drmemory.org/page_download.html).
Dr. Memory is built on the [DynamoRIO dynamic instrumentation tool
plaform](http://dynamorio.org).
![Dr. Memory logo](http://www.burningcutlery.com/images/dynamorio/DrMemory-logo.png)
## Dr. Memory Performance
Dr. Memory is faster than comparable tools, including Valgrind, as shown in
our [CGO 2011](http://www.cgo.org) paper [Practical Memory Checking with
Dr. Memory](http://www.burningcutlery.com/derek/docs/drmem-CGO11.pdf),
where we compare the two tools on Linux on the SPECCPU 2006 benchmark
suite:
![Performance chart](http://burningcutlery.com/images/dynamorio/drmem-spec2k6-sm.png)
(Valgrind is unable to run 434.zeusmp and 447.dealII).
## Documentation
Documentation is included in the release package. We also maintain a copy
for [online browsing](http://drmemory.org/).
## System call tracer for Windows
The Dr. Memory package includes [an "strace for Windows" tool called
`drstrace`](https://drmemory.org/page_drstrace.html).
## Obtaining help
Dr. Memory has its own [discussion
list](http://groups.google.com/group/DrMemory-Users).
To report a bug, use the [issue
tracker](https://github.com/DynamoRIO/drmemory/issues).
See also [the Dr. Memory home page](http://drmemory.org/): [http://drmemory.org/](http://drmemory.org/)