Record Class AttributeId

java.lang.Object
java.lang.Record
ghidra.program.model.pcode.AttributeId
Record Components:
name - unique attribute name
id - unqiue attribute ID

public record AttributeId(String name, int id) extends Record
An annotation for a data element being transferred to/from a stream This class parallels the XML concept of an attribute on an element. An AttributeId describes a particular piece of data associated with an ElementId. The defining characteristic of the AttributeId is its name. Internally this name is associated with an integer id. The name (and id) uniquely determine the data being labeled, within the context of a specific ElementId. Within this context, an AttributeId labels either - An unsigned integer - A signed integer - A boolean value - A string The same AttributeId can be used to label a different type of data when associated with a different ElementId.
  • Field Details

    • ATTRIB_CONTENT

      public static final AttributeId ATTRIB_CONTENT
    • ATTRIB_ALIGN

      public static final AttributeId ATTRIB_ALIGN
    • ATTRIB_BIGENDIAN

      public static final AttributeId ATTRIB_BIGENDIAN
    • ATTRIB_CONSTRUCTOR

      public static final AttributeId ATTRIB_CONSTRUCTOR
    • ATTRIB_DESTRUCTOR

      public static final AttributeId ATTRIB_DESTRUCTOR
    • ATTRIB_EXTRAPOP

      public static final AttributeId ATTRIB_EXTRAPOP
    • ATTRIB_FORMAT

      public static final AttributeId ATTRIB_FORMAT
    • ATTRIB_HIDDENRETPARM

      public static final AttributeId ATTRIB_HIDDENRETPARM
    • ATTRIB_ID

      public static final AttributeId ATTRIB_ID
    • ATTRIB_INDEX

      public static final AttributeId ATTRIB_INDEX
    • ATTRIB_INDIRECTSTORAGE

      public static final AttributeId ATTRIB_INDIRECTSTORAGE
    • ATTRIB_METATYPE

      public static final AttributeId ATTRIB_METATYPE
    • ATTRIB_MODEL

      public static final AttributeId ATTRIB_MODEL
    • ATTRIB_NAME

      public static final AttributeId ATTRIB_NAME
    • ATTRIB_NAMELOCK

      public static final AttributeId ATTRIB_NAMELOCK
    • ATTRIB_OFFSET

      public static final AttributeId ATTRIB_OFFSET
    • ATTRIB_READONLY

      public static final AttributeId ATTRIB_READONLY
    • ATTRIB_REF

      public static final AttributeId ATTRIB_REF
    • ATTRIB_SIZE

      public static final AttributeId ATTRIB_SIZE
    • ATTRIB_SPACE

      public static final AttributeId ATTRIB_SPACE
    • ATTRIB_THISPTR

      public static final AttributeId ATTRIB_THISPTR
    • ATTRIB_TYPE

      public static final AttributeId ATTRIB_TYPE
    • ATTRIB_TYPELOCK

      public static final AttributeId ATTRIB_TYPELOCK
    • ATTRIB_VAL

      public static final AttributeId ATTRIB_VAL
    • ATTRIB_VALUE

      public static final AttributeId ATTRIB_VALUE
    • ATTRIB_WORDSIZE

      public static final AttributeId ATTRIB_WORDSIZE
    • ATTRIB_FIRST

      public static final AttributeId ATTRIB_FIRST
    • ATTRIB_LAST

      public static final AttributeId ATTRIB_LAST
    • ATTRIB_UNIQ

      public static final AttributeId ATTRIB_UNIQ
    • ATTRIB_ADDRTIED

      public static final AttributeId ATTRIB_ADDRTIED
    • ATTRIB_GRP

      public static final AttributeId ATTRIB_GRP
    • ATTRIB_INPUT

      public static final AttributeId ATTRIB_INPUT
    • ATTRIB_PERSISTS

      public static final AttributeId ATTRIB_PERSISTS
    • ATTRIB_UNAFF

      public static final AttributeId ATTRIB_UNAFF
    • ATTRIB_BLOCKREF

      public static final AttributeId ATTRIB_BLOCKREF
    • ATTRIB_CLOSE

      public static final AttributeId ATTRIB_CLOSE
    • ATTRIB_COLOR

      public static final AttributeId ATTRIB_COLOR
    • ATTRIB_INDENT

      public static final AttributeId ATTRIB_INDENT
    • ATTRIB_OFF

      public static final AttributeId ATTRIB_OFF
    • ATTRIB_OPEN

      public static final AttributeId ATTRIB_OPEN
    • ATTRIB_OPREF

      public static final AttributeId ATTRIB_OPREF
    • ATTRIB_VARREF

      public static final AttributeId ATTRIB_VARREF
    • ATTRIB_CODE

      public static final AttributeId ATTRIB_CODE
    • ATTRIB_CONTAIN

      public static final AttributeId ATTRIB_CONTAIN
    • ATTRIB_DEFAULTSPACE

      public static final AttributeId ATTRIB_DEFAULTSPACE
    • ATTRIB_UNIQBASE

      public static final AttributeId ATTRIB_UNIQBASE
    • ATTRIB_ALIGNMENT

      public static final AttributeId ATTRIB_ALIGNMENT
    • ATTRIB_ARRAYSIZE

      public static final AttributeId ATTRIB_ARRAYSIZE
    • ATTRIB_CHAR

      public static final AttributeId ATTRIB_CHAR
    • ATTRIB_CORE

      public static final AttributeId ATTRIB_CORE
    • ATTRIB_ENUM

      public static final AttributeId ATTRIB_ENUM
    • ATTRIB_OPAQUESTRING

      public static final AttributeId ATTRIB_OPAQUESTRING
    • ATTRIB_SIGNED

      public static final AttributeId ATTRIB_SIGNED
    • ATTRIB_STRUCTALIGN

      public static final AttributeId ATTRIB_STRUCTALIGN
    • ATTRIB_UTF

      public static final AttributeId ATTRIB_UTF
    • ATTRIB_VARLENGTH

      public static final AttributeId ATTRIB_VARLENGTH
    • ATTRIB_CAT

      public static final AttributeId ATTRIB_CAT
    • ATTRIB_FIELD

      public static final AttributeId ATTRIB_FIELD
    • ATTRIB_MERGE

      public static final AttributeId ATTRIB_MERGE
    • ATTRIB_SCOPEIDBYNAME

      public static final AttributeId ATTRIB_SCOPEIDBYNAME
    • ATTRIB_VOLATILE

      public static final AttributeId ATTRIB_VOLATILE
    • ATTRIB_CLASS

      public static final AttributeId ATTRIB_CLASS
    • ATTRIB_REPREF

      public static final AttributeId ATTRIB_REPREF
    • ATTRIB_SYMREF

      public static final AttributeId ATTRIB_SYMREF
    • ATTRIB_TRUNC

      public static final AttributeId ATTRIB_TRUNC
    • ATTRIB_DYNAMIC

      public static final AttributeId ATTRIB_DYNAMIC
    • ATTRIB_INCIDENTALCOPY

      public static final AttributeId ATTRIB_INCIDENTALCOPY
    • ATTRIB_INJECT

      public static final AttributeId ATTRIB_INJECT
    • ATTRIB_PARAMSHIFT

      public static final AttributeId ATTRIB_PARAMSHIFT
    • ATTRIB_TARGETOP

      public static final AttributeId ATTRIB_TARGETOP
    • ATTRIB_ALTINDEX

      public static final AttributeId ATTRIB_ALTINDEX
    • ATTRIB_DEPTH

      public static final AttributeId ATTRIB_DEPTH
    • ATTRIB_END

      public static final AttributeId ATTRIB_END
    • ATTRIB_OPCODE

      public static final AttributeId ATTRIB_OPCODE
    • ATTRIB_REV

      public static final AttributeId ATTRIB_REV
    • ATTRIB_A

      public static final AttributeId ATTRIB_A
    • ATTRIB_B

      public static final AttributeId ATTRIB_B
    • ATTRIB_LENGTH

      public static final AttributeId ATTRIB_LENGTH
    • ATTRIB_TAG

      public static final AttributeId ATTRIB_TAG
    • ATTRIB_NOCODE

      public static final AttributeId ATTRIB_NOCODE
    • ATTRIB_FARPOINTER

      public static final AttributeId ATTRIB_FARPOINTER
    • ATTRIB_INPUTOP

      public static final AttributeId ATTRIB_INPUTOP
    • ATTRIB_OUTPUTOP

      public static final AttributeId ATTRIB_OUTPUTOP
    • ATTRIB_USEROP

      public static final AttributeId ATTRIB_USEROP
    • ATTRIB_BASE

      public static final AttributeId ATTRIB_BASE
    • ATTRIB_DELAY

      public static final AttributeId ATTRIB_DELAY
    • ATTRIB_LOGICALSIZE

      public static final AttributeId ATTRIB_LOGICALSIZE
    • ATTRIB_PHYSICAL

      public static final AttributeId ATTRIB_PHYSICAL
    • ATTRIB_PIECE

      public static final AttributeId ATTRIB_PIECE
    • ATTRIB_ADJUSTVMA

      public static final AttributeId ATTRIB_ADJUSTVMA
    • ATTRIB_ENABLE

      public static final AttributeId ATTRIB_ENABLE
    • ATTRIB_GROUP

      public static final AttributeId ATTRIB_GROUP
    • ATTRIB_GROWTH

      public static final AttributeId ATTRIB_GROWTH
    • ATTRIB_KEY

      public static final AttributeId ATTRIB_KEY
    • ATTRIB_LOADERSYMBOLS

      public static final AttributeId ATTRIB_LOADERSYMBOLS
    • ATTRIB_PARENT

      public static final AttributeId ATTRIB_PARENT
    • ATTRIB_REGISTER

      public static final AttributeId ATTRIB_REGISTER
    • ATTRIB_REVERSEJUSTIFY

      public static final AttributeId ATTRIB_REVERSEJUSTIFY
    • ATTRIB_SIGNEXT

      public static final AttributeId ATTRIB_SIGNEXT
    • ATTRIB_STYLE

      public static final AttributeId ATTRIB_STYLE
    • ATTRIB_CUSTOM

      public static final AttributeId ATTRIB_CUSTOM
    • ATTRIB_DOTDOTDOT

      public static final AttributeId ATTRIB_DOTDOTDOT
    • ATTRIB_EXTENSION

      public static final AttributeId ATTRIB_EXTENSION
    • ATTRIB_HASTHIS

      public static final AttributeId ATTRIB_HASTHIS
    • ATTRIB_INLINE

      public static final AttributeId ATTRIB_INLINE
    • ATTRIB_KILLEDBYCALL

      public static final AttributeId ATTRIB_KILLEDBYCALL
    • ATTRIB_MAXSIZE

      public static final AttributeId ATTRIB_MAXSIZE
    • ATTRIB_MINSIZE

      public static final AttributeId ATTRIB_MINSIZE
    • ATTRIB_MODELLOCK

      public static final AttributeId ATTRIB_MODELLOCK
    • ATTRIB_NORETURN

      public static final AttributeId ATTRIB_NORETURN
    • ATTRIB_POINTERMAX

      public static final AttributeId ATTRIB_POINTERMAX
    • ATTRIB_SEPARATEFLOAT

      public static final AttributeId ATTRIB_SEPARATEFLOAT
    • ATTRIB_STACKSHIFT

      public static final AttributeId ATTRIB_STACKSHIFT
    • ATTRIB_STRATEGY

      public static final AttributeId ATTRIB_STRATEGY
    • ATTRIB_THISBEFORERETPOINTER

      public static final AttributeId ATTRIB_THISBEFORERETPOINTER
    • ATTRIB_VOIDLOCK

      public static final AttributeId ATTRIB_VOIDLOCK
    • ATTRIB_VECTOR_LANE_SIZES

      public static final AttributeId ATTRIB_VECTOR_LANE_SIZES
    • ATTRIB_LABEL

      public static final AttributeId ATTRIB_LABEL
    • ATTRIB_NUM

      public static final AttributeId ATTRIB_NUM
    • ATTRIB_LOCK

      public static final AttributeId ATTRIB_LOCK
    • ATTRIB_MAIN

      public static final AttributeId ATTRIB_MAIN
    • ATTRIB_BADDATA

      public static final AttributeId ATTRIB_BADDATA
    • ATTRIB_HASH

      public static final AttributeId ATTRIB_HASH
    • ATTRIB_UNIMPL

      public static final AttributeId ATTRIB_UNIMPL
    • ATTRIB_STORAGE

      public static final AttributeId ATTRIB_STORAGE
    • ATTRIB_UNKNOWN

      public static final AttributeId ATTRIB_UNKNOWN
  • Constructor Details

    • AttributeId

      public AttributeId(String name, int id)
      Creates an instance of a AttributeId record class.
      Parameters:
      name - the value for the name record component
      id - the value for the id record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • id

      public int id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component