rule test_1 {
condition:
2 | 1 == 3 and 3 & 2 == 2 and 3 ^ 1 == 2
}
rule test_2 {
condition:
2 | 1 & 2 ^ 3 == 3
}
rule test_3 {
condition:
~0x55 & 0xFF == 0xAA
}
rule test_4 {
condition:
1 << 3 == 8
}
rule test_4 {
condition:
8 >> 3 == 1
}