Package ghidra.program.model.pcode
Class HighFunctionShellSymbol
- java.lang.Object
-
- ghidra.program.model.pcode.HighSymbol
-
- ghidra.program.model.pcode.HighFunctionShellSymbol
-
public class HighFunctionShellSymbol extends HighSymbol
A function symbol that represents only a shell of (the name and address) the function, when no other information is available.
-
-
Field Summary
-
Fields inherited from class ghidra.program.model.pcode.HighSymbol
category, categoryIndex, entryList, function, ID_BASE, name, type
-
-
Constructor Summary
Constructors Constructor Description HighFunctionShellSymbol(long id, java.lang.String nm, Address addr, PcodeDataTypeManager manage)
Construct the function shell given a name and address
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isGlobal()
Is this symbol in the global scope or some other global namespacevoid
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, isHiddenReturn, isIsolated, isNameLocked, isParameter, isReadOnly, isThisPointer, isTypeLocked, restoreMapSymXML, restoreXML, restoreXMLHeader, saveXMLHeader, setCategory, setHighVariable, setNameLock, setTypeLock
-
-
-
-
Constructor Detail
-
HighFunctionShellSymbol
public HighFunctionShellSymbol(long id, java.lang.String nm, Address addr, PcodeDataTypeManager manage)
Construct the function shell given a name and address- Parameters:
id
- is an id to associate with the new symbolnm
- is the given nameaddr
- is the given addressmanage
- is PcodeDataTypeManager to facilitate XML marshaling
-
-
Method Detail
-
isGlobal
public boolean isGlobal()
Description copied from class:HighSymbol
Is this symbol in the global scope or some other global namespace- Overrides:
isGlobal
in classHighSymbol
- Returns:
- true if this is global
-
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
-
-