]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Clearer valgrind instructions for non-Debian openssls
authorNick Mathewson <nickm@torproject.org>
Tue, 19 May 2009 14:40:20 +0000 (10:40 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 19 May 2009 14:40:20 +0000 (10:40 -0400)
doc/HACKING

index 50b5d80d183bcf7ba9200828b8147d58a3cef53b..3d3f2c1dfc5c3ee9a87fc3f46a48972c5fdf8cbf 100644 (file)
 0.1. Useful command-lines that are non-trivial to reproduce but can
 help with tracking bugs or leaks.
 
+0.1.1. Dmalloc
+
 dmalloc -l ~/dmalloc.log
 (run the commands it tells you)
 ./configure --with-dmalloc
 
+0.2.2. Valgrind
+
 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
 
   make clean