Package ghidra.program.model.lang
Interface ProgramArchitecture
- All Known Subinterfaces:
Program
- All Known Implementing Classes:
ProgramDB
public interface ProgramArchitecture
ProgramArchitecture
which identifies program architecture details required to
utilize language/compiler-specific memory and variable storage specifications.-
Method Summary
Modifier and TypeMethodDescriptionGet the address factory for this architecture.Get the compiler specificationGet the processor languagedefault LanguageCompilerSpecPair
Get the language/compiler spec ID pair associated with this program architecture.
-
Method Details
-
getLanguage
Language getLanguage()Get the processor language- Returns:
- processor language
-
getAddressFactory
AddressFactory getAddressFactory()Get the address factory for this architecture. In the case of aProgram
this should be the extended address factory that includes the stack space and any defined overlay spaces (i.e.,OverlayAddressSpace
).- Returns:
- address factory
-
getCompilerSpec
CompilerSpec getCompilerSpec()Get the compiler specification- Returns:
- compiler specification
-
getLanguageCompilerSpecPair
Get the language/compiler spec ID pair associated with this program architecture.- Returns:
- language/compiler spec ID pair
-