aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/HACKING9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/HACKING b/doc/HACKING
index 66e030b90c..524f17da8b 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