detect/byte-math: Support multiplication operator

Issue: 6070

This commit adds support for the multiplication operator to byte-math.
The regex for parsing the keyword options was missing the `*` character.
pull/9023/head
Jeff Lucovsky 3 years ago committed by Victor Julien
parent a0ce78ca87
commit e027080a4e

@ -76,7 +76,7 @@
"^" \
"\\s*(bytes)\\s*(\\d+)\\s*" \
",\\s*(offset)\\s*([-]?\\d+)\\s*" \
",\\s*(oper)\\s*([-+\\/]{1}|<<|>>)\\s*" \
",\\s*(oper)\\s*([-+\\/\\*]{1}|<<|>>)\\s*" \
",\\s*(rvalue)\\s*(\\w+)\\s*" \
",\\s*(result)\\s*(\\w+)\\s*" \
"(?:,\\s*(relative)\\s*)?" \

Loading…
Cancel
Save