Package ghidra.program.util

# Class SymbolicPropogator.Value

java.lang.Object
ghidra.program.util.SymbolicPropogator.Value

Enclosing class:
  `SymbolicPropogator`

public class SymbolicPropogator.Value extends Object
`Value` corresponds to a constant value or register relative value.

See Also:
  - `SymbolicPropogator.getRegisterValue(Address, Register)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Register`
  `getRelativeRegister()`
  `long`
  `getValue()`
  `boolean`
  `isRegisterRelativeValue()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getValue

    public long getValue()
    Returns:
      constant value. This value is register-relative if isRegisterRelativeValue() returns true.

  - ### isRegisterRelativeValue

    public boolean isRegisterRelativeValue()
    Returns:
      true if value is relative to a particular input register.
    See Also:
      - `getRelativeRegister()`

  - ### getRelativeRegister

    public Register getRelativeRegister()
    Returns:
      relative-register or null if this Value is a simple constant.