Package ghidra.program.model.pcode
Class JumpTable
- java.lang.Object
 - 
- ghidra.program.model.pcode.JumpTable
 
 
- 
public class JumpTable extends java.lang.ObjectJumpTable found as part of the decompilation of a function 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description classJumpTable.BasicOverrideclassJumpTable.LoadTable 
- 
Constructor Summary
Constructors Constructor Description JumpTable(Address addr, java.util.ArrayList<Address> destlist, boolean override)JumpTable(AddressSpace preferredSpace) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildXml(java.lang.StringBuilder buf)Address[]getCases()java.lang.Integer[]getLabelValues()JumpTable.LoadTable[]getLoadTables()AddressgetSwitchAddress()booleanisEmpty()static JumpTablereadOverride(Namespace space, SymbolTable symtab)voidrestoreXml(XmlPullParser parser, AddressFactory addrFactory)Create a JumpTable object by parsing the XML elementsvoidwriteOverride(Function func) 
 - 
 
- 
- 
Constructor Detail
- 
JumpTable
public JumpTable(AddressSpace preferredSpace)
 
 - 
 
- 
Method Detail
- 
isEmpty
public boolean isEmpty()
 
- 
restoreXml
public void restoreXml(XmlPullParser parser, AddressFactory addrFactory) throws PcodeXMLException
Create a JumpTable object by parsing the XML elements- Parameters:
 parser- is the XML parseraddrFactory- is used to look-up address spaces- Throws:
 PcodeXMLException- for improperly formed XML
 
- 
buildXml
public void buildXml(java.lang.StringBuilder buf)
 
- 
getSwitchAddress
public Address getSwitchAddress()
 
- 
getCases
public Address[] getCases()
 
- 
getLabelValues
public java.lang.Integer[] getLabelValues()
 
- 
getLoadTables
public JumpTable.LoadTable[] getLoadTables()
 
- 
writeOverride
public void writeOverride(Function func) throws InvalidInputException
- Throws:
 InvalidInputException
 
- 
readOverride
public static JumpTable readOverride(Namespace space, SymbolTable symtab)
 
 - 
 
 -