Skip to content

Commit d09dd2e

Browse files
committed
Modify setting name and description for clarity
1 parent afbdcb4 commit d09dd2e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

MessageHandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const std::set<std::string> arcFunctionNames = {
1414
MessageHandler::MessageHandler(Ref<BinaryView> data)
1515
: m_data(data)
1616
{
17-
m_shouldCleanupARCCode = BinaryNinja::Settings::Instance()->Get<bool>("objc.cleanupARCCode");
17+
m_shouldCleanupARCCode = BinaryNinja::Settings::Instance()->Get<bool>("workflows.objectiveC.cleanupARCCode");
1818

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

Plugin.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ BINARYNINJAPLUGIN bool CorePluginInit()
3434
BinaryNinja::Ref<BinaryNinja::Settings> settings = BinaryNinja::Settings::Instance();
3535
settings->RegisterGroup("objc", "Objective-C");
3636

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

4545

0 commit comments

Comments
 (0)