Class SleighLanguageProvider
java.lang.Object
ghidra.app.plugin.processors.sleigh.SleighLanguageProvider
- All Implemented Interfaces:
LanguageProvider
,ExtensionPoint
Searches resources for spec files and provides LanguageDescriptions for these
specifications
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLanguage
(LanguageID languageId) Returns the language with the given name or null if no language has that nameReturns a list of language descriptions provided by this providerstatic SleighLanguageProvider
boolean
boolean
isLanguageLoaded
(LanguageID languageId) Returns true if the given language has been successfully loaded
-
Field Details
-
LANGUAGE_DIR_NAME
- See Also:
-
-
Method Details
-
getSleighLanguageProvider
-
hadLoadFailure
public boolean hadLoadFailure()- Specified by:
hadLoadFailure
in interfaceLanguageProvider
- Returns:
- true if one of more languages or language description failed to load properly.
-
isLanguageLoaded
Description copied from interface:LanguageProvider
Returns true if the given language has been successfully loaded- Specified by:
isLanguageLoaded
in interfaceLanguageProvider
- Parameters:
languageId
- the name of the language to be retrieved- Returns:
- true if the given language has been successfully loaded
-
getLanguage
Description copied from interface:LanguageProvider
Returns the language with the given name or null if no language has that name- Specified by:
getLanguage
in interfaceLanguageProvider
- Parameters:
languageId
- the name of the language to be retrieved- Returns:
- the
Language
with the given name or null if not found
-
getLanguageDescriptions
Description copied from interface:LanguageProvider
Returns a list of language descriptions provided by this provider- Specified by:
getLanguageDescriptions
in interfaceLanguageProvider
-