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
Modifier and TypeMethodDescriptionboolean
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 Details
-
apply
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
Can restore state of instance PostRule from XML- Parameters:
parser
- XML pull parser
-