You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bmatcher/GRAMMA.MD
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,18 @@ Spaces between the hexadecimal values are optional. The following example is equ
22
22
FFDE0123
23
23
```
24
24
25
+
## Masked Binary Data (`<hex> & <hex>`)
26
+
27
+
The **Masked Match Binary Data** operator is extends the Binary Data Operator. It performs a byte-by-byte comparison of the input with the specified hexadecimal values under the given mask (binary and). Each byte and mask entry must be written in hexadecimal format and padded to two digits.
28
+
29
+
The following example searches for the hexadecimal sequence `0xFF 0xEE` wit hthe mask `0xFF 0x0F` in the target:
30
+
31
+
```pattern
32
+
FFEE & FF0F
33
+
```
34
+
35
+
In opposition to the Binary Data operator, spaces are not allowed in the binary and the mask data.
36
+
25
37
## Byte Wildcard (`?`)
26
38
27
39
The Byte Wildcard operator (`?`) matches any byte value, serving as the opposite of the Match Binary Data operator.
0 commit comments