瀏覽代碼

now that i hunted these command-lines down, let's keep them for
posterity.


svn:r10973

Roger Dingledine 17 年之前
父節點
當前提交
70f1c25729
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      doc/HACKING

+ 9 - 0
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