Package ghidra.program.model.pcode
Class HighLabelSymbol
- java.lang.Object
-
- ghidra.program.model.pcode.HighSymbol
-
- ghidra.program.model.pcode.HighLabelSymbol
-
public class HighLabelSymbol extends HighSymbol
A symbol with no underlying data-type. A label within code. This is used to model named jump targets within a function to the decompiler.
-
-
Field Summary
-
Fields inherited from class ghidra.program.model.pcode.HighSymbol
category, categoryIndex, entryList, function, ID_BASE, name, type
-
-
Constructor Summary
Constructors Constructor Description HighLabelSymbol(java.lang.String nm, Address addr, PcodeDataTypeManager dtmanage)
Construct the label given a name and address
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saveXML(java.lang.StringBuilder buf)
Save the symbol description as a tag to the XML stream.-
Methods inherited from class ghidra.program.model.pcode.HighSymbol
addMapEntry, buildMapSymXML, getCategoryIndex, getDataType, getFirstUseOffset, getFirstWholeMap, getHighFunction, getHighVariable, getId, getName, getNamespace, getPCAddress, getProgram, getSize, getStorage, getSymbol, isGlobal, isHiddenReturn, isIsolated, isNameLocked, isParameter, isReadOnly, isThisPointer, isTypeLocked, restoreMapSymXML, restoreXML, restoreXMLHeader, saveXMLHeader, setCategory, setHighVariable, setNameLock, setTypeLock
-
-
-
-
Constructor Detail
-
HighLabelSymbol
public HighLabelSymbol(java.lang.String nm, Address addr, PcodeDataTypeManager dtmanage)
Construct the label given a name and address- Parameters:
nm
- is the given nameaddr
- is the given Addressdtmanage
- is a PcodeDataManager to facilitate XML marshaling
-
-
Method Detail
-
saveXML
public void saveXML(java.lang.StringBuilder buf)
Description copied from class:HighSymbol
Save the symbol description as a tag to the XML stream. This does NOT save the mappings.- Overrides:
saveXML
in classHighSymbol
- Parameters:
buf
- is the XML stream
-
-