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.CloseableA DWARFSectionProvider is responsible for allowing access to DWARF section data of a Ghidra program.Implementors of this interface should probably be registered in
DWARFSectionProviderFactoryso 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 voidclose()ByteProvidergetSectionAsByteProvider(java.lang.String sectionName)booleanhasSection(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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
-