Package ghidra.pcode.exec
Annotation Interface AnnotatedPcodeUseropLibrary.OpLibrary
- Enclosing class:
AnnotatedPcodeUseropLibrary<T>
@Retention(RUNTIME)
@Target(PARAMETER)
public static @interface AnnotatedPcodeUseropLibrary.OpLibrary
An annotation to receive the complete library into a parameter
Because the library defining the userop may be composed with other libraries, it is not
sufficient to use the "this" reference to obtain the library. If the library being
used for execution needs to be passed to a dependent component of execution, it must be the
complete library, not just the one defining the userop. This annotation allows a userop
definition to receive the complete library.
The annotated parameter must have type PcodeUseropLibrary with the same <T>
as the class declaring the method.