Commit graph

15378 commits

Author SHA1 Message Date
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
Tim Wojtulewicz
cd7ebdb2ed A handful of int-to-bool conversions 2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
90d0bc64fa Replace empty destructor bodies with =default definitions 2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
1991b87a07 Reduce amount of files passed to clang-tidy 2023-07-07 09:17:05 -07:00
Robin Sommer
cd2c193cb2
Merge remote-tracking branch 'origin/topic/robin/gh-3157-export-switch'
* origin/topic/robin/gh-3157-export-switch:
  [Spicy] Support `switch` fields when exporting Spicy types to Zeek.
2023-07-07 11:46:29 +02:00
Arne Welzel
f00dac544e Merge remote-tracking branch 'origin/topic/vern/GH-3159.B'
* origin/topic/vern/GH-3159.B:
  Fix for nested "when" statements leading to confusion over scoping
2023-07-06 11:35:47 +02:00
Arne Welzel
2da6f94ab6 Merge remote-tracking branch 'origin/topic/timw/3163-gperftools-build'
* origin/topic/timw/3163-gperftools-build:
  Define early_shutdown lambda earlier in zeek-setup, avoids build failure with gperftools
2023-07-06 09:30:20 +02:00
Robin Sommer
65e5e739d0
[Spicy] Support switch fields when exporting Spicy types to Zeek.
Closes #3157.
2023-07-06 08:40:54 +02:00
zeek-bot
8424250200 Update doc submodule [nomail] [skip ci] 2023-07-06 00:50:02 +00:00
Vern Paxson
a1d25670fc Fix for nested "when" statements leading to confusion over scoping 2023-07-05 17:10:38 -07:00
Tim Wojtulewicz
efe4b35481 Define early_shutdown lambda earlier in zeek-setup, avoids build failure with gperftools 2023-07-05 14:08:09 -07:00
Tim Wojtulewicz
8f79bea18e Merge remote-tracking branch 'origin/topic/robin/spicy-build-dir-for-dev'
* origin/topic/robin/spicy-build-dir-for-dev:
  Set `SPICY_BUILD_DIRECTORY` in `zeek-path-dev`.
2023-07-05 13:32:50 -07:00