Skip to content

Ghidra is a software reverse engineering (SRE) framework

Fixed missing help due to help refactor

dragonmacher07fbf779dfc4
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/help/ProcessorListPlugin.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/help/ProcessorListPlugin.java
index e39f4f972f..c140a3c05b 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/help/ProcessorListPlugin.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/help/ProcessorListPlugin.java
@@ -90,7 +90,8 @@ public class ProcessorListPlugin extends Plugin implements ApplicationLevelPlugi
processorListAction.setMenuBarData(new MenuData(
new String[] { ToolConstants.MENU_HELP, processorListAction.getName() }, null, "AAAZ"));
- processorListAction.setHelpLocation(new HelpLocation(HelpTopics.ABOUT, "ProcessorList"));
+ processorListAction
+ .setHelpLocation(new HelpLocation(HelpTopics.RUNTIME_INFO, "InstalledProcessors"));
processorListAction.setDescription(getPluginDescription().getDescription());
tool.addAction(processorListAction);
}
@@ -115,8 +116,8 @@ public class ProcessorListPlugin extends Plugin implements ApplicationLevelPlugi
private Set<Processor> getProcessors() {
TreeSet<Processor> processors = new TreeSet<>();
LanguageService languageService = DefaultLanguageService.getLanguageService();
- for (LanguageDescription languageDescription : languageService.getLanguageDescriptions(
- true)) {
+ for (LanguageDescription languageDescription : languageService
+ .getLanguageDescriptions(true)) {
processors.add(languageDescription.getProcessor());
}
return processors;
@@ -211,8 +212,8 @@ public class ProcessorListPlugin extends Plugin implements ApplicationLevelPlugi
TreeSet<Processor> processors = new TreeSet<>();
LanguageService languageService = DefaultLanguageService.getLanguageService();
- for (LanguageDescription languageDescription : languageService.getLanguageDescriptions(
- true)) {
+ for (LanguageDescription languageDescription : languageService
+ .getLanguageDescriptions(true)) {
processors.add(languageDescription.getProcessor());
}
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/HelpTopics.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/HelpTopics.java
index c9839d408a..fc505e5e9f 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/HelpTopics.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/HelpTopics.java
@@ -18,7 +18,7 @@ package ghidra.app.util;
/**
* Topics for Help. The strings correspond to a folder under the "topics"
* resource.
- *
+ *
*/
public interface HelpTopics {
@@ -165,7 +165,12 @@ public interface HelpTopics {
*/
public final static String REPOSITORY = GenericHelpTopics.REPOSITORY;
- /**
+ /**
+ * Help Topic for the Runtime Info Plugin.
+ */
+ public final static String RUNTIME_INFO = "RuntimeInfoPlugin";
+
+ /**
* Help Topic for search functions.
*/
public final static String SEARCH = "Search";