Output non-mangled symbols in mangle.py

This commit is contained in:
Aetias
2024-04-21 12:12:14 +02:00
parent 188ac744ca
commit 1b5f40c995
+2 -2
View File
@@ -40,8 +40,8 @@ output = output.decode()
# print(output)
mangled_funcs: list[str] = re.findall(r'.text +(_Z\S+)', output)
mangled_data: list[str] = re.findall(r'(?:.data|.bss) +(_Z\S+)', output)
mangled_funcs: list[str] = re.findall(r'.text +([^\$ ]\S+)', output)
mangled_data: list[str] = re.findall(r'(?:.data|.bss) +([^\. ]\S+)', output)
if len(mangled_funcs) > 0:
print('Functions:')