zam: Mechanic FuncInfo and ZAM-bif-tracking updates

This commit is contained in:
Arne Welzel 2025-04-08 11:37:05 +02:00
parent 868813adb0
commit a4e79c550a
2 changed files with 6 additions and 0 deletions

View file

@ -79,6 +79,9 @@ static std::unordered_map<std::string, unsigned int> func_attrs = {
{"Cluster::__unsubscribe", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Cluster::make_event", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Cluster::publish", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"EventMetadata::current_values", ATTR_NO_ZEEK_SIDE_EFFECTS},
{"EventMetadata::register_type", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"EventMetadata::values", ATTR_NO_ZEEK_SIDE_EFFECTS},
{"FileExtract::__set_limit", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Files::__add_analyzer", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Files::__analyzer_enabled", ATTR_NO_ZEEK_SIDE_EFFECTS},

View file

@ -106,6 +106,9 @@ global known_BiFs = set(
"Cluster::publish",
"Cluster::publish_hrw",
"Cluster::publish_rr",
"EventMetadata::current",
"EventMetadata::current_values",
"EventMetadata::register_type",
"FileExtract::__set_limit",
"Files::__add_analyzer",
"Files::__analyzer_enabled",