tools: Do not overwrite function names with j_ names either

This commit is contained in:
Léo Lam 2021-08-02 15:53:59 +02:00
parent e28ba16cc0
commit 8f8a48a1dc
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 1 additions and 1 deletions

View File

@ -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)