mirror of
https://github.com/zeldaret/ph
synced 2026-06-03 18:36:11 -04:00
Output non-mangled symbols in mangle.py
This commit is contained in:
+2
-2
@@ -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:')
|
||||
|
||||
Reference in New Issue
Block a user