mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
The HOOK_CALL_FUNCTION plugin hook is now also triggered for builtin
functions.
This commit is contained in:
parent
8ea8359607
commit
9e74fcaf2a
3 changed files with 555 additions and 46 deletions
|
@ -70,6 +70,9 @@ public:
|
|||
protected:
|
||||
Func();
|
||||
|
||||
// Helper function for handling result of plugin hook.
|
||||
Val* HandlePluginResult(Val* plugin_result, val_list* args, function_flavor flavor) const;
|
||||
|
||||
DECLARE_ABSTRACT_SERIAL(Func);
|
||||
|
||||
vector<Body> bodies;
|
||||
|
@ -100,7 +103,6 @@ public:
|
|||
protected:
|
||||
BroFunc() : Func(BRO_FUNC) {}
|
||||
Stmt* AddInits(Stmt* body, id_list* inits);
|
||||
Val* HandlePluginResult(Val* plugin_result, val_list* args) const;
|
||||
|
||||
DECLARE_SERIAL(BroFunc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue