From 14ff1892cfcafdee83f66625e9477f1108b75cf5 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Mon, 8 Apr 2024 12:56:01 +0200 Subject: [PATCH] inspect-binexport: strip strings --- scripts/inspect-binexport2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/inspect-binexport2.py b/scripts/inspect-binexport2.py index 954df7355..eb46f14f2 100644 --- a/scripts/inspect-binexport2.py +++ b/scripts/inspect-binexport2.py @@ -186,7 +186,7 @@ def main(argv=None): string_reference = be2.string_reference[string_reference_index] string_index = string_reference.string_table_index string = be2.string_table[string_index] - string_references += f'⇥ string "{string}" ' + string_references += f'⇥ string "{string.rstrip()}" ' comments = "" if instruction.comment_index: