diff --git a/GhidraBuild/Skeleton/src/main/java/skeleton/SkeletonAnalyzer.java b/GhidraBuild/Skeleton/src/main/java/skeleton/SkeletonAnalyzer.java index bc97cdfbf5..796a8d1579 100644 --- a/GhidraBuild/Skeleton/src/main/java/skeleton/SkeletonAnalyzer.java +++ b/GhidraBuild/Skeleton/src/main/java/skeleton/SkeletonAnalyzer.java @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -25,13 +25,13 @@ import ghidra.util.exception.CancelledException; import ghidra.util.task.TaskMonitor; /** - * TODO: Provide class-level documentation that describes what this analyzer does. + * Provide class-level documentation that describes what this analyzer does. */ public class SkeletonAnalyzer extends AbstractAnalyzer { public SkeletonAnalyzer() { - // TODO: Name the analyzer and give it a description. + // Name the analyzer and give it a description. super("My Analyzer", "Analyzer description goes here", AnalyzerType.BYTE_ANALYZER); } @@ -39,7 +39,7 @@ public class SkeletonAnalyzer extends AbstractAnalyzer { @Override public boolean getDefaultEnablement(Program program) { - // TODO: Return true if analyzer should be enabled by default + // Return true if analyzer should be enabled by default return true; } @@ -47,7 +47,7 @@ public class SkeletonAnalyzer extends AbstractAnalyzer { @Override public boolean canAnalyze(Program program) { - // TODO: Examine 'program' to determine of this analyzer should analyze it. Return true + // Examine 'program' to determine of this analyzer should analyze it. Return true // if it can. return true; @@ -56,7 +56,7 @@ public class SkeletonAnalyzer extends AbstractAnalyzer { @Override public void registerOptions(Options options, Program program) { - // TODO: If this analyzer has custom options, register them here + // If this analyzer has custom options, register them here options.registerOption("Option name goes here", false, null, "Option description goes here"); @@ -66,7 +66,7 @@ public class SkeletonAnalyzer extends AbstractAnalyzer { public boolean added(Program program, AddressSetView set, TaskMonitor monitor, MessageLog log) throws CancelledException { - // TODO: Perform analysis when things get added to the 'program'. Return true if the + // Perform analysis when things get added to the 'program'. Return true if the // analysis succeeded. return false; diff --git a/GhidraBuild/Skeleton/src/main/java/skeleton/SkeletonExporter.java b/GhidraBuild/Skeleton/src/main/java/skeleton/SkeletonExporter.java index 8719b275a2..6c69270677 100644 --- a/GhidraBuild/Skeleton/src/main/java/skeleton/SkeletonExporter.java +++ b/GhidraBuild/Skeleton/src/main/java/skeleton/SkeletonExporter.java @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -28,7 +28,7 @@ import ghidra.program.model.address.AddressSetView; import ghidra.util.task.TaskMonitor; /** - * TODO: Provide class-level documentation that describes what this exporter does. + * Provide class-level documentation that describes what this exporter does. */ public class SkeletonExporter extends Exporter { @@ -37,7 +37,7 @@ public class SkeletonExporter extends Exporter { */ public SkeletonExporter() { - // TODO: Name the exporter and associate a file extension with it + // Name the exporter and associate a file extension with it super("My Exporter", "exp", null); } @@ -45,7 +45,7 @@ public class SkeletonExporter extends Exporter { @Override public boolean supportsAddressRestrictedExport() { - // TODO: return true if addrSet export parameter can be used to restrict export + // Return true if addrSet export parameter can be used to restrict export return false; } @@ -54,7 +54,7 @@ public class SkeletonExporter extends Exporter { public boolean export(File file, DomainObject domainObj, AddressSetView addrSet, TaskMonitor monitor) throws ExporterException, IOException { - // TODO: Perform the export, and return true if it succeeded + // Perform the export, and return true if it succeeded return false; } @@ -63,7 +63,7 @@ public class SkeletonExporter extends Exporter { public List