Package ghidra.pcode.exec
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 ghidra.pcode.exec.PcodeUseropLibrary
PcodeUseropLibrary.EmptyPcodeUseropLibrary, PcodeUseropLibrary.PcodeUseropDefinition<T> -
Field Summary
FieldsChangeModifier and TypeFieldDescriptionprotected Map<String, PcodeUseropLibrary.PcodeUseropDefinition<T>> Fields inherited from interface ghidra.pcode.exec.PcodeUseropLibrary
NIL -
Constructor Summary
Constructors -
Method Summary
ChangeModifier and TypeMethodDescriptionGet all the userops defined in this library, keyed by (symbol) name.protected voidAdd the given userop to this libraryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.pcode.exec.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
-