Class TaintSet
java.lang.Object
ghidra.taint.model.TaintSet
An immutable set of multiple taint marks
A variable in an emulator could be tainted by multiple marks, so we must use vectors of sets, not
vectors of marks. Please see TaintMark.equals(Object) regarding the equality of tagged
marks.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleangetMarks()Get the marks in this setinthashCode()booleanisEmpty()Check if this set is emptystatic TaintSetCreate a taint set of the given marksstatic TaintSetParse a set of taint marksConstruct the taint set formed by tagging each mark in this settoString()Convert the set to a stringConstruct the taint set from the union of marks of this and the given taint set
-
Field Details
-
EMPTY
The empty set, the default for all state variables
-
-
Method Details
-
parse
-
of
-
toString
-
equals
-
hashCode
-
getMarks
-
isEmpty
public boolean isEmpty()Check if this set is empty- Returns:
- the marks
-
union
-
tagged
-