mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
inlining of Zeek script functions
This commit is contained in:
parent
3c39f11726
commit
c42586af2c
63 changed files with 21807 additions and 171 deletions
|
@ -54,6 +54,8 @@ extern "C" {
|
|||
#include "zeek/ScannedFile.h"
|
||||
#include "zeek/Frag.h"
|
||||
|
||||
#include "zeek/script_opt/ScriptOpt.h"
|
||||
|
||||
#include "zeek/supervisor/Supervisor.h"
|
||||
#include "zeek/threading/Manager.h"
|
||||
#include "zeek/input/Manager.h"
|
||||
|
@ -788,6 +790,14 @@ SetupResult setup(int argc, char** argv, Options* zopts)
|
|||
}
|
||||
}
|
||||
|
||||
analyze_scripts(options);
|
||||
|
||||
auto& analysis_options = options.analysis_options;
|
||||
|
||||
if ( analysis_options.report_recursive )
|
||||
// This option is report-and-exit.
|
||||
return {0, std::move(options), true};
|
||||
|
||||
if ( dns_type != DNS_PRIME )
|
||||
run_state::detail::init_run(options.interface, options.pcap_file, options.pcap_output_file, options.use_watchdog);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue