kirby64/tools/destroy_undefined_syms.py

16 lines
325 B
Python
Raw Normal View History

2021-01-08 19:09:09 +00:00
import sys, os
# with open(sys.argv[1]) as f:
# for line in f:
# fs = line[:-1]
# print(fs)
# os.system("python3 tools/de_overlay_func.py "+fs + "> /dev/null")
# addrStart = int(sys.argv[1], 16)
# addrEnd = int(sys.argv[2], 16)
# for i in range(addrStart, addrEnd)[::4]:
# print("func_"+str(hex(i))[2:].upper())