-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'topic/bbannier/bump-tree-sitter-zeek'
- Loading branch information
Showing
15 changed files
with
99 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.3.0-10 | ||
1.3.0-18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tests/__snapshots__/test_samples/test_samples[sample0][id.zeek].raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
global a: bool; | ||
global mod::a: bool; | ||
global mod::sub_mod::a: bool; |
7 changes: 7 additions & 0 deletions
7
tests/__snapshots__/test_samples/test_samples[sample1][pragma.zeek].raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
event run_sync_hook() | ||
{ | ||
hook Telemetry::sync(); | ||
@pragma push ignore-deprecations | ||
schedule sync_interval { run_sync_hook() }; | ||
@pragma pop ignore-deprecations | ||
} |
10 changes: 10 additions & 0 deletions
10
tests/__snapshots__/test_samples/test_samples[sample2][redef.zeek].raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
redef record fa_file += { | ||
pe: Info &optional; | ||
}; | ||
|
||
redef enum Log::ID += { LOG }; | ||
|
||
# Single. | ||
redef record Conn::Info$ip_proto -= { &log } ; | ||
# Multiple (actually only `&log` can be redefined). | ||
redef record Conn::Info$ip_proto -= { &log &optional } ; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
global a: bool; | ||
global mod::a: bool; | ||
global mod::sub_mod::a: bool; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
event run_sync_hook() { | ||
hook Telemetry::sync(); | ||
@pragma push ignore-deprecations | ||
schedule sync_interval { run_sync_hook() }; | ||
@pragma pop ignore-deprecations | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
redef record fa_file += { | ||
pe: Info &optional; | ||
}; | ||
|
||
redef enum Log::ID += { LOG }; | ||
|
||
# Single. | ||
redef record Conn::Info$ip_proto-={&log}; | ||
# Multiple (actually only `&log` can be redefined). | ||
redef record Conn::Info$ip_proto-={&log &optional}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters