mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Deprecate Plugin::HookCallFunction(), replace with HookFunctionCall()
This also changes the argument type of Func::operator() to zeek::Args* to allow plugins to be able to alter function arguments in place as was previously documented.
This commit is contained in:
parent
46c5dea733
commit
272db640aa
27 changed files with 417 additions and 77 deletions
4
testing/btest/Baseline/plugins.legacy-func-hook/output
Normal file
4
testing/btest/Baseline/plugins.legacy-func-hook/output
Normal file
|
@ -0,0 +1,4 @@
|
|||
1590205948.002795 MetaHookPre CallFunction(foo, <frame>, (1, 2, 3, yo))
|
||||
1590205948.002795 | HookCallFunction foo(1, 2, 3, yo)
|
||||
1590205948.002795 MetaHookPost CallFunction(foo, <frame>, (1, 2, 3, yo)) -> <no result>
|
||||
foo, 13, 2, 3, yo
|
Loading…
Add table
Add a link
Reference in a new issue