Package ghidra.app.plugin.assembler
Interface AssemblerBuilder
-
- All Known Implementing Classes:
SleighAssemblerBuilder
public interface AssemblerBuilder
An interface to build an assembler for a given language
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Assembler
getAssembler(AssemblySelector selector)
Build an assembler with the given selector callbackAssembler
getAssembler(AssemblySelector selector, Program program)
Build an assembler with the given selector callback and program bindingLanguage
getLanguage()
Get the language for which this instance builds an assemblerLanguageID
getLanguageID()
Get the ID of the language for which this instance builds an assembler
-
-
-
Method Detail
-
getLanguageID
LanguageID getLanguageID()
Get the ID of the language for which this instance builds an assembler- Returns:
- the language ID
-
getLanguage
Language getLanguage()
Get the language for which this instance builds an assembler- Returns:
- the language
-
getAssembler
Assembler getAssembler(AssemblySelector selector)
Build an assembler with the given selector callback- Parameters:
selector
- the selector callback- Returns:
- the built assembler
-
getAssembler
Assembler getAssembler(AssemblySelector selector, Program program)
Build an assembler with the given selector callback and program binding- Parameters:
selector
- the selector callbackprogram
- the bound program- Returns:
- the built assembler
-
-