mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/master' into topic/johanna/table-changes
* origin/master: (47 commits) scan.l: Remove "constant" did_module_restore logic Fix FreeBSD CI script to install right SWIG package Update submodule(s) GH-928: use realpath() instead of inode to de-duplicate scripts Update submodule(s) GH-1040: Add zero-indexed version of str_split Fix WhileStmt to call Stmt(Tag) ctor GH-1041: Move compress_path to a bif that uses normalize_path Update submodule(s) Update submodule(s) Update submodule(s) Fix --enable-mobile-ipv6 build Fix namespace of GetCurrentLocation() to zeek::detail Add backtrace() and print_backtrace() Rename BroString files to ZeekString Update NEWS entry with note about class renames Rename BroObj to Obj Rename BroString to zeek::String Move Func up to zeek namespace, rename BroFunc to ScriptFunc Mark global val_mgr as deprecated and fix uses of it to use namespaced version ...
This commit is contained in:
commit
e1a45d33e0
370 changed files with 9449 additions and 8851 deletions
|
@ -772,7 +772,7 @@ type record_field_table: table[string] of record_field;
|
|||
|
||||
## Meta-information about a parameter to a function/event.
|
||||
##
|
||||
## .. zeek:see:: call_argument_vector new_event
|
||||
## .. zeek:see:: call_argument_vector new_event backtrace print_backtrace
|
||||
type call_argument: record {
|
||||
name: string; ##< The name of the parameter.
|
||||
type_name: string; ##< The name of the parameters's type.
|
||||
|
@ -786,9 +786,28 @@ type call_argument: record {
|
|||
|
||||
## Vector type used to capture parameters of a function/event call.
|
||||
##
|
||||
## .. zeek:see:: call_argument new_event
|
||||
## .. zeek:see:: call_argument new_event backtrace print_backtrace
|
||||
type call_argument_vector: vector of call_argument;
|
||||
|
||||
## A representation of an element in a Zeek script's call stack.
|
||||
##
|
||||
## .. zeek:see:: backtrace print_backtrace
|
||||
type BacktraceElement: record {
|
||||
## The name of the function being called at this point in the call stack.
|
||||
function_name: string;
|
||||
## The arguments passed to the function being called.
|
||||
function_args: call_argument_vector;
|
||||
## The file in which the function call is being made.
|
||||
file_location: string &optional;
|
||||
## The line number at which the function call is being made.
|
||||
line_location: count &optional;
|
||||
};
|
||||
|
||||
## A representation of a Zeek script's call stack.
|
||||
##
|
||||
## .. zeek:see:: backtrace print_backtrace
|
||||
type Backtrace: vector of BacktraceElement;
|
||||
|
||||
# todo:: Do we still need these here? Can they move into the packet filter
|
||||
# framework?
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue