mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
options relating to script transformation: activation, dumping, selecting only a single function (for debugging)
This commit is contained in:
parent
8f001062bf
commit
77e9610086
2 changed files with 35 additions and 5 deletions
|
@ -16,6 +16,17 @@ namespace zeek::detail {
|
|||
// Flags controlling what sorts of analysis to do.
|
||||
|
||||
struct AnalyOpt {
|
||||
// Whether to analyze scripts.
|
||||
bool activate = false;
|
||||
|
||||
// If true, dump out transformed code: the results of reducing
|
||||
// interpreted scripts, and, if optimize is set, of then optimizing
|
||||
// them. Always done if only_func is set.
|
||||
bool dump_xform = false;
|
||||
|
||||
// If non-nil, then only analyze the given function/event/hook.
|
||||
const char* only_func = nullptr;
|
||||
|
||||
// If true, do global inlining.
|
||||
bool inliner = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue