Package ghidra.app.emulator.state

# Interface RegisterState

All Known Implementing Classes:
  `DumpMiscState`

public interface RegisterState

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `dispose()`
  `Set<String>`
  `getKeys()`
  `List<byte[]>`
  `getVals(String key)`
  Get the byte array value for a register name
  `List<Boolean>`
  `isInitialized(String key)`
  Check if the register is initialized
  `void`
  `setVals(String key, byte[] vals, boolean setInitiailized)`
  `void`
  `setVals(String key, long val, int size, boolean setInitiailized)`

- ## Method Details

  - ### getKeys

    Set<String> getKeys()

  - ### getVals

    List<byte[]> getVals(String key)
    Get the byte array value for a register name
    Parameters:
      `key` - the register name
    Returns:
      a list (used as an optional) containing at most the one byte array giving the register's value. If empty, the value if unspecified.

  - ### isInitialized

    List<Boolean> isInitialized(String key)
    Check if the register is initialized
    Parameters:
      `key` - the register name
    Returns:
      a list (used an an optional) containing at most the one initialization state. True if initialized, false if not. Empty if unspecified.

  - ### setVals

    void setVals(String key, byte[] vals, boolean setInitiailized)

  - ### setVals

    void setVals(String key, long val, int size, boolean setInitiailized)

  - ### dispose

    void dispose()