Class ConstTpl


  • public class ConstTpl
    extends java.lang.Object
    A placeholder for what will resolve to a field of a Varnode (an AddressSpace or integer offset or integer size) given a particular InstructionContext
    • Constructor Detail

      • ConstTpl

        protected ConstTpl()
      • ConstTpl

        public ConstTpl​(ConstTpl op2)
      • ConstTpl

        public ConstTpl​(int tp,
                        long val)
      • ConstTpl

        public ConstTpl​(int tp)
      • ConstTpl

        public ConstTpl​(int tp,
                        int ht,
                        int vf)
    • Method Detail

      • isConstSpace

        public boolean isConstSpace()
      • isUniqueSpace

        public boolean isUniqueSpace()
      • getReal

        public long getReal()
      • getHandleIndex

        public int getHandleIndex()
      • getType

        public int getType()
      • fillinSpace

        public void fillinSpace​(FixedHandle hand,
                                ParserWalker walker)
        Fill in the space portion of a FixedHandle, based on this const.
        Parameters:
        hand - = handle to fillin
        pos - = current context
        treeLoc -
      • fillinOffset

        public void fillinOffset​(FixedHandle hand,
                                 ParserWalker walker)
        Fillin the offset portion of a FixedHandle based on this const. If the offset value is dynamic, fill in the handle appropriately. We don't just fill in the temporary variable offset, like "fix". Assume that hand.space is already filled in
        Parameters:
        hand - = the handle to fillin
        pos - = current context
        treeLoc -
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object