Package ghidra.app.util.importer
Class CsHintLoadSpecChooser
- java.lang.Object
-
- ghidra.app.util.importer.CsHintLoadSpecChooser
-
- All Implemented Interfaces:
LoadSpecChooser
public class CsHintLoadSpecChooser extends java.lang.Object implements LoadSpecChooser
-
-
Field Summary
-
Fields inherited from interface ghidra.app.util.importer.LoadSpecChooser
CHOOSE_THE_FIRST_PREFERRED
-
-
Constructor Summary
Constructors Constructor Description CsHintLoadSpecChooser(CompilerSpecID compilerSpecID)
Creates a newCsHintLoadSpecChooser
CsHintLoadSpecChooser(java.lang.String compilerSpecID)
Creates a newCsHintLoadSpecChooser
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadSpec
choose(LoaderMap loaderMap)
-
-
-
Constructor Detail
-
CsHintLoadSpecChooser
public CsHintLoadSpecChooser(CompilerSpecID compilerSpecID)
Creates a newCsHintLoadSpecChooser
- Parameters:
compilerSpecID
- TheCompilerSpecID
to use (should not be null)
-
CsHintLoadSpecChooser
public CsHintLoadSpecChooser(java.lang.String compilerSpecID)
Creates a newCsHintLoadSpecChooser
- Parameters:
compilerSpecID
- TheCompilerSpecID
to use (should not be null)
-
-
Method Detail
-
choose
public LoadSpec choose(LoaderMap loaderMap)
Description copied from interface:LoadSpecChooser
- Specified by:
choose
in interfaceLoadSpecChooser
- Parameters:
loaderMap
- ALoaderMap
- Returns:
- The chosen
LoadSpec
, or null if one could not be found
-
-