Package ghidra.app.util.viewer.field
Class LabelCodeUnitFormat
- java.lang.Object
-
- ghidra.program.model.listing.CodeUnitFormat
-
- ghidra.app.util.viewer.field.BrowserCodeUnitFormat
-
- ghidra.app.util.viewer.field.LabelCodeUnitFormat
-
public class LabelCodeUnitFormat extends BrowserCodeUnitFormat
A version ofBrowserCodeUnitFormat
that changes how labels are rendered in offcut situations.
-
-
Field Summary
-
Fields inherited from class ghidra.program.model.listing.CodeUnitFormat
DEFAULT, EXTENDED_INDIRECT_REFERENCE_DELIMITER, EXTENDED_REFERENCE_DELIMITER, options, PLUS, UNDERSCORE
-
-
Constructor Summary
Constructors Constructor Description LabelCodeUnitFormat(ToolOptions fieldOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getOffcutDataString(Address offcutAddress, Data data)
protected java.lang.String
getOffcutLabelStringForInstruction(Address offcutAddress, Instruction instruction)
-
Methods inherited from class ghidra.app.util.viewer.field.BrowserCodeUnitFormat
addChangeListener, removeChangeListener
-
Methods inherited from class ghidra.program.model.listing.CodeUnitFormat
addOffcutInformation, getDataValueRepresentation, getDataValueRepresentationString, getDefaultOffcutString, getMnemonicRepresentation, getOffcutLabelString, getOperandRepresentationList, getOperandRepresentationString, getPrefixForStringData, getReferenceRepresentationString, getRepresentationString, getRepresentationString, getShowBlockName
-
-
-
-
Constructor Detail
-
LabelCodeUnitFormat
public LabelCodeUnitFormat(ToolOptions fieldOptions)
-
-
Method Detail
-
getOffcutLabelStringForInstruction
protected java.lang.String getOffcutLabelStringForInstruction(Address offcutAddress, Instruction instruction)
- Overrides:
getOffcutLabelStringForInstruction
in classCodeUnitFormat
-
getOffcutDataString
protected java.lang.String getOffcutDataString(Address offcutAddress, Data data)
- Overrides:
getOffcutDataString
in classCodeUnitFormat
-
-