diff options
| author | Aetias <aetias@outlook.com> | 2025-01-19 12:22:57 +0100 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2025-01-19 12:22:57 +0100 |
| commit | 04328420f3b141b46ffbbf1c46fc3b197bdb21fe (patch) | |
| tree | 467d6329d2ad36422825fbaa99d9baa63e864c6d /tools | |
| parent | e1d2f0b168ebd698d7a69dbb53fe15cc7fa548aa (diff) | |
Add ActorSwitchObject
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mangle.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/mangle.py b/tools/mangle.py index e4cf872c..3ecca3db 100644 --- a/tools/mangle.py +++ b/tools/mangle.py @@ -54,6 +54,7 @@ output = output.decode() # print(output) mangled_funcs: list[str] = re.findall(r'.text +([^\$ ]\S+)', output) +init_funcs: list[str] = re.findall(r'.init +([^\$ ]\S+)', output) mangled_data: list[str] = re.findall(r'(?:.data|.bss) +([^\. ]\S+)', output) if len(mangled_funcs) > 0: @@ -63,6 +64,13 @@ if len(mangled_funcs) > 0: print(func) print() print() +if len(init_funcs) > 0: + print('Static initializers:') + print() + for func in init_funcs: + print(func) + print() + print() if len(mangled_data) > 0: print('Data:') print() |
