From 8f8a48a1dc2d85b09f0174d3bc42043ffa8e0ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 2 Aug 2021 15:53:59 +0200 Subject: [PATCH] tools: Do not overwrite function names with j_ names either --- tools/rename_functions_in_ida.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rename_functions_in_ida.py b/tools/rename_functions_in_ida.py index 9b3c127e..0dbf2be3 100644 --- a/tools/rename_functions_in_ida.py +++ b/tools/rename_functions_in_ida.py @@ -14,5 +14,5 @@ with open(csv_path, "r") as f: for fn in reader: addr = int(fn[0], 16) name = fn[3] - if name and not name.startswith("nullsub_") and not name.startswith("sub_"): + if name and not name.startswith(("sub_", "nullsub_", "j_")): idc.set_name(addr, name)