Vern Paxson
56140046d3
final changes for -O C++ feature completeness, mainly "when" statement support
2022-05-12 14:07:36 -07:00
Vern Paxson
48f1e4df42
Change "when" statements that don't require closures to use new implementation.
...
Provide hooks for script optimization access to "when" statements.
Regularize treatment of naming and timeouts for Triggers.
2022-05-12 14:05:20 -07:00
Vern Paxson
5eb37e4c78
switch cached Trigger values to be opaque-and-generic, rather than assuming CallExpr's
2022-05-12 13:54:46 -07:00
Vern Paxson
9ada7ac4e7
tracking of when statements/expressions occur in a "when" context
2022-05-12 13:45:45 -07:00
Vern Paxson
5a32e58e04
fix bug that sometimes associated the wrong location with global statements
2022-05-12 13:40:57 -07:00
Vern Paxson
f25aded984
fix incomplete AST traversal of "when" statements
2022-05-12 13:40:27 -07:00
Vern Paxson
8928aa57e7
add some missing "when" closures
2022-05-12 13:39:26 -07:00
Vern Paxson
025b9b1534
regularize test suite names to avoid custom/outdated suffices
2022-05-12 13:32:49 -07:00
Johanna Amann
b61fe59f9f
Bloom filter changes: address review feedback
...
This are minor stylistic changes requested in GH-2085.
2022-05-12 11:09:31 +01:00
Johanna Amann
5118e7f86b
Merge remote-tracking branch 'origin/topic/johanna/cert-weak-key'
...
* origin/topic/johanna/cert-weak-key:
Include certificate information in SSL::Weak_Key notice
2022-05-12 11:04:34 +01:00
Dominik Charousset
327f5e76f9
Fix formatting
2022-05-12 07:17:41 +02:00
Dominik Charousset
6b1e796df7
Fix UB during early shutdown on OpenSSL state
2022-05-12 07:15:37 +02:00
zeek-bot
4d8a24642e
Update doc submodule [nomail] [skip ci]
2022-05-12 00:45:59 +00:00
Tim Wojtulewicz
8b0263cb39
Merge remote-tracking branch 'origin/topic/vern/script-profiling'
...
* origin/topic/vern/script-profiling:
tidy up after generating profile
test suite updates for refined script coverage, use of new BiF to speed startup
fix for coverage reporting for functions that use "when" statements
new global_options() BiF to speed up startup, plus a micro-preen
hooks for new --profile-scripts option
classes for managing script profiles
address some holes in script coverage
fix for script coverage missing on-exit activity
memory management fixes for loggers
make curr_CPU_time() broadly available rather than just isolated to ZAM
2022-05-11 12:56:41 -07:00
Johanna Amann
5f04f216bc
Include certificate information in SSL::Weak_Key notice
2022-05-11 18:56:04 +01:00
Johanna Amann
d5c2a0caaa
Update submodules
...
[nomail]
2022-05-11 18:51:02 +01:00
Johanna Amann
3a7b127a71
Merge remote-tracking branch 'origin/topic/johanna/topk-cite'
...
* origin/topic/johanna/topk-cite:
Add exact name of the Top-k algorithm.
2022-05-11 18:45:48 +01:00
Johanna Amann
25c33d2a29
Add exact name of the Top-k algorithm.
...
I needed to figure out which exact algorithm we use for our
probabilistic top-k measurements. It turns out that we do not mention
this in our source tree at all so far.
2022-05-11 13:21:26 +01:00
Tim Wojtulewicz
b850d1dc51
Store hash analyzer kind StringVals for later reuse
2022-05-10 15:15:41 -07:00
Tim Wojtulewicz
a680c2faf0
Add Component::GetCanonicalNameVal to avoid extra StringVal allocations
2022-05-10 14:17:23 -07:00
Tim Wojtulewicz
22ab3bb0b3
Avoid type unnecessary type conversion in ComponentManager::GetComponentName
2022-05-10 12:50:53 -07:00
Tim Wojtulewicz
1f8d406658
Only set connection history if strings differ
2022-05-09 14:35:56 -07:00
Johanna Amann
0aafc8ae6c
Merge remote-tracking branch 'origin/topic/vern/type-names'
...
* origin/topic/vern/type-names:
regularize deprecation warning
make DoDescribe protected for a tidier interface mark use of DESC_PORTABLE as deprecated
when printing a description of a type, use its name if available
2022-05-09 11:15:36 +01:00
zeek-bot
87b54de5a3
Update doc submodule [nomail] [skip ci]
2022-05-07 00:42:39 +00:00
Christian Kreibich
8d101f21be
Merge branch 'topic/christian/management-consistency-tweaks'
...
* topic/christian/management-consistency-tweaks:
Management framework: consistency tweaks in zeek-client, plus test updates
2022-05-06 15:28:48 -07:00
Tim Wojtulewicz
c55c06a325
Merge remote-tracking branch 'origin/topic/timw/doctest-update'
...
* origin/topic/timw/doctest-update:
Update doctest to v2.4.8
2022-05-06 12:47:58 -07:00
Tim Wojtulewicz
cf51931615
Merge remote-tracking branch 'origin/topic/vern/footprint'
...
* origin/topic/vern/footprint:
new environment variable to enable BTests to skip ASAN checks
skip new BiF test for ASAN CI runs
btest update to include recursive value that doesn't require a record
to avoid recursion, track all aggregates, not just records isolate the internal methods
simpler public calling interface for computing footprint
use stack-based set to prevent infinite recursion rather than a static one
change value_footprint() to val_footprint() to be more similar to val_size()
make including count of container elements non-optional
btest for mutually-recursive case
fix for tracking footprints of mutually-recursive records
added value_footprint() and global_container_footprints() BiFs
2022-05-06 11:32:49 -07:00
Tim Wojtulewicz
62d77d959b
Update doctest to v2.4.8
2022-05-06 11:30:37 -07:00
Christian Kreibich
8c76af6ab9
Management framework: consistency tweaks in zeek-client, plus test updates
...
A minor changeset that reflects zeek-client updates, with some effects on
its output and hence test cases.
2022-05-06 11:22:48 -07:00
Vern Paxson
eaf63402cc
new environment variable to enable BTests to skip ASAN checks
2022-05-06 07:55:57 -07:00
Vern Paxson
113d6cd87a
tidy up after generating profile
2022-05-06 07:47:45 -07:00
Christian Kreibich
7198c847e8
Merge branch 'topic/christian/management-get-config'
...
* topic/christian/management-get-config:
Management framework: add get_configuration_request/response transaction
2022-05-05 18:10:46 -07:00
Vern Paxson
a387157ead
skip new BiF test for ASAN CI runs
2022-05-05 17:07:46 -07:00
Vern Paxson
f17fe4101b
regularize deprecation warning
2022-05-05 17:02:14 -07:00
Vern Paxson
d5f60cfaba
btest update to include recursive value that doesn't require a record
2022-05-05 16:55:03 -07:00
Vern Paxson
58cdc0be09
to avoid recursion, track all aggregates, not just records
...
isolate the internal methods
2022-05-05 16:51:59 -07:00
Christian Kreibich
001de561fc
Management framework: add get_configuration_request/response transaction
...
Includes submodule bumps for Broker (to pull in better handling of data
structures that are difficult to unserialize in Python), zeek-client (for the
get-config command), and a commit hash update for the external testsuite.
2022-05-05 16:09:21 -07:00
Christian Kreibich
6fb5c1fe5c
Update zeek-archiver submodule [nomail] [skip ci]
2022-05-05 12:10:10 -07:00
Johanna Amann
a34a597e4c
Bloom-filter: fix documentation syntax problem
2022-05-05 13:19:41 +01:00
Tim Wojtulewicz
1d1cad95c9
Merge remote-tracking branch 'origin/topic/vern/zam-maint-01May22'
...
* origin/topic/vern/zam-maint-01May22:
fix for coverage reporting for functions that use "when" statements
ZAM maintenance for recent changes and some newly exercised corner cases
2022-05-04 11:58:02 -07:00
Vern Paxson
ba44c468b2
fix for coverage reporting for functions that use "when" statements
2022-05-04 10:14:52 -07:00
Tim Wojtulewicz
00c85425ae
Merge remote-tracking branch 'origin/topic/timw/coverity-fixes'
...
* origin/topic/timw/coverity-fixes:
Fixes Coverity issues reported from DNS_Mgr merge
2022-05-04 09:24:07 -07:00
Johanna Amann
9b73eb7561
Bloomfilter related clang-format fixes
2022-05-04 09:07:54 +01:00
zeek-bot
96c1e5a4d4
Update doc submodule [nomail] [skip ci]
2022-05-04 00:43:36 +00:00
Tim Wojtulewicz
edd990359f
Merge remote-tracking branch 'origin/topic/vern/set-of-rec-record'
...
* origin/topic/vern/set-of-rec-record:
fix for sets containing recursive records
2022-05-03 14:41:05 -07:00
Vern Paxson
d75d1715a9
make DoDescribe protected for a tidier interface
...
mark use of DESC_PORTABLE as deprecated
2022-05-03 13:41:39 -07:00
Vern Paxson
690a4590b7
test suite updates for refined script coverage, use of new BiF to speed startup
2022-05-03 12:36:50 -07:00
Vern Paxson
5d38971030
fix for coverage reporting for functions that use "when" statements
2022-05-03 12:36:02 -07:00
Vern Paxson
fab4905fc2
new global_options() BiF to speed up startup, plus a micro-preen
2022-05-03 11:13:15 -07:00
Vern Paxson
07f5e9cbe7
hooks for new --profile-scripts option
2022-05-03 11:12:29 -07:00