mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
"-O validate-ZAM" option to validate generated ZAM instructions
This commit is contained in:
parent
db22448270
commit
1457099df3
7 changed files with 134 additions and 5 deletions
|
@ -558,6 +558,11 @@ void clear_script_analysis() {
|
|||
void analyze_scripts(bool no_unused_warnings) {
|
||||
init_options();
|
||||
|
||||
if ( analysis_options.validate_ZAM ) {
|
||||
validate_ZAM_insts();
|
||||
return;
|
||||
}
|
||||
|
||||
// Any standalone compiled scripts have already been instantiated
|
||||
// at this point, but may require post-loading-of-scripts finalization.
|
||||
for ( auto cb : standalone_finalizations )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue