Class DWARFSectionProviderFactory
java.lang.Object
ghidra.app.util.bin.format.dwarf.sectionprovider.DWARFSectionProviderFactory
Auto-detects which
DWARFSectionProvider
matches a Ghidra program.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DWARFSectionProvider
createSectionProviderFor
(Program program, TaskMonitor monitor) Iterates through the statically registeredfactory funcs
, trying each factory method until one returns aDWARFSectionProvider
that can successfully retrieve theminimal
sections 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 aDWARFSectionProvider
that can successfully retrieve theminimal
sections we need to do a DWARF import.The resulting
DWARFSectionProvider
isCloseable
and it is the caller's responsibility to ensure that the object is closed when done.- Parameters:
program
-monitor
-TaskMonitor
- Returns:
DWARFSectionProvider
that should be closed by the caller or NULL if no section provider types match the specified program.
-