zeek/tools/gen-zam
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
..
src gen-zam: Fix a bug caused by different behaviour of std::regex_replace under MSVC. 2025-08-20 08:52:25 -07:00
CMakeLists.txt gen-zam: Remove unnecessary include from CMakeLists.txt 2025-08-20 08:52:25 -07:00
README.md gen-zam: Establish the usual environment for cmake-driven builds 2025-08-20 08:52:25 -07:00

Gen-ZAM, a templator for the Zeek Abstract Machine

Zeek uses the gen-zam tool during its build, to synthesize operations in ZAM, the Zeek Abstract Machine. The main reason for why you might want to use this repository on its own is cross-compilation, for which you'll need gen-zam on the build host, much like bifcl and binpac.