Skip to content

Commit

Permalink
Modify setting name and description for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
0cyn committed Jul 18, 2023
1 parent afbdcb4 commit d09dd2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MessageHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const std::set<std::string> arcFunctionNames = {
MessageHandler::MessageHandler(Ref<BinaryView> data)
: m_data(data)
{
m_shouldCleanupARCCode = BinaryNinja::Settings::Instance()->Get<bool>("objc.cleanupARCCode");
m_shouldCleanupARCCode = BinaryNinja::Settings::Instance()->Get<bool>("workflows.objectiveC.cleanupARCCode");

std::unique_lock<std::recursive_mutex> lock(m_stubMutex);

Expand Down
6 changes: 3 additions & 3 deletions Plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ BINARYNINJAPLUGIN bool CorePluginInit()
BinaryNinja::Ref<BinaryNinja::Settings> settings = BinaryNinja::Settings::Instance();
settings->RegisterGroup("objc", "Objective-C");

settings->RegisterSetting("objc.cleanupARCCode",
settings->RegisterSetting("workflows.objectiveC.cleanupARCCode",
R"({
"title" : "ARC Cleanup",
"title" : "Hide ARC Calls",
"type" : "boolean",
"default" : true,
"description" : "Remove ARC related code, i.e. calls to _objc_release, _objc_retain, and other ARC functions, from ILs"
"description" : "Remove ARC-related code, e.g. calls to _objc_release, _objc_retain, and other ARC functions, in ILs"
})");


Expand Down

0 comments on commit d09dd2e

Please sign in to comment.