zeek/tools/binpac/lib
Jon Siwek 21cf20fc6f binpac: Improve storage type used for case-type index
The type used to store the index for a case-type now tracks the
type of the index expression rather than always using an "int".

The case fields also now have some checking done at code-gen-time to
ensure the constants used for cases does not exceed the numeric limit
of the type used in the case's index expression.  Then, assuming, it
looks safe, the C++ case labels are generated with casts to the type
of the Binpac case's index expression to ensure compilers accept it
(since all Binpac numbers use "int" for storage/printing internally).
2025-08-20 08:52:23 -07:00
..
binpac.h.in binpac: Replace u_char usages with unsigned char 2025-08-20 08:52:23 -07:00
binpac_analyzer.h binpac: Replace u_char usages with unsigned char 2025-08-20 08:52:23 -07:00
binpac_buffer.cc binpac: Add FlowBuffer policy mechanisms 2025-08-20 08:52:23 -07:00
binpac_buffer.h binpac: Add FlowBuffer policy mechanisms 2025-08-20 08:52:23 -07:00
binpac_bytestring.cc binpac: Initial import of Bro's binpac subdirectory from SVN r7088. 2025-08-20 08:52:22 -07:00
binpac_bytestring.h binpac: Initial import of Bro's binpac subdirectory from SVN r7088. 2025-08-20 08:52:22 -07:00
binpac_exception.h binpac: Improve storage type used for case-type index 2025-08-20 08:52:23 -07:00
binpac_regex.cc binpac: Adding a new binpac::init() function that must be called by the host 2025-08-20 08:52:23 -07:00
binpac_regex.h binpac: Add FlowBuffer policy mechanisms 2025-08-20 08:52:23 -07:00
CMakeLists.txt binpac: Build binpac shared lib instead of static by default 2025-08-20 08:52:23 -07:00
README binpac: Initial import of Bro's binpac subdirectory from SVN r7088. 2025-08-20 08:52:22 -07:00

This directory contains a library needed by generated C++ code from
binpac. Note that the library is not needed by the binpac compiler
itself.