mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Refactor regex/signature AcceptingSet data structure and usages.
Several parts of that code would do membership checks and that's going to be more efficient with a set instead of a list data structure.
This commit is contained in:
parent
8126f06ffb
commit
171c6ce86b
5 changed files with 99 additions and 124 deletions
|
@ -361,6 +361,9 @@ private:
|
|||
|
||||
void DumpStateStats(BroFile* f, RuleHdrTest* hdr_test);
|
||||
|
||||
static bool AllRulePatternsMatched(const Rule* r, MatchPos matchpos,
|
||||
const AcceptingMatchSet& ams);
|
||||
|
||||
int RE_level;
|
||||
bool parse_error;
|
||||
RuleHdrTest* root;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue