From 6321adc41196c402a61637577082919864f587a2 Mon Sep 17 00:00:00 2001 From: AG <98327736+ggold7046@users.noreply.github.com> Date: Sat, 11 Mar 2023 12:43:22 +0530 Subject: [PATCH] Update match-function-id.py Updated with f string for enhanced readability. --- scripts/match-function-id.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/match-function-id.py b/scripts/match-function-id.py index e7b1ea38..0daa88bb 100644 --- a/scripts/match-function-id.py +++ b/scripts/match-function-id.py @@ -125,7 +125,7 @@ def main(argv=None): for analyzer in analyzers: name = viv_utils.flirt.match_function_flirt_signatures(analyzer.matcher, vw, function) if name: - print("0x%04x: %s" % (function, name)) + print(f"0x{function:04x}: {name}") return 0