Class FilterAtom
java.lang.Object
ghidra.features.bsim.query.protocol.FilterAtom
- Direct Known Subclasses:
ChildAtom
A single element for filtering on specific properties of ExecutableRecords or FunctionDescriptions
Each FilterAtom consists of a FilterTemplate describing the property to filter on, and how the filter should apply,
and a String -value- that the property should match (or not)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanevaluate(ExecutableRecord rec) booleanisValid()Returns true if this Atom has a non-null valuevoidrestoreXml(XmlPullParser parser) void
-
Field Details
-
type
-
value
-
-
Constructor Details
-
FilterAtom
public FilterAtom() -
FilterAtom
-
-
Method Details
-
clone
-
saveXml
- Throws:
IOException
-
restoreXml
-
getInfoString
-
evaluate
- Parameters:
rec- is a specific ExecutableRecord- Returns:
- true if this FilterAtom would let the specific executable pass the filter
-
isValid
public boolean isValid()Returns true if this Atom has a non-null value -
getValueString
-