From 905854ee47cb0931bbfdd372409bb7e7d45679de Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Fri, 10 Jul 2015 17:06:54 +0200 Subject: cleanup: notes on LSAN --- one-off/cleanup-notes.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit v1.2.1