mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Introduce rust/src/detect/transforms/varkey.rs to centralise helpers
used by transforms that read key material directly from the inspection
buffer at transform time.
Exported items:
VariableKeyLocation { offset: u16, nbytes: u8 }
variable_key_bytes bounds-checked slice into an inspection buffer
strip_keyword_prefix strip 'keyword<ws>' from option strings
parse_key_location parse '<nbytes> <offset>' into VariableKeyLocation
All four items are pub so any transform can import them. Unit tests
are included in the module.
Issue: 8671
|
3 weeks ago | |
|---|---|---|
| .. | ||
| .cargo | 2 years ago | |
| derive | 2 months ago | |
| ffi | 1 month ago | |
| htp | 6 months ago | |
| src | 3 weeks ago | |
| suricatactl | 4 months ago | |
| suricatasc | 4 months ago | |
| sys | 1 month ago | |
| .gitignore | 2 years ago | |
| Cargo.lock.in | 2 months ago | |
| Cargo.toml.in | 2 months ago | |
| Makefile.am | 2 months ago | |
| cbindgen.toml | 1 month ago | |
| rustfmt.toml | 3 years ago | |