Class FunctionProxy


  • public class FunctionProxy
    extends ProxyObj<Function>
    Stores information about a function in a program such that the function can be retrieved when needed. The locationAddr and functionAddr may differ when the function object has been inferred via a reference at the locationAddr.
    • Constructor Detail

      • FunctionProxy

        public FunctionProxy​(ListingModel model,
                             Program program,
                             Address locationAddr,
                             Function function)
        Construct a proxy for a function
        Parameters:
        model - listing model
        program - the program containing the function
        locationAddr - the listing address at which the function exists or was inferred via reference
        function - the function to proxy
    • Method Detail

      • getLocationAddress

        public Address getLocationAddress()
      • getFunctionAddress

        public Address getFunctionAddress()
      • getObject

        public Function getObject()
        Description copied from class: ProxyObj
        Returns the object that this proxy represents or null if the represented object no longer exists.
        Specified by:
        getObject in class ProxyObj<Function>
        Returns:
        the object that this proxy represents or null if the represented object no longer exists.
        See Also:
        ProxyObj.getObject()