tools: Do not overwrite function names with nullsub_ and sub_

This commit is contained in:
Léo Lam 2021-08-02 15:49:00 +02:00
parent 85000e3c7c
commit e28ba16cc0
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 fn[1] != "L":
if name and not name.startswith("nullsub_") and not name.startswith("sub_"):
idc.set_name(addr, name)