Package ghidra.app.util.importer
Class LcsHintLoadSpecChooser
- java.lang.Object
-
- ghidra.app.util.importer.LcsHintLoadSpecChooser
-
- All Implemented Interfaces:
LoadSpecChooser
public class LcsHintLoadSpecChooser 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 LcsHintLoadSpecChooser(Language language, CompilerSpec compilerSpec)
Creates a newLcsHintLoadSpecChooser
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadSpec
choose(LoaderMap loaderMap)
-
-
-
Constructor Detail
-
LcsHintLoadSpecChooser
public LcsHintLoadSpecChooser(Language language, CompilerSpec compilerSpec)
Creates a newLcsHintLoadSpecChooser
.NOTE: It is assumed that the given
Language
is valid and it supports the givenCompilerSpec
.- Parameters:
language
- TheLanguage
to use (should not be null)compilerSpec
- TheCompilerSpec
to use (f null default compiler spec will be used)
-
-
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
-
-