Package ghidra.program.model.symbol
Class LabelHistory
java.lang.Object
ghidra.program.model.symbol.LabelHistory
Container for history information about what happened to a label.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLabelHistory
(Address addr, String userName, byte actionID, String labelStr, Date modificationDate) Construct a new LabelHistory object. -
Method Summary
Modifier and TypeMethodDescriptionbyte
Get the action ID for this label history object.Get address for this label history object.Get the label string for this label history object.Get the modification dateGet the user that made the change.
-
Field Details
-
ADD
public static final byte ADDLabel added.- See Also:
-
REMOVE
public static final byte REMOVELabel removed.- See Also:
-
RENAME
public static final byte RENAMELabel renamed.- See Also:
-
-
Constructor Details
-
LabelHistory
public LabelHistory(Address addr, String userName, byte actionID, String labelStr, Date modificationDate) Construct a new LabelHistory object.- Parameters:
addr
- address of the label changeuserName
- name of user who made the changeactionID
- either ADD, REMOVE, or RENAMElabelStr
- label stringmodificationDate
- date of the change
-
-
Method Details
-
getAddress
Get address for this label history object. -
getUserName
Get the user that made the change. -
getLabelString
Get the label string for this label history object. -
getActionID
public byte getActionID()Get the action ID for this label history object.- Returns:
- ADD, REMOVE, or RENAME
-
getModificationDate
Get the modification date
-