Package ghidra.program.model.pcode
Class HighFunctionShellSymbol
java.lang.Object
ghidra.program.model.pcode.HighSymbol
ghidra.program.model.pcode.HighFunctionShellSymbol
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, dtmanage, entryList, function, ID_BASE, name, type
-
Constructor Summary
ConstructorDescriptionHighFunctionShellSymbol
(long id, String nm, Address addr, PcodeDataTypeManager manage) Construct the function shell 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, isHiddenReturn, isIsolated, isNameLocked, isParameter, isThisPointer, isTypeLocked, setCategory, setNameLock, setTypeLock
-
Constructor Details
-
HighFunctionShellSymbol
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 Details
-
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
-
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
-