Class DWARFSectionProviderFactory
java.lang.Object
ghidra.app.util.bin.format.dwarf.sectionprovider.DWARFSectionProviderFactory
Auto-detects which
DWARFSectionProvider matches a Ghidra program.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DWARFSectionProvidercreateSectionProviderFor(Program program, TaskMonitor monitor) 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.
-
Constructor Details
-
DWARFSectionProviderFactory
public DWARFSectionProviderFactory()
-
-
Method Details
-
createSectionProviderFor
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-monitor-TaskMonitor- Returns:
DWARFSectionProviderthat should be closed by the caller or NULL if no section provider types match the specified program.
-