From b4ce025f431d2af5957b0a09a6e522c348b6f708 Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Thu, 29 Feb 2024 16:04:15 +0000 Subject: [PATCH] Bug fix. Windows build was using \r\n Signed-off-by: Prabhu Subramanian --- blint/binary.py | 1 + 1 file changed, 1 insertion(+) diff --git a/blint/binary.py b/blint/binary.py index 554e049..1a9615e 100644 --- a/blint/binary.py +++ b/blint/binary.py @@ -909,6 +909,7 @@ def parse_overlay(parsed_obj: lief.Binary) -> dict[str, dict]: overlay_str = ( codecs.decode(overlay.tobytes(), encoding="utf-8", errors="backslashreplace") .replace("\0", "") + .replace("\r\n", "") .replace("\n", "") .replace(" ", "") )