[or-cvs] r10973: now that i hunted these command-lines down, let's keep them (tor/trunk/doc)

arma at seul.org arma at seul.org
Sun Jul 29 22:13:08 UTC 2007


Author: arma
Date: 2007-07-29 18:13:08 -0400 (Sun, 29 Jul 2007)
New Revision: 10973

Modified:
   tor/trunk/doc/HACKING
Log:
now that i hunted these command-lines down, let's keep them for
posterity.


Modified: tor/trunk/doc/HACKING
===================================================================
--- tor/trunk/doc/HACKING	2007-07-29 21:42:34 UTC (rev 10972)
+++ tor/trunk/doc/HACKING	2007-07-29 22:13:08 UTC (rev 10973)
@@ -3,6 +3,15 @@
 
   http://tor-buildbot.freehaven.net:8010/
 
+0.1. Useful command-lines that are non-trivial to reproduce but can
+help with tracking bugs or leaks.
+
+dmalloc -l ~/dmalloc.log
+(run the commands it tells you)
+./configure --with-dmalloc
+
+valgrind --leak-check=yes --error-limit=no --show-reachable=yes src/or/tor
+
 1. Coding conventions
 
 1.0. Whitespace and C conformance



More information about the tor-commits mailing list