Skip to content

Commit

Permalink
Bug fix. Windows build was using \r\n
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Feb 29, 2024
1 parent a1620a2 commit b4ce025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blint/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(" ", "")
)
Expand Down

0 comments on commit b4ce025

Please sign in to comment.