Fix issue in linker script generation with SDK imported symbols.

This commit is contained in:
shibbo
2019-03-10 16:14:05 -04:00
parent 3b5b5805f5
commit e8c147cb01
2 changed files with 9915 additions and 9912 deletions
+4 -1
View File
@@ -63,7 +63,10 @@ with open("syms.ld", "w") as linker:
if not isValid:
continue
#print(symbolName)
# sdk functions have a _0 at the end because they are duplicated due to the originals being imported
# so IDA adds a _0 at the end...we need to stript this
if "_ZN2nn" in symbolName:
symbolName = symbolName.strip("_0")
linker.write(f"{symbolName} = {address} - {sys.argv[2]};\n")
+9911 -9911
View File
File diff suppressed because it is too large Load Diff