Class ApplyFunctionSignatureCmd

  • All Implemented Interfaces:
    Command

    public class ApplyFunctionSignatureCmd
    extends BackgroundCommand
    Command to create apply a function signature at an address.
    • Constructor Detail

      • ApplyFunctionSignatureCmd

        public ApplyFunctionSignatureCmd​(Address entry,
                                         FunctionSignature signature,
                                         SourceType source)
        Constructs a new command for creating a function.
        Parameters:
        entry - entry point address for the function to be created.
        signature - function signature to apply
        source - the source of this function signature
      • ApplyFunctionSignatureCmd

        public ApplyFunctionSignatureCmd​(Address entry,
                                         FunctionSignature signature,
                                         SourceType source,
                                         boolean preserveCallingConvention,
                                         boolean setName)
        Constructs a new command for creating a function.
        Parameters:
        entry - entry point address for the function to be created.
        signature - function signature to apply
        source - the source of this function signature
        preserveCallingConvention - if true the function calling convention will not be changed
        setName - true if name of the function should be set to the name of the signature
    • Method Detail

      • settleCDataType

        public static DataType settleCDataType​(DataType dt,
                                               DataTypeManager dtm)
        The C language assumes array datatypes are passed simply as pointers (by reference) even though other datatypes are passed by value. This routine converts the datatype to the appropriate pointer in situations where we need to get at the exact type being passed by "value"
        Parameters:
        dt -
        Returns: