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
+1 -1
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)