Class SymbolTable
- java.lang.Object
-
- ghidra.app.plugin.processors.sleigh.symbol.SymbolTable
-
public class SymbolTable extends java.lang.Object
Full symbol table for sleigh
-
-
Constructor Summary
Constructors Constructor Description SymbolTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Symbol
findGlobalSymbol(java.lang.String nm)
Symbol
findSymbol(int id)
Symbol
findSymbol(java.lang.String nm)
Symbol
findSymbol(java.lang.String nm, int skip)
SymbolScope
getCurrentScope()
SymbolScope
getGlobalScope()
int
getNumberOfUserDefinedOpNames()
Symbol[]
getSymbolList()
java.lang.String
getUserDefinedOpName(int index)
void
restoreSymbolHeader(XmlPullParser parser)
void
restoreXml(XmlPullParser parser, SleighLanguage sleigh)
void
setCurrentScope(SymbolScope scope)
-
-
-
Method Detail
-
getCurrentScope
public SymbolScope getCurrentScope()
-
getGlobalScope
public SymbolScope getGlobalScope()
-
setCurrentScope
public void setCurrentScope(SymbolScope scope)
-
findSymbol
public Symbol findSymbol(java.lang.String nm)
-
findSymbol
public Symbol findSymbol(java.lang.String nm, int skip)
-
findGlobalSymbol
public Symbol findGlobalSymbol(java.lang.String nm)
-
getSymbolList
public Symbol[] getSymbolList()
-
findSymbol
public Symbol findSymbol(int id)
-
restoreXml
public void restoreXml(XmlPullParser parser, SleighLanguage sleigh) throws UnknownInstructionException
- Throws:
UnknownInstructionException
-
restoreSymbolHeader
public void restoreSymbolHeader(XmlPullParser parser)
-
getNumberOfUserDefinedOpNames
public int getNumberOfUserDefinedOpNames()
-
getUserDefinedOpName
public java.lang.String getUserDefinedOpName(int index)
-
-