Class DefaultPcodeUseropLibrary<T>
java.lang.Object
ghidra.pcode.exec.DefaultPcodeUseropLibrary<T>
- Type Parameters:
T- the type of data processed by the library
- All Implemented Interfaces:
PcodeUseropLibrary<T>
- Direct Known Subclasses:
AnnotatedPcodeUseropLibrary
The default implemenation of a userop library
Userops are added by calling putOp(PcodeUseropDefinition), usually in the constructor.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PcodeUseropLibrary
PcodeUseropLibrary.EmptyPcodeUseropLibrary, PcodeUseropLibrary.PcodeUseropDefinition<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String, PcodeUseropLibrary.PcodeUseropDefinition<T>> Fields inherited from interface PcodeUseropLibrary
NIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet all the userops defined in this library, keyed by (symbol) name.protected voidAdd the given userop to this libraryMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PcodeUseropLibrary
compose, compose, getSymbols
-
Field Details
-
ops
-
-
Constructor Details
-
DefaultPcodeUseropLibrary
public DefaultPcodeUseropLibrary()
-
-
Method Details
-
putOp
Add the given userop to this library- Parameters:
userop- the userop
-
getUserops
Description copied from interface:PcodeUseropLibraryGet all the userops defined in this library, keyed by (symbol) name.- Specified by:
getUseropsin interfacePcodeUseropLibrary<T>- Returns:
- the map of names to defined userops
-