mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Fix various "function" typos
This commit is contained in:
parent
2abfd4e309
commit
b7e91e80a2
8 changed files with 9 additions and 9 deletions
|
@ -498,7 +498,7 @@ public enum VariableValueUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find the fuction's variable whose storage contains the given stack offset
|
* Find the function's variable whose storage contains the given stack offset
|
||||||
*
|
*
|
||||||
* @param function the function
|
* @param function the function
|
||||||
* @param stackAddress the stack offset
|
* @param stackAddress the stack offset
|
||||||
|
|
|
@ -3527,7 +3527,7 @@ public class ElasticDatabase implements FunctionDatabase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entry point for Elasticsearch version of the QueryChildren command:
|
* Entry point for Elasticsearch version of the QueryChildren command:
|
||||||
* Query for the child functins of submitted functions
|
* Query for the child functions of submitted functions
|
||||||
* @param query is command parameters
|
* @param query is command parameters
|
||||||
* @throws LSHException for problems adding records to the response
|
* @throws LSHException for problems adding records to the response
|
||||||
* @throws ElasticException for communication problems with the server
|
* @throws ElasticException for communication problems with the server
|
||||||
|
|
|
@ -721,7 +721,7 @@ public class CallTreeProvider extends ComponentProviderAdapter {
|
||||||
//@formatter:off
|
//@formatter:off
|
||||||
showNamespaceAction = new ToggleActionBuilder("Show Namespace", plugin.getName())
|
showNamespaceAction = new ToggleActionBuilder("Show Namespace", plugin.getName())
|
||||||
.selected(false)
|
.selected(false)
|
||||||
.description("Function nodes will include the funtion namespace when selected")
|
.description("Function nodes will include the function namespace when selected")
|
||||||
.helpLocation(new HelpLocation(plugin.getName(), "Call_Tree_Action_Show_Namespaces"))
|
.helpLocation(new HelpLocation(plugin.getName(), "Call_Tree_Action_Show_Namespaces"))
|
||||||
.menuPath("Show Namespace")
|
.menuPath("Show Namespace")
|
||||||
.onAction(c -> {
|
.onAction(c -> {
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class CParserUtilsTest extends AbstractGenericTest {
|
||||||
catch (Throwable t) {
|
catch (Throwable t) {
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
Assert.fail("Funcion text did not trigger a parse problem: " + function);
|
Assert.fail("Function text did not trigger a parse problem: " + function);
|
||||||
return null;// can't get here
|
return null;// can't get here
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -388,7 +388,7 @@ public class MergeProgram {
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
throw new RuntimeException("Exception updating function function", e);
|
throw new RuntimeException("Exception updating function", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -198,7 +198,7 @@ public class ExtendedFlatProgramAPI extends FlatProgramAPI {
|
||||||
* valid but not created, create it
|
* valid but not created, create it
|
||||||
* @param address the given address
|
* @param address the given address
|
||||||
* @param allowNullFunctionPointer if true, allow null pointers as a valid function pointer
|
* @param allowNullFunctionPointer if true, allow null pointers as a valid function pointer
|
||||||
* @return true if it is a functin pointer, else returns false
|
* @return true if it is a function pointer, else returns false
|
||||||
* @throws CancelledException if cancelled
|
* @throws CancelledException if cancelled
|
||||||
*/
|
*/
|
||||||
public boolean isFunctionPointer(Address address, boolean allowNullFunctionPointer)
|
public boolean isFunctionPointer(Address address, boolean allowNullFunctionPointer)
|
||||||
|
|
|
@ -1256,7 +1256,7 @@ public class RecoveredClassHelper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* temporarily change the function signature of the given constructor or destructor to replace
|
* temporarily change the function signature of the given constructor or destructor to replace
|
||||||
* any empty structure with same size undefined datatype and to also remove the functin from
|
* any empty structure with same size undefined datatype and to also remove the function from
|
||||||
* its namespace to remove the empty structure from the this param. This is so that the
|
* its namespace to remove the empty structure from the this param. This is so that the
|
||||||
* class member data calculations are made without bad info
|
* class member data calculations are made without bad info
|
||||||
* @param function the given function
|
* @param function the given function
|
||||||
|
@ -7863,7 +7863,7 @@ public class RecoveredClassHelper {
|
||||||
// to the purecall function and we don't want to rename that function to the new name
|
// to the purecall function and we don't want to rename that function to the new name
|
||||||
// since anyone calling purecall will call it
|
// since anyone calling purecall will call it
|
||||||
if (!componentFunctionDefinition.getName().contains("purecall")) {
|
if (!componentFunctionDefinition.getName().contains("purecall")) {
|
||||||
// otherwise update data type with new new signature
|
// otherwise update data type with the new signature
|
||||||
FunctionDefinition changedFunctionDefinition =
|
FunctionDefinition changedFunctionDefinition =
|
||||||
updateFunctionDefinition(componentFunctionDefinition, newFunctionDefinition);
|
updateFunctionDefinition(componentFunctionDefinition, newFunctionDefinition);
|
||||||
|
|
||||||
|
|
|
@ -1642,7 +1642,7 @@ class FuncCallSpecs : public FuncProto {
|
||||||
PcodeOp *op; ///< Pointer to CALL or CALLIND instruction
|
PcodeOp *op; ///< Pointer to CALL or CALLIND instruction
|
||||||
string name; ///< Name of function if present
|
string name; ///< Name of function if present
|
||||||
Address entryaddress; ///< First executing address of function
|
Address entryaddress; ///< First executing address of function
|
||||||
Funcdata *fd; ///< The Funcdata object for the called functon (if known)
|
Funcdata *fd; ///< The Funcdata object for the called function (if known)
|
||||||
int4 effective_extrapop; ///< Working extrapop for the CALL
|
int4 effective_extrapop; ///< Working extrapop for the CALL
|
||||||
uintb stackoffset; ///< Relative offset of stack-pointer at time of this call
|
uintb stackoffset; ///< Relative offset of stack-pointer at time of this call
|
||||||
int4 stackPlaceholderSlot; ///< Slot containing temporary stack tracing placeholder (-1 means unused)
|
int4 stackPlaceholderSlot; ///< Slot containing temporary stack tracing placeholder (-1 means unused)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue