Class HighParamID

  • All Implemented Interfaces:
    PcodeFactory

    public class HighParamID
    extends PcodeSyntaxTree
    High-level abstraction associated with a low level function made up of assembly instructions. Based on information the decompiler has produced after working on a function.
    • Field Detail

      • DECOMPILER_TAG_MAP

        public static final java.lang.String DECOMPILER_TAG_MAP
        See Also:
        Constant Field Values
    • Constructor Detail

      • HighParamID

        public HighParamID​(Function function,
                           Language language,
                           CompilerSpec compilerSpec,
                           PcodeDataTypeManager dtManager,
                           boolean showNamespace)
        Parameters:
        function - function associated with the higher level function abstraction.
        langParser - language parser used to disassemble/get info on the language
        dtManager - data type manager
    • Method Detail

      • getFunctionName

        public java.lang.String getFunctionName()
        Returns:
        get the name of the function
      • getFunctionAddress

        public Address getFunctionAddress()
        Returns:
        get the Address of the function
      • getModelName

        public java.lang.String getModelName()
        Returns:
        get the name of the model
      • getProtoExtraPop

        public java.lang.Integer getProtoExtraPop()
        Returns:
        get the prototype extrapop information
      • getFunction

        public Function getFunction()
        Returns:
        get the associated low level function
      • getNumInputs

        public int getNumInputs()
        Returns:
        the number of inputs for functionparams
      • getInput

        public ParamMeasure getInput​(int i)
        Returns:
        the specific of input for functionparams
      • getNumOutputs

        public int getNumOutputs()
        Returns:
        the number of outputs for functionparams
      • getOutput

        public ParamMeasure getOutput​(int i)
        Returns:
        the specific of output for functionparams
      • getErrorHandler

        public static org.xml.sax.ErrorHandler getErrorHandler​(java.lang.Object errOriginator,
                                                               java.lang.String targetName)
      • stringTree

        public static XmlPullParser stringTree​(java.lang.String xml,
                                               org.xml.sax.ErrorHandler handler)
                                        throws PcodeXMLException
        Create and XML SAX parse tree from an input XML string TODO: this probably doesn't belong here.
        Parameters:
        xml - string to parse
        Returns:
        an XML tree element
        Throws:
        PcodeXMLException
      • storeReturnToDatabase

        public void storeReturnToDatabase​(boolean storeDataTypes,
                                          SourceType srctype)
        Update any parameters for this Function from parameters defined in this map.
        Parameters:
        srctype - function signature source
      • storeParametersToDatabase

        public void storeParametersToDatabase​(boolean storeDataTypes,
                                              SourceType srctype)
        Update any parameters for this Function from parameters defined in this map. Originally from LocalSymbolMap, but being modified.
        Parameters:
        srctype - function signature source