Commit Graph

5 Commits (2fb89f1b79562ca788693c72d63ca0efd39e0ac5)

Author SHA1 Message Date
Jeff Lucovsky 70bdc37f96 detect/byte_extract: Move keyword parser to Rust
Implement the keyword parser in Rust.

Issue: 6873
2 years ago
Victor Julien 53591702aa detect/bytemath: pass match ctx directly
Adjust includes to enable this.
3 years ago
Jeff Lucovsky ccd1063e43 detect/bytemath: convert parser to Rust
Issue: 5077

This commit
- Converts the PCRE based parser to Rust.
- Adds unit tests to the new Rust modules
- Removes the PCRE parser from detect-bytemath.c
- Adjusts the C source modules to refer to the Rust definitions
- Includes the multiply operator (missing from the C parser)
4 years ago
Jeff Lucovsky 1a726731e4 detect: Use byte-math to byte var handling func 6 years ago
Jeff Lucovsky ac01adc260 detect: Add utility module for byte var handling 6 years ago