Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit fb414df

Browse files
committed
Use Objective-C method syntax for function symbols
Resolves: #37
1 parent 87b75e7 commit fb414df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/InfoHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void InfoHandler::applyMethodType(BinaryViewRef bv, const ObjectiveNinja::ClassI
114114
if (auto f = bv->GetAnalysisFunction(bv->GetDefaultPlatform(), mi.implAddress))
115115
f->SetUserType(functionNat.type);
116116

117-
auto name = ci.name + "_" + sanitizeSelector(mi.selector);
117+
auto name = "[" + ci.name + " " + mi.selector + "]";
118118
defineSymbol(bv, mi.implAddress, name, "", FunctionSymbol);
119119
}
120120

0 commit comments

Comments
 (0)