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

Commit

Permalink
Use Objective-C method syntax for function symbols
Browse files Browse the repository at this point in the history
Resolves: #37
  • Loading branch information
jonpalmisc committed Apr 30, 2022
1 parent 87b75e7 commit fb414df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/InfoHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void InfoHandler::applyMethodType(BinaryViewRef bv, const ObjectiveNinja::ClassI
if (auto f = bv->GetAnalysisFunction(bv->GetDefaultPlatform(), mi.implAddress))
f->SetUserType(functionNat.type);

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

Expand Down

0 comments on commit fb414df

Please sign in to comment.