Tim Wojtulewicz
c7ff0c2219
Merge remote-tracking branch 'origin/topic/johanna/better-input-framework-messages-with-optional-or-index-that-is-not-set'
...
* origin/topic/johanna/better-input-framework-messages-with-optional-or-index-that-is-not-set:
Better input framework error messages for unset non-optionals
2023-07-25 09:36:36 -07:00
Tim Wojtulewicz
80aea71089
Merge remote-tracking branch 'origin/topic/timw/cpp-script-opt-code-gen-modernization'
...
* origin/topic/timw/cpp-script-opt-code-gen-modernization:
Bump debian 11 and alpine Dockerfile versions
Fix script_opt/cpp test scripts to work correctly on all platforms
CPP code-gen: Use std::move for constructor arguments
CPP code-gen: Mark child classes final, remove final from function defs
2023-07-25 09:35:13 -07:00
Tim Wojtulewicz
1c0795fe87
Bump debian 11 and alpine Dockerfile versions
2023-07-25 09:18:33 -07:00
Tim Wojtulewicz
067bbf82fb
Fix script_opt/cpp test scripts to work correctly on all platforms
2023-07-25 08:39:31 -07:00
Tim Wojtulewicz
c9f6b3463f
CPP code-gen: Use std::move for constructor arguments
2023-07-25 08:39:31 -07:00
Tim Wojtulewicz
73adf2bf01
CPP code-gen: Mark child classes final, remove final from function defs
2023-07-25 08:39:31 -07:00
Vern Paxson
d8efb4b1f0
fix for installing identifiers for lambdas into the global scope
2023-07-22 08:49:03 -07:00
Johanna Amann
33d6e1a011
Better input framework error messages for unset non-optionals
...
The input framework currently gives a rather opaque error message when
encountering a line in which a required value is not provided. This
change updates this behavior; the error message now provides the record
element (or the name or the index element) which was not set in the
input data, even though it is required to be set by the underlying Zeek
type.
2023-07-21 15:11:31 +01:00
Tim Wojtulewicz
0e40f7e6af
More test updates for opaqueval changes
2023-07-20 14:01:33 -07:00
Tim Wojtulewicz
5b74e717bc
Fix plugin.hooks test for opaque-printing change
2023-07-20 10:43:36 -07:00
Vern Paxson
79c53c9ed6
some code simplifications and streamlining
2023-07-20 09:35:07 -07:00
Tim Wojtulewicz
2f1238089c
Merge remote-tracking branch 'origin/topic/timw/print-opaque-type'
...
* origin/topic/timw/print-opaque-type:
Print type of opaque instead of 'no value description'
2023-07-20 09:23:55 -07:00
Tim Wojtulewicz
18c77ddc2c
Fix cmake formatting issue
2023-07-19 09:16:08 -07:00
Tim Wojtulewicz
401bdc86dd
Add compiler flag to disable unknown pragma warnings on Windows
...
Without this flag you get a warning from every use of Type.h since it
contains a '#pramga GCC' for disabling a deprecation warning.
2023-07-18 16:13:38 -07:00
zeek-bot
5a4a3267fb
Update doc submodule [nomail] [skip ci]
2023-07-18 00:47:36 +00:00
Tim Wojtulewicz
819b79e121
Merge remote-tracking branch 'origin/topic/vern/dyn-sig-actions'
...
* origin/topic/vern/dyn-sig-actions:
allow signature actions to be dynamically updated
2023-07-17 16:35:15 -07:00
Tim Wojtulewicz
1f39a33442
Merge remote-tracking branch 'origin/topic/vern/ZAM-maint.Jul23'
...
* origin/topic/vern/ZAM-maint.Jul23:
ZAM btest baseline update
more extensive ZAM inlining & compilation of lambdas
fixes for ZAM compilation of switch statements
fix for ZAM inlining failing to inline function call arguments
avoid constructing TypeList's on-the-fly for ListVal's with fixed types
ZAM optimization for ?$ operator applied to non-optional fields
ASSERT seatbelts for low-level vector accesses
comment typo
low-level ZAM micro-optimizations
fix for recent smart pointer change
2023-07-17 16:33:46 -07:00
Vern Paxson
57e5d1462e
ZAM btest baseline update
2023-07-17 16:31:31 -07:00
Vern Paxson
1ff490b41c
more extensive ZAM inlining & compilation of lambdas
2023-07-17 16:31:30 -07:00
Vern Paxson
b9949560c6
fixes for ZAM compilation of switch statements
2023-07-17 16:31:30 -07:00
Vern Paxson
51eec61272
fix for ZAM inlining failing to inline function call arguments
2023-07-17 16:31:30 -07:00
Vern Paxson
6b0d595dae
avoid constructing TypeList's on-the-fly for ListVal's with fixed types
2023-07-17 16:31:30 -07:00
Vern Paxson
1d5bc841e0
ZAM optimization for ?$ operator applied to non-optional fields
2023-07-17 16:31:30 -07:00
Tim Wojtulewicz
41545baf7e
Print type of opaque instead of 'no value description'
2023-07-17 14:33:44 -07:00
Tim Wojtulewicz
fdf45df65a
Merge remote-tracking branch 'origin/topic/vern/CPP-maint.Jul23'
...
* origin/topic/vern/CPP-maint.Jul23:
-O gen-C++ fix for recent smart pointer changes
-a cpp Btest baseline updates
minor BTest generalizations & simplifications
fixes for compiling function calls that return non-error nil ValPtr's
2023-07-14 09:15:48 -07:00
Vern Paxson
781cc0dcf0
allow signature actions to be dynamically updated
2023-07-13 17:25:32 -07:00
Vern Paxson
10797bb955
-O gen-C++ fix for recent smart pointer changes
2023-07-13 15:05:16 -07:00
Vern Paxson
bf6d030894
-a cpp Btest baseline updates
2023-07-13 13:11:26 -07:00
Vern Paxson
42697d72f2
minor BTest generalizations & simplifications
2023-07-13 13:10:14 -07:00
Vern Paxson
5480dc8869
fixes for compiling function calls that return non-error nil ValPtr's
2023-07-13 13:06:42 -07:00
Vern Paxson
3505827982
ASSERT seatbelts for low-level vector accesses
2023-07-13 11:42:53 -07:00
Vern Paxson
c61360e181
comment typo
2023-07-13 11:40:41 -07:00
Vern Paxson
eb84286b9c
low-level ZAM micro-optimizations
2023-07-13 11:39:55 -07:00
Vern Paxson
cc059f6b51
fix for recent smart pointer change
2023-07-13 11:38:27 -07:00
Arne Welzel
b6bff8aa37
Merge remote-tracking branch 'origin/topic/awelzel/2709-colon-colon-for-global'
...
* origin/topic/awelzel/2709-colon-colon-for-global:
ci: Bust Ubuntu 22.10 image cache
Support :: prefix to reference global namespace, deprecate GLOBAL::
2023-07-12 17:29:51 +02:00
zeek-bot
2785e3f47d
Update doc submodule [nomail] [skip ci]
2023-07-12 00:36:10 +00:00
Tim Wojtulewicz
f9904511ab
Merge remote-tracking branch 'origin/topic/awelzel/3145-dcerpc-state-clean'
...
* origin/topic/awelzel/3145-dcerpc-state-clean:
dce-rpc: Test cases for unbounded state growth
dce-rpc: Handle smb2_close_request() in scripts
smb/dce-rpc: Cleanup DCE-RPC analyzers when fid is closed and limit them
dce-rpc: Do not repeatedly register removal hooks
2023-07-11 16:17:12 -07:00
Tim Wojtulewicz
f202073387
Merge remote-tracking branch 'origin/topic/vern/minor-modernization'
...
* origin/topic/vern/minor-modernization:
removed use of unnecessary member variable accessors for StmtList methods
migrated some raw pointers to smart pointers
2023-07-11 16:15:52 -07:00
Vern Paxson
fbdc5e3f29
removed use of unnecessary member variable accessors for StmtList methods
2023-07-11 16:04:30 -07:00
Vern Paxson
1b2cd0c767
migrated some raw pointers to smart pointers
2023-07-11 16:04:30 -07:00
Arne Welzel
da6ee8125d
ci: Bust Ubuntu 22.10 image cache
...
Cirrus jobs failing to pull the image, try rebuilding.
2023-07-11 12:53:05 +02:00
Arne Welzel
12a5616f4d
Support :: prefix to reference global namespace, deprecate GLOBAL::
...
Closes #2709
2023-07-11 12:51:21 +02:00
Tim Wojtulewicz
c23ee30542
Merge remote-tracking branch 'origin/topic/timw/clang-tidy-fixups'
...
* origin/topic/timw/clang-tidy-fixups:
Remove unused state_label() method from ssl analyzer binpac files
Mark some overridden functions with override keyword
Use emplace_back over push_back where appropriate
packet_analysis: Define all plugin type as final
Use std::make_unique in one place instead of declaring unique_ptr directly
Avoid unnecessary type names in return statements
Simplify type trait usage (remove ::value usage)
A handful of int-to-bool conversions
Replace empty destructor bodies with =default definitions
Reduce amount of files passed to clang-tidy
2023-07-07 09:57:10 -07:00
Tim Wojtulewicz
3dc21f6a50
Remove unused state_label() method from ssl analyzer binpac files
2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
ec7ec2aa42
Mark some overridden functions with override keyword
2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
64b78f6fb9
Use emplace_back over push_back where appropriate
2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
0d78eb1933
packet_analysis: Define all plugin type as final
2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
9de5d1e8d5
Use std::make_unique in one place instead of declaring unique_ptr directly
2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
de13bb6361
Avoid unnecessary type names in return statements
2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
4957dace64
Simplify type trait usage (remove ::value usage)
2023-07-07 09:17:05 -07:00