Package ghidra.pcode.exec
Class AnnotatedPcodeUseropLibrary.FixedArgsAnnotatedPcodeUseropDefinition<T>
java.lang.Object
ghidra.pcode.exec.AnnotatedPcodeUseropLibrary.AnnotatedPcodeUseropDefinition<T>
ghidra.pcode.exec.AnnotatedPcodeUseropLibrary.FixedArgsAnnotatedPcodeUseropDefinition<T>
- Type Parameters:
T- the type of data processed by the userop
- All Implemented Interfaces:
PcodeUseropLibrary.PcodeUseropDefinition<T>
- Enclosing class:
AnnotatedPcodeUseropLibrary<T>
protected static class AnnotatedPcodeUseropLibrary.FixedArgsAnnotatedPcodeUseropDefinition<T>
extends AnnotatedPcodeUseropLibrary.AnnotatedPcodeUseropDefinition<T>
An annotated userop with a fixed number of arguments
-
Field Summary
Fields inherited from class ghidra.pcode.exec.AnnotatedPcodeUseropLibrary.AnnotatedPcodeUseropDefinition
method -
Constructor Summary
ConstructorsConstructorDescriptionFixedArgsAnnotatedPcodeUseropDefinition(AnnotatedPcodeUseropLibrary<T> library, Type opType, MethodHandles.Lookup lookup, Method method, AnnotatedPcodeUseropLibrary.PcodeUserop annot) -
Method Summary
Modifier and TypeMethodDescriptionintGet the number of input operands accepted by the userop.protected voidprotected voidplaceInputs(PcodeExecutor<T> executor, List<Object> args, List<Varnode> inVars) protected voidprocessNonAnnotatedParameter(Type declClsOpType, Type opType, int i, Parameter p) protected voidvalidateInputs(List<Varnode> inVars) Methods inherited from class ghidra.pcode.exec.AnnotatedPcodeUseropLibrary.AnnotatedPcodeUseropDefinition
canInlinePcode, create, execute, fromPrimitive, getDefiningLibrary, getJavaMethod, getName, hasSideEffects, initFinished, isFunctional, isPrimitive, modifiesContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.pcode.exec.PcodeUseropLibrary.PcodeUseropDefinition
execute
-
Constructor Details
-
FixedArgsAnnotatedPcodeUseropDefinition
public FixedArgsAnnotatedPcodeUseropDefinition(AnnotatedPcodeUseropLibrary<T> library, Type opType, MethodHandles.Lookup lookup, Method method, AnnotatedPcodeUseropLibrary.PcodeUserop annot)
-
-
Method Details
-
initStarting
protected void initStarting()- Overrides:
initStartingin classAnnotatedPcodeUseropLibrary.AnnotatedPcodeUseropDefinition<T>
-
processNonAnnotatedParameter
- Specified by:
processNonAnnotatedParameterin classAnnotatedPcodeUseropLibrary.AnnotatedPcodeUseropDefinition<T>
-
validateInputs
- Overrides:
validateInputsin classAnnotatedPcodeUseropLibrary.AnnotatedPcodeUseropDefinition<T>- Throws:
PcodeExecutionException
-
placeInputs
- Specified by:
placeInputsin classAnnotatedPcodeUseropLibrary.AnnotatedPcodeUseropDefinition<T>
-
getInputCount
public int getInputCount()Description copied from interface:PcodeUseropLibrary.PcodeUseropDefinitionGet the number of input operands accepted by the userop.- Returns:
- the count or -1 if the userop is variadic
-