Package ghidra.util.bytesearch
Interface PostRule
- 
- All Known Implementing Classes:
 AlignRule
public interface PostRuleInteface 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 booleanapply(Pattern pat, long matchoffset)Apply a post rule given the matching pattern and offset into the byte stream.voidrestoreXml(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
 
 - 
 
 -