summaryrefslogtreecommitdiff
path: root/one-off
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-07-10 17:06:54 +0200
committerPeter Wu <peter@lekensteyn.nl>2015-07-10 17:06:54 +0200
commit905854ee47cb0931bbfdd372409bb7e7d45679de (patch)
tree606c77bad374dfc284f9b5b0c2d706183656ed13 /one-off
parent69af86e6c2cf965ba3d7f9636b647b195f0b7d57 (diff)
downloadwireshark-notes-905854ee47cb0931bbfdd372409bb7e7d45679de.tar.gz
cleanup: notes on LSAN
Diffstat (limited to 'one-off')
-rw-r--r--one-off/cleanup-notes.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/one-off/cleanup-notes.txt b/one-off/cleanup-notes.txt
index 7383598..7bb6d9e 100644
--- a/one-off/cleanup-notes.txt
+++ b/one-off/cleanup-notes.txt
@@ -52,3 +52,14 @@ while :;do f;done
# convert all dissectors with cleanup script
time for i in $(cat /tmp/fns/.x/epan.txt);do ../wireshark-notes/one-off/cleanup-rewrite.py -w $i 2>/tmp/errs/${i##*/}.txt;done
+# same, but based on a previous source
+time for i in $(sort /tmp/fns/.x/epan.txt);do git show HEAD:$i | ../wireshark-notes/one-off/cleanup-rewrite.py -w -:$i 2>/tmp/errs/${i##*/}.txt;done
+
+# Edit all files changed since last version
+vim -p $(git diff --name-status HEAD| awk '{print $NF}')
+
+# Env options for better LSAN traces:
+LSAN_OPTIONS=fast_unwind_on_malloc=0
+WIRESHARK_DEBUG_EP_NO_CHUNKS=1
+WIRESHARK_DEBUG_SE_NO_CHUNKS=1
+G_SLICE=always-malloc