Package ghidra.program.model.pcode
Class HighParamID
- java.lang.Object
- 
- ghidra.program.model.pcode.PcodeSyntaxTree
- 
- ghidra.program.model.pcode.HighParamID
 
 
- 
- All Implemented Interfaces:
- PcodeFactory
 
 public class HighParamID extends PcodeSyntaxTree High-level abstraction associated with a low level function made up of assembly instructions. Based on information the decompiler has produced after working on a function.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringDECOMPILER_TAG_MAP
 - 
Constructor SummaryConstructors Constructor Description HighParamID(Function function, Language language, CompilerSpec compilerSpec, PcodeDataTypeManager dtManager)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.xml.sax.ErrorHandlergetErrorHandler(java.lang.Object errOriginator, java.lang.String targetName)FunctiongetFunction()AddressgetFunctionAddress()java.lang.StringgetFunctionName()ParamMeasuregetInput(int i)java.lang.StringgetModelName()intgetNumInputs()intgetNumOutputs()ParamMeasuregetOutput(int i)java.lang.IntegergetProtoExtraPop()voidreadXML(XmlPullParser parser)voidstoreParametersToDatabase(boolean storeDataTypes, SourceType srctype)Update any parameters for this Function from parameters defined in this map.voidstoreReturnToDatabase(boolean storeDataTypes, SourceType srctype)Update any parameters for this Function from parameters defined in this map.static XmlPullParserstringTree(java.lang.String xml, org.xml.sax.ErrorHandler handler)Create and XML SAX parse tree from an input XML string TODO: this probably doesn't belong here.- 
Methods inherited from class ghidra.program.model.pcode.PcodeSyntaxTreebuildStorage, clear, createFromStorage, delete, findInputVarnode, findVarnode, findVarnode, getAddressFactory, getBasicBlocks, getDataTypeManager, getNumVarnodes, getOpRef, getPcodeOp, getPcodeOps, getPcodeOps, getRef, getSymbol, getVarnodes, getVarnodes, getVarnodes, getVbank, insertAfter, insertBefore, locRange, newOp, newVarnode, newVarnode, readXMLVarnodePieces, setAddrTied, setDataType, setInput, setInput, setMergeGroup, setOpcode, setOutput, setPersistent, setUnaffected, unInsert, unlink, unSetInput, unSetOutput
 
- 
 
- 
- 
- 
Field Detail- 
DECOMPILER_TAG_MAPpublic static final java.lang.String DECOMPILER_TAG_MAP - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
HighParamIDpublic HighParamID(Function function, Language language, CompilerSpec compilerSpec, PcodeDataTypeManager dtManager) - Parameters:
- function- function associated with the higher level function abstraction.
- language- language parser used to disassemble/get info on the language.
- compilerSpec- the compiler spec.
- dtManager- data type manager.
 
 
- 
 - 
Method Detail- 
getFunctionNamepublic java.lang.String getFunctionName() - Returns:
- get the name of the function
 
 - 
getFunctionAddresspublic Address getFunctionAddress() - Returns:
- get the Address of the function
 
 - 
getModelNamepublic java.lang.String getModelName() - Returns:
- get the name of the model
 
 - 
getProtoExtraPoppublic java.lang.Integer getProtoExtraPop() - Returns:
- get the prototype extrapop information
 
 - 
getFunctionpublic Function getFunction() - Returns:
- get the associated low level function
 
 - 
getNumInputspublic int getNumInputs() - Returns:
- the number of inputs for functionparams
 
 - 
getInputpublic ParamMeasure getInput(int i) - Parameters:
- i- is the specific index to return
- Returns:
- the specific input for functionparams
 
 - 
getNumOutputspublic int getNumOutputs() - Returns:
- the number of outputs for functionparams
 
 - 
getOutputpublic ParamMeasure getOutput(int i) - Parameters:
- i- is the index of the specific output
- Returns:
- the specific of output for functionparams
 
 - 
readXMLpublic void readXML(XmlPullParser parser) throws PcodeXMLException - Overrides:
- readXMLin class- PcodeSyntaxTree
- Throws:
- PcodeXMLException
 
 - 
getErrorHandlerpublic static org.xml.sax.ErrorHandler getErrorHandler(java.lang.Object errOriginator, java.lang.String targetName)
 - 
stringTreepublic static XmlPullParser stringTree(java.lang.String xml, org.xml.sax.ErrorHandler handler) throws PcodeXMLException Create and XML SAX parse tree from an input XML string TODO: this probably doesn't belong here.- Parameters:
- xml- string to parse
- handler- is the error handler
- Returns:
- an XML tree element
- Throws:
- PcodeXMLException- for improper XML
 
 - 
storeReturnToDatabasepublic void storeReturnToDatabase(boolean storeDataTypes, SourceType srctype)Update any parameters for this Function from parameters defined in this map.- Parameters:
- storeDataTypes- is true if data-types are getting stored
- srctype- function signature source
 
 - 
storeParametersToDatabasepublic void storeParametersToDatabase(boolean storeDataTypes, SourceType srctype)Update any parameters for this Function from parameters defined in this map. Originally from LocalSymbolMap, but being modified.- Parameters:
- storeDataTypes- is true if data-types are being stored
- srctype- function signature source
 
 
- 
 
-