Interface DwarfEHDecoder


  • public interface DwarfEHDecoder
    Decodes a sequence of program bytes to Ghidra addressing types.
    • Method Detail

      • getDataFormat

        DwarfEHDataDecodeFormat getDataFormat()
        Gets the exception handling data decoding format.
        Returns:
        the data decoding format
      • getDataApplicationMode

        DwarfEHDataApplicationMode getDataApplicationMode()
        Gets the data application mode.
        Returns:
        the data application mode
      • isSigned

        boolean isSigned()
        Whether or not this decoder is for decoding signed or unsigned data.
        Returns:
        true if the decoder is for signed data. false for unsigned
      • getDecodeSize

        int getDecodeSize​(Program program)
        Gets the size of the encoded data.
        Parameters:
        program - the program containing the data to be decoded.
        Returns:
        the size of the encoded data
      • getDataType

        DataType getDataType​(Program program)
        Gets this decoder's encoded data type.
        Parameters:
        program - the program containing the data to be decoded.
        Returns:
        the data type.
      • setApplicationMode

        void setApplicationMode​(DwarfEHDataApplicationMode mode)
        Sets the exception handling data application mode.
        Parameters:
        mode - the application mode
      • setIndirect

        void setIndirect​(boolean isIndirect)
        Sets whether or not the data is an indirect reference.
        Parameters:
        isIndirect - true for an indirect reference.