aboutsummaryrefslogtreecommitdiff
path: root/doc/HACKING
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-07-29 22:13:08 +0000
committerRoger Dingledine <arma@torproject.org>2007-07-29 22:13:08 +0000
commit70f1c257294e5712b2a1128d9a9a98424972048b (patch)
tree11fd0d65607b329fa5b12e2d104ad019799d33e5 /doc/HACKING
parentadae161400014d1609493e27cf78fb17b93b4533 (diff)
downloadtor-70f1c257294e5712b2a1128d9a9a98424972048b.tar
tor-70f1c257294e5712b2a1128d9a9a98424972048b.tar.gz
now that i hunted these command-lines down, let's keep them for
posterity. svn:r10973
Diffstat (limited to 'doc/HACKING')
-rw-r--r--doc/HACKING9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/HACKING b/doc/HACKING
index 66e030b90..524f17da8 100644
--- a/doc/HACKING
+++ b/doc/HACKING
@@ -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