mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 23:17:03 +08:00
GP-4060 disable compare matching callees action in VT
This commit is contained in:
+7
-4
@@ -49,10 +49,13 @@ public class CompareFuncsFromMatchedTokensAction extends AbstractMatchedTokensAc
|
|||||||
PluginTool tool) {
|
PluginTool tool) {
|
||||||
super(ACTION_NAME, tool.getName(), diffPanel, false);
|
super(ACTION_NAME, tool.getName(), diffPanel, false);
|
||||||
this.tool = tool;
|
this.tool = tool;
|
||||||
MenuData menuData = new MenuData(new String[] { ACTION_NAME }, null, MENU_GROUP);
|
FunctionComparisonService service = tool.getService(FunctionComparisonService.class);
|
||||||
setPopupMenuData(menuData);
|
if (service != null) {
|
||||||
setEnabled(true);
|
MenuData menuData = new MenuData(new String[] { ACTION_NAME }, null, MENU_GROUP);
|
||||||
setHelpLocation(new HelpLocation(HELP_TOPIC, "Compare Matching Callees"));
|
setPopupMenuData(menuData);
|
||||||
|
setEnabled(true);
|
||||||
|
setHelpLocation(new HelpLocation(HELP_TOPIC, "Compare Matching Callees"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user