Class AbstractOperandBuilder<T extends IInstructionOperand>

java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractOperandBuilder<T>
Type Parameters:
T -
All Implemented Interfaces:
IOperandBuilder<T>
Direct Known Subclasses:
AbstractImmediateOperandBuilder

public abstract class AbstractOperandBuilder<T extends IInstructionOperand> extends Object implements IOperandBuilder<T>
An operand builder that supports an optional value as well as a memory area.
  • Field Details

  • Constructor Details

    • AbstractOperandBuilder

      public AbstractOperandBuilder(IEncodedMemoryArea memoryArea)
    • AbstractOperandBuilder

      public AbstractOperandBuilder(IEncodedMemoryArea memoryArea, int flags)
    • AbstractOperandBuilder

      public AbstractOperandBuilder(IEncodedMemoryArea memoryArea, int flags, int defaultValue, int defaultValueMask)
  • Method Details

    • isOptional

      public boolean isOptional(long value)
    • getFlags

      public int getFlags()
    • getMemoryArea

      protected IEncodedMemoryArea getMemoryArea()
    • decodeMemoryArea

      protected int decodeMemoryArea(byte[] code)