Ghidra is a software reverse engineering (SRE) framework
GP-0 updated FunctionDB javadoc to address warnings
ghidra1b39ab8c1e4df
diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.javaindex 72b1583da7..addd362320 100644--- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java+++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java@@ -1239,6 +1239,10 @@ public class FunctionDB extends DatabaseObject implements Function {/*** Resolve a variable's type and storage.* @param var variable to be resolved+ * @param voidOK if true the use of a 0-length {@link VoidDataType} for the specified+ * variable is allowed (i.e., {@link ReturnParameterDB}), else false should be specifed.+ * @param useUnassignedStorage if true storage should be set to {@link VariableStorage#UNASSIGNED_STORAGE}+ * else an attempt should be made to adjust the storage.* @return resolved variable* @throws InvalidInputException if unable to resize variable storage due to* resolved datatype size change@@ -1855,8 +1859,8 @@ public class FunctionDB extends DatabaseObject implements Function {/*** Return the Variable for the given symbol.*- * @param symbol- * variable symbol+ * @param symbol variable symbol+ * @return Variable which corresponds to specified symbol*/public Variable getVariable(VariableSymbolDB symbol) {manager.lock.acquire();@@ -1902,10 +1906,6 @@ public class FunctionDB extends DatabaseObject implements Function {}}- /**- * @throws InvalidInputException- * @see ghidra.program.model.listing.Function#moveParameter(int, int)- */@Overridepublic Parameter moveParameter(int fromOrdinal, int toOrdinal) throws InvalidInputException {if (toOrdinal < 0) {@@ -2220,8 +2220,8 @@ public class FunctionDB extends DatabaseObject implements Function {* Remove 'this' parameter if using __thiscall and first non-auto parameter is* a pointer and named 'this'.* @param params list of parameters to search and affect- * @param callingConventionName- * @return true if 'this' parameter removed+ * @param callingConventionName current function calling convention+ * @return true if 'this' parameter removed (applies to __thiscall callingConventionName only), else false*/private static boolean removeExplicitThisParameter(List<? extends Variable> params,String callingConventionName) {