com.pnfsoftware.jeb.core.units.code.asm.processor.IRegisterBank |
Known Indirect Subclasses |
A layout definition for a bank of registers.
Bank layout for common processors are defined in the arch
sub-package.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
format(int type)
Format the register bank as a string.
| ||||||||||
abstract Collection<RegisterDescriptionEntry> |
getAllDescriptionEntries()
Get the list of all (full and slices) register entries.
| ||||||||||
abstract int |
getCountOfDescriptionEntries()
Get the number of fill register entries.
| ||||||||||
abstract Collection<RegisterDescriptionEntry> |
getDescriptionEntries()
Get the list of full register entries.
| ||||||||||
abstract RegisterDescriptionEntry |
getDescriptionEntry(int regnum)
Get a full register entry by index (do not confuse with id).
| ||||||||||
abstract RegisterDescriptionEntry |
getDescriptionEntryById(long id)
Get a register entry (full or slice) by id (do not confuse with index).
| ||||||||||
abstract RegisterDescriptionEntry |
getDescriptionEntryByName(String name)
Get a register entry (full or slice) by name.
| ||||||||||
abstract RegisterDescriptionEntry |
getDescriptionEntryByName(Collection<String> names)
Get a register entry (full or slice) by name, using a list of candidate names.
| ||||||||||
abstract RegisterDescriptionEntry |
getDescriptionEntryByType(RegisterType type)
Get a full register entry by type.
|
Format the register bank as a string.
type | 0: short-form (i.e., #toString()), 1: user-friendly long-form |
---|
Get the list of all (full and slices) register entries.
Get the number of fill register entries. Slices are not counted.
Get the list of full register entries. Slices are not returned.
Get a full register entry by index (do not confuse with id). Slices cannot be retrieved.
Get a register entry (full or slice) by id (do not confuse with index).
Get a register entry (full or slice) by name.
Get a register entry (full or slice) by name, using a list of candidate names. Useful when a register goes by different names.
names | candidate names |
---|
Get a full register entry by type. Slices cannot be retrieved.