Interface DWARFSectionProvider
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
BaseSectionProvider
,CompressedSectionProvider
,DSymSectionProvider
,ElfSectionProvider
,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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
ByteProvider
getSectionAsByteProvider(java.lang.String sectionName)
boolean
hasSection(java.lang.String... sectionNames)
-
-
-
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 interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-