mirror of
https://github.com/zeldaret/ph
synced 2026-09-03 01:54:10 -04:00
Mangle ActorRupee actor type and resource
This commit is contained in:
+17
-3
@@ -40,6 +40,20 @@ output = output.decode()
|
||||
|
||||
# print(output)
|
||||
|
||||
mangled_names: list[str] = re.findall(r'.text +(_Z\S+)', output)
|
||||
for name in mangled_names:
|
||||
print(name)
|
||||
mangled_funcs: list[str] = re.findall(r'.text +(_Z\S+)', output)
|
||||
mangled_data: list[str] = re.findall(r'(?:.data|.bss) +(_Z\S+)', output)
|
||||
|
||||
if len(mangled_funcs) > 0:
|
||||
print('Functions:')
|
||||
print()
|
||||
for func in mangled_funcs:
|
||||
print(func)
|
||||
print()
|
||||
print()
|
||||
if len(mangled_data) > 0:
|
||||
print('Data:')
|
||||
print()
|
||||
for data in mangled_data:
|
||||
print(data)
|
||||
print()
|
||||
print()
|
||||
|
||||
Reference in New Issue
Block a user