| java.lang.Object | ||
| ↳ | com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractOperandBuilder<T extends com.pnfsoftware.jeb.core.units.code.IInstructionOperand> | |
| ↳ | com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractImmediateOperandBuilder<T extends com.pnfsoftware.jeb.core.units.code.IInstructionOperand> | |
Known Direct Subclasses
|
An operand builder for immediates with default values which can be zero-extended or sign-extended (only int and long implementations are supported for now).
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | AbstractImmediateOperandBuilder.ImmediateType | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | ABS_ADDRESS | ||||||||||
| int | PC_SHIFT_4 | ||||||||||
| int | POST_ADD1 | Allow an additional 1 added to retrieved value | |||||||||
| int | REL_ADDRESS | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractOperandBuilder
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractOperandBuilder
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AbstractImmediateOperandBuilder(AbstractImmediateOperandBuilder.ImmediateType type, int flags, int defaultValue, IEncodedMemoryArea memoryArea) | |||||||||||
| AbstractImmediateOperandBuilder(AbstractImmediateOperandBuilder.ImmediateType type, int flags, int defaultValue, int defaultValueMask, IEncodedMemoryArea memoryArea) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| T | buildOperand(byte[] code, int mode) | ||||||||||
| int | getPostAdd() | ||||||||||
| boolean | isSigned() | ||||||||||
| void | postAdd(int postAdd) | ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract T | buildImmediate(int mode, long value) | ||||||||||
| int | getSize() | ||||||||||
| long | getValue(byte[] code, int mode) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractOperandBuilder
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.asm.processor.IOperandBuilder
| |||||||||||
Allow an additional 1 added to retrieved value