Clearer valgrind instructions for non-Debian openssls

This commit is contained in:
Nick Mathewson 2009-05-19 10:40:20 -04:00
parent 79762aac17
commit 7d84b84608

View File

@ -11,12 +11,20 @@
0.1. Useful command-lines that are non-trivial to reproduce but can 0.1. Useful command-lines that are non-trivial to reproduce but can
help with tracking bugs or leaks. help with tracking bugs or leaks.
0.1.1. Dmalloc
dmalloc -l ~/dmalloc.log dmalloc -l ~/dmalloc.log
(run the commands it tells you) (run the commands it tells you)
./configure --with-dmalloc ./configure --with-dmalloc
0.2.2. Valgrind
valgrind --leak-check=yes --error-limit=no --show-reachable=yes src/or/tor valgrind --leak-check=yes --error-limit=no --show-reachable=yes src/or/tor
(Note that if you get a zillion openssl warnings, you will also need to
pass --undef-value-errors=no to valgrind, or rebuild your openssl
with -DPURIFY.)
0.2. Running gcov for unit test coverage 0.2. Running gcov for unit test coverage
make clean make clean