Package ghidra.program.model.lang
Interface LanguageDescription
-
- All Known Implementing Classes:
BasicLanguageDescription,SleighLanguageDescription
public interface LanguageDescription
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<CompilerSpecDescription>getCompatibleCompilerSpecDescriptions()CompilerSpecDescriptiongetCompilerSpecDescriptionByID(CompilerSpecID compilerSpecID)java.lang.StringgetDescription()EndiangetEndian()java.util.List<java.lang.String>getExternalNames(java.lang.String externalTool)Returns external names for this language associated with other tools.EndiangetInstructionEndian()LanguageIDgetLanguageID()intgetMinorVersion()ProcessorgetProcessor()intgetSize()java.lang.StringgetVariant()intgetVersion()booleanisDeprecated()
-
-
-
Method Detail
-
getLanguageID
LanguageID getLanguageID()
-
getProcessor
Processor getProcessor()
-
getEndian
Endian getEndian()
-
getInstructionEndian
Endian getInstructionEndian()
-
getSize
int getSize()
-
getVariant
java.lang.String getVariant()
-
getVersion
int getVersion()
-
getMinorVersion
int getMinorVersion()
-
getDescription
java.lang.String getDescription()
-
isDeprecated
boolean isDeprecated()
-
getCompatibleCompilerSpecDescriptions
java.util.Collection<CompilerSpecDescription> getCompatibleCompilerSpecDescriptions()
-
getCompilerSpecDescriptionByID
CompilerSpecDescription getCompilerSpecDescriptionByID(CompilerSpecID compilerSpecID) throws CompilerSpecNotFoundException
- Throws:
CompilerSpecNotFoundException
-
getExternalNames
java.util.List<java.lang.String> getExternalNames(java.lang.String externalTool)
Returns external names for this language associated with other tools. For example, x86 languages are usually referred to as "metapc" by IDA-PRO. So, getExternalNames("IDA-PRO") will return "metapc" for most x86 languages.- Parameters:
externalTool- external tool for looking up external tool names- Returns:
- external names for this language associated with tool 'key' -- null if there are no results
-
-