Class DecompilerLocation

    • Constructor Detail

      • DecompilerLocation

        public DecompilerLocation()
        Default constructor required for restoring a program location from XML.
    • Method Detail

      • getFunctionEntryPoint

        public Address getFunctionEntryPoint()
      • getDecompile

        public DecompileResults getDecompile()
        Results from the decompilation
        Returns:
        C-AST, DFG, and CFG object. null if there are no results attached to this location
      • getToken

        public ClangToken getToken()
        C text token at the current cursor location
        Returns:
        token at this location, could be null if there are no decompiler results
      • getTokenName

        public java.lang.String getTokenName()
      • saveState

        public void saveState​(SaveState saveState)
        Description copied from class: ProgramLocation
        Save this program location to the given save state object.
        Overrides:
        saveState in class ProgramLocation
        Parameters:
        saveState - the save state object for saving the location
      • restoreState

        public void restoreState​(Program program1,
                                 SaveState obj)
        Description copied from class: ProgramLocation
        Restore this program location using the given program and save state object.
        Overrides:
        restoreState in class ProgramLocation
        Parameters:
        program1 - program to restore from
        obj - the save state to restore from
      • getLineNumber

        public int getLineNumber()
      • getCharPos

        public int getCharPos()