Commit Graph

10 Commits (30b1d7a9c13dda776fb7d65c461f1d47ba1e7e61)

Author SHA1 Message Date
Victor Julien 6ab323d323 detect: hide RegisterTests behind ifdef UNITTESTS
Update all callers to more aggressively use UNITTESTS guards as well.
6 years ago
Jeff Lucovsky 5d10db88bc detect/transform: Support transform options
This commit adds support for transform-specific options. During Setup,
transforms have the signature string available for options detection.
When a transform detects an option, it should convert the option into an
internal format and supply a pointer to this format as the last argument
to DetectSignatureAddTransform.

Transforms that support options must provide a function in their
Sigmatch table entry. When the transform is freed, a pointer to the
internal format of the option is passed to this function.
6 years ago
Jeff Lucovsky b569670c33 general: Correct typos 6 years ago
Jeff Lucovsky 4407cf8979 general: Update copyright year 6 years ago
Victor Julien 26bcc97515 detect/keywords: dynamic version part of doc URL 6 years ago
Philippe Antoine c2fdd7c969 transform: fixes comment about compress_whitespace 7 years ago
Philippe Antoine 9126fc25c1 transform: updates doc about compress_whitespace
And removes duplicate test from strip_whitespace
7 years ago
Eric Leblond 8c1b16e22d doc: fix some links in list-keywords command 8 years ago
Victor Julien d6460392c5 detect/transforms: fix doc urls 8 years ago
Victor Julien 016d65fdf8 detect/transform: initial compress_whitespace implementation 9 years ago