From 345278f30955431ccd8709ca5f87dc1a2e3d5989 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Sun, 20 Nov 2016 14:27:14 +0100 Subject: [PATCH] Re-enable assertion in xstrip.py. --- src/stub/powerpc-darwin.macho-upxmain.exe | Bin src/stub/scripts/xstrip.py | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) mode change 100755 => 100644 src/stub/powerpc-darwin.macho-upxmain.exe diff --git a/src/stub/powerpc-darwin.macho-upxmain.exe b/src/stub/powerpc-darwin.macho-upxmain.exe old mode 100755 new mode 100644 diff --git a/src/stub/scripts/xstrip.py b/src/stub/scripts/xstrip.py index 466ff772..e86ba7d1 100644 --- a/src/stub/scripts/xstrip.py +++ b/src/stub/scripts/xstrip.py @@ -178,8 +178,7 @@ def do_file(fn): # FIXME / TODO pass else: - pass - #assert pos == len(odata), ("unexpected strip_with_dump", pos, len(odata)) + assert pos == len(odata), ("unexpected strip_with_dump", pos, len(odata)) else: if pos >= 0: odata = idata[:pos]