byteDiff.py for diagnosis