UASL( .id = 1; .pattern = "ABC"; .startin = 1; .pattern = "XYZ"; .at = 3, match; )
In this example a sequential search for two patterns is performed:
-
Search for the beginning of the ABC template within the specified range, i. e. the first byte of the specified template must fall within the range. The value of .startin modifier is 1 (range = 1, the template will be searched for from the beginning of the session, because the first modifier is "start" by default) --- the byte falling within this range should be equal to the beginning of the ABC template.
-
Search for XYZ template starting from position 4 (.at=3;) from the last found ABC template.