Interface DWARFSectionProvider

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
    All Known Implementing Classes:
    BaseSectionProvider, CompressedSectionProvider, DSymSectionProvider, NullSectionProvider

    public interface DWARFSectionProvider
    extends java.io.Closeable
    A DWARFSectionProvider is responsible for allowing access to DWARF section data of a Ghidra program.

    Implementors of this interface should probably be registered in DWARFSectionProviderFactory so they can be auto-detected when queried and also need to implement the static method:

    public static DWARFSectionProvider createSectionProviderFor(Program program)

    • Method Detail

      • hasSection

        boolean hasSection​(java.lang.String... sectionNames)
      • getSectionAsByteProvider

        ByteProvider getSectionAsByteProvider​(java.lang.String sectionName)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable