Package ghidra.program.model.pcode
Class HighExternalSymbol
- java.lang.Object
-
- ghidra.program.model.pcode.HighSymbol
-
- ghidra.program.model.pcode.HighExternalSymbol
-
public class HighExternalSymbol extends HighSymbol
A symbol, within a decompiler model, for a function without a body in the current Program. The Address of this symbol corresponds to the code location that CALL instructions refer to. In anticipation of a (not fully resolved) thunking mechanism, this symbol also has a separate resolve Address, which is where the decompiler expects to retrieve the detailed Function object.
-
-
Field Summary
-
Fields inherited from class ghidra.program.model.pcode.HighSymbol
category, categoryIndex, entryList, function, ID_BASE, name, type
-
-
Constructor Summary
Constructors Constructor Description HighExternalSymbol(java.lang.String nm, Address addr, Address resolveAddr, PcodeDataTypeManager dtmanage)
Construct the external reference symbol given a name, the symbol Address, and a resolving 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
-
HighExternalSymbol
public HighExternalSymbol(java.lang.String nm, Address addr, Address resolveAddr, PcodeDataTypeManager dtmanage)
Construct the external reference symbol given a name, the symbol Address, and a resolving Address.- Parameters:
nm
- is the given nameaddr
- is the symbol AddressresolveAddr
- is the resolve Addressdtmanage
- is a PcodeDataTypeManager for facilitating 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
-
-