mirror of
https://github.com/zeldaret/botw
synced 2026-06-01 01:39:11 -04:00
tools/rename_functions_in_ida: Drop support for IDA <7.4
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# Renames functions in an IDA database to match the function names
|
||||
# in the decompiled source code.
|
||||
# This script needs to be compatible with Python 2.7.
|
||||
|
||||
import csv
|
||||
import idc
|
||||
@@ -22,4 +21,4 @@ with open(csv_path, "r") as f:
|
||||
if decomp_name[-1] in MARKERS:
|
||||
decomp_name = decomp_name[:-1]
|
||||
|
||||
idc.MakeName(addr, decomp_name)
|
||||
idc.set_name(addr, decomp_name)
|
||||
|
||||
Reference in New Issue
Block a user