Class DWARFSectionProviderFactory
- java.lang.Object
-
- ghidra.app.util.bin.format.dwarf4.next.sectionprovider.DWARFSectionProviderFactory
-
public class DWARFSectionProviderFactory extends java.lang.ObjectAuto-detects whichDWARFSectionProvidermatches a Ghidra program.
-
-
Constructor Summary
Constructors Constructor Description DWARFSectionProviderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DWARFSectionProvidercreateSectionProviderFor(Program program)Iterates through the statically registeredfactory funcs, trying each factory method until one returns aDWARFSectionProviderthat can successfully retrieve theminimalsections we need to do a DWARF import.
-
-
-
Method Detail
-
createSectionProviderFor
public static DWARFSectionProvider createSectionProviderFor(Program program)
Iterates through the statically registeredfactory funcs, trying each factory method until one returns aDWARFSectionProviderthat can successfully retrieve theminimalsections we need to do a DWARF import.The resulting
DWARFSectionProviderisCloseableand it is the caller's responsibility to ensure that the object is closed when done.- Parameters:
program-- Returns:
DWARFSectionProviderthat should be closed by the caller or NULL if no section provider types match the specified program.
-
-