Skip to content

Instantly share code, notes, and snippets.

View Adobels's full-sized avatar
🎯
Focusing

Blazej SLEBODA Adobels

🎯
Focusing
View GitHub Profile
@Adobels
Adobels / Demangle Swift
Created July 6, 2024 10:45 — forked from krzyzanowskim/Demangle Swift
Hopper Disassembler Swift names demangle script
import subprocess
def looksLikeBeginning(doc,seg,adr):
if isinstance(seg.getNameAtAddress(adr), str):
label = seg.getNameAtAddress(adr)
pos = label.find("_T")
if pos != -1:
return label[pos:]
return None