mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-0 updated FunctionDB javadoc to address warnings
This commit is contained in:
parent
2d09b7513d
commit
b39ab8c1e4
1 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
*/
|
||||
@Override
|
||||
public 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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue