Package ghidra.program.model.lang
Class PrototypePieces
java.lang.Object
ghidra.program.model.lang.PrototypePieces
Raw components of a function prototype (obtained from parsing source code)
-
Field Summary
Modifier and TypeFieldDescriptionint
-
Constructor Summary
ConstructorDescriptionPrototypePieces
(PrototypeModel model, DataType outType) Create prototype with output data-type and empty/unspecified input data-typesPrototypePieces
(PrototypeModel model, DataType[] oldList, DataType injectedThis) Populate pieces from old-style array of DataTypes -
Method Summary
-
Field Details
-
model
-
outtype
-
intypes
-
firstVarArgSlot
public int firstVarArgSlot
-
-
Constructor Details
-
PrototypePieces
Populate pieces from old-style array of DataTypes- Parameters:
model
- is the prototype modeloldList
- is the list of output and input data-typesinjectedThis
- if non-null is the data-type of the this pointer to be injected
-
PrototypePieces
Create prototype with output data-type and empty/unspecified input data-types- Parameters:
model
- is the prototype modeloutType
- is the output data-type
-