Package ghidra.util.bytesearch
Interface PostRule
-
- All Known Implementing Classes:
AlignRule
public interface PostRule
Inteface for post match rules that are checked after a match is idenfied
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
apply(Pattern pat, long matchoffset)
Apply a post rule given the matching pattern and offset into the byte stream.void
restoreXml(XmlPullParser parser)
Can restore state of instance PostRule from XML
-
-
-
Method Detail
-
apply
boolean apply(Pattern pat, long matchoffset)
Apply a post rule given the matching pattern and offset into the byte stream.- Parameters:
pat
- pattern that matchedmatchoffset
- offset of the match- Returns:
- true if the PostRule is satisfied
-
restoreXml
void restoreXml(XmlPullParser parser)
Can restore state of instance PostRule from XML- Parameters:
parser
- XML pull parser
-
-