Update BiF-tracking, add is_event_handled

This commit is contained in:
Johanna Amann 2025-01-08 16:15:03 +00:00
parent 13f042cc27
commit 6bfa55904c
3 changed files with 3 additions and 1 deletions

View file

@ -324,6 +324,7 @@ static std::unordered_map<std::string, unsigned int> func_attrs = {
{"is_alnum", ATTR_FOLDABLE},
{"is_alpha", ATTR_FOLDABLE},
{"is_ascii", ATTR_FOLDABLE},
{"is_event_handled", ATTR_IDEMPOTENT}, // can error
{"is_file_analyzer", ATTR_NO_ZEEK_SIDE_EFFECTS},
{"is_icmp_port", ATTR_FOLDABLE},
{"is_local_interface", ATTR_IDEMPOTENT},

View file

@ -1,2 +1,2 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
542 seen BiFs, 0 unseen BiFs (), 0 new BiFs ()
543 seen BiFs, 0 unseen BiFs (), 0 new BiFs ()

View file

@ -357,6 +357,7 @@ global known_BiFs = set(
"is_alnum",
"is_alpha",
"is_ascii",
"is_event_handled",
"is_file_analyzer",
"is_icmp_port",
"is_local_interface",