Jan Grashoefer
5e3ae6227b
af_packet: Updated README.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
eb3dc4b563
af_packet: Include info files for distribution.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
9cc01769b4
af_packet: Minor improvements to fix compiler warnings.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
b6e52b262c
af_packet: Increased version number.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
4eaa201821
af_packet: Updated README regarding --with-latest-kernel.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
3adaef434b
af_packet: Added buffer_size option to broctl plugin.
...
The buffer size can now be set in node.cfg using the
af_packet_buffer_size key.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
a89379c353
af_packet: Added bro-pkg instructions to the README.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
1a107bd838
af_packet: Increased version number.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
1dfb115e35
af_packet: Fixed broctl example.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
478265b4f2
af_packet: Fixed compatibility for kernel versions < 3.14.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
742b0820bc
af_packet: Imported version 1.1 of the plugin.
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
32522307d9
gen-zam: Fix clang-tidy and pre-commit warnings
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
a2f4f2adc3
gen-zam: Remove submodule, adapt CMake configuration for Zeek build
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
526238299d
gen-zam: Fix a pile of Coverity findings
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
3845fced55
gen-zam: Require C++20 for builds
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
f6f84184ed
gen-zam: Add clang-format pre-commit hook
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
d5cc0d5135
gen-zam: Add cmake-format pre-commit hook
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
027c075fb0
gen-zam: Use const references instead of copying type values
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
97492b4d70
gen-zam: Reserve space for args vector before pushing back items
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
75bba1a8f5
gen-zam: Fix clang-tidy bugprone-macro-parentheses/cppcoreguidelines-macro-usage warnings in headers
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
0acd4bf04e
gen-zam: Fix clang-tidy bugprone-branch-clone warnings in headers
2025-08-20 08:52:25 -07:00
Vern Paxson
53591cf205
gen-zam: generate descriptions of macros, akin to those already generated for operations
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
12bb2a04eb
gen-zam: Require CMake 3.15, in line with other Zeek projects
2025-08-20 08:52:25 -07:00
Vern Paxson
a20e268f13
gen-zam: more robust dispatch that allows for eval/eval-mixed overlap
2025-08-20 08:52:25 -07:00
Vern Paxson
736eb99054
gen-zam: extensive changes corresponding to those described in GH-3872
2025-08-20 08:52:25 -07:00
Vern Paxson
4ae4548ceb
gen-zam: gen-zam extended to read from multiple files on the command-line
2025-08-20 08:52:25 -07:00
Vern Paxson
aee70af743
gen-zam: fix for generating relational operations with first operand being a constant
2025-08-20 08:52:25 -07:00
Vern Paxson
f9385ef88d
gen-zam: hooks for supporting ZAM profiling
2025-08-20 08:52:25 -07:00
Vern Paxson
4e07a9681d
gen-zam: fixes for generating ZAM operations relating to indirect calls
2025-08-20 08:52:25 -07:00
Vern Paxson
6f8c54d69a
gen-zam: support for ZAM instructions using IntrusivePtr for call expression ASTs
2025-08-20 08:52:25 -07:00
Vern Paxson
6f648e36d1
gen-zam: fix to make generated function calls compatible with "when" lambdas
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
b04c03ee89
gen-zam: Fix some warnings from newer compilers about unqualified std::move calls
2025-08-20 08:52:25 -07:00
Vern Paxson
1e73b02977
gen-zam: better error reporting when ZAM code does a function call
2025-08-20 08:52:25 -07:00
Tomer Lev
3b3f6bbe4d
gen-zam: Fix a bug caused by different behaviour of std::regex_replace under MSVC.
...
Under MSVC regex objects are multiline by default and there is no apparant way of changing this behaviour. Under clang/gcc regex is singleline unless std::regeX_constants::multiline is specificied.
This behaviour is assumed in Gen-ZAM.cc when auto-generating header files.
Example: https://godbolt.org/z/aP59x3EhT
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
6ad6fd165b
gen-zam: clang-tidy: Avoid copying string objects if possible
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
27d674edc0
gen-zam: clang-tidy: Avoid bugprone narrowing conversions
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
bacd56258c
gen-zam: Fix a couple of coverity issues
...
1491335: AUTO_CAUSES_COPY due to a for loop using auto& instead of const auto&
1491338: AUTO_CAUSES_COPY due to a for loop using auto& instead of const auto&
2025-08-20 08:52:25 -07:00
Vern Paxson
789b06b1ea
gen-zam: fix memory management for vector-of-strings operations
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
f330505e83
gen-zam: Deprecate bro_int_t and bro_uint_t
2025-08-20 08:52:25 -07:00
Johanna Amann
902577b7ce
gen-zam: Fix compile error on GCC-12/Ubuntu 22.04
2025-08-20 08:52:25 -07:00
Christian Kreibich
4a7cf8c26e
gen-zam: Remove unnecessary include from CMakeLists.txt
2025-08-20 08:52:25 -07:00
Christian Kreibich
b51430c04e
gen-zam: Trivial source tweaks to make it build
2025-08-20 08:52:25 -07:00
Christian Kreibich
5ea34f20b8
gen-zam: Establish the usual environment for cmake-driven builds
2025-08-20 08:52:25 -07:00
Christian Kreibich
c1f240295f
gen-zam: Move Gen-ZAM sources to src subdirectory
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
c618bb7a56
bifcl: Remove submodule, adapt CMake configuration for Zeek build
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
f6d9696bf1
bifcl: Require C++20 for builds
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
d8d8772342
bifcl: Add NOLINT for clang-tidy performance-enum-size to generated headers
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
c63a220579
bifcl: Add missing include of cinttypes
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
867d91b535
bifcl: Some other minor cleanup
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
23a5e46b8e
bifcl: Minor cleanup of include files
2025-08-20 08:52:25 -07:00