mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
flag/environment variable for dumping use-defs
This commit is contained in:
parent
8a3622a726
commit
12c9b5ede5
3 changed files with 8 additions and 1 deletions
|
@ -115,6 +115,7 @@ void analyze_scripts()
|
|||
if ( ! did_init )
|
||||
{
|
||||
check_env_opt("ZEEK_DUMP_XFORM", analysis_options.dump_xform);
|
||||
check_env_opt("ZEEK_DUMP_UDS", analysis_options.dump_uds);
|
||||
check_env_opt("ZEEK_INLINE", analysis_options.inliner);
|
||||
check_env_opt("ZEEK_XFORM", analysis_options.activate);
|
||||
|
||||
|
|
|
@ -27,6 +27,9 @@ struct AnalyOpt {
|
|||
// them. Always done if only_func is set.
|
||||
bool dump_xform = false;
|
||||
|
||||
// If true, dump out the use-defs for each analyzed function.
|
||||
bool dump_uds = false;
|
||||
|
||||
// If non-nil, then only analyze the given function/event/hook.
|
||||
std::optional<std::string> only_func;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue