Package ghidra.program.model.pcode
Class HighLabelSymbol
java.lang.Object
ghidra.program.model.pcode.HighSymbol
ghidra.program.model.pcode.HighLabelSymbol
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, dtmanage, entryList, function, ID_BASE, name, type
-
Constructor Summary
ConstructorDescriptionHighLabelSymbol
(String nm, Address addr, PcodeDataTypeManager dtmanage) Construct the label given a name and address -
Method Summary
Methods inherited from class ghidra.program.model.pcode.HighSymbol
addMapEntry, decode, decodeHeader, decodeMapSym, encodeHeader, encodeMapSym, getCategoryIndex, getDataType, getFirstUseOffset, getFirstWholeMap, getHighFunction, getHighVariable, getId, getMutability, getName, getNamespace, getPCAddress, getProgram, getSize, getStorage, getSymbol, isGlobal, isHiddenReturn, isIsolated, isNameLocked, isParameter, isThisPointer, isTypeLocked, setCategory, setNameLock, setTypeLock
-
Constructor Details
-
HighLabelSymbol
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 Details
-
encode
Description copied from class:HighSymbol
Encode the symbol description as an element to the stream. This does NOT save the mappings.- Overrides:
encode
in classHighSymbol
- Parameters:
encoder
- is the stream encoder- Throws:
IOException
- for errors in the underlying stream
-