https://bugzilla.redhat.com/show_bug.cgi?id=1690634
Bug ID: 1690634 Summary: Review Request: bifcl - A built-in-function (BIF) compiler/generator Product: Fedora Version: rawhide Hardware: All OS: Linux Status: NEW Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: mail@fabian-affolter.ch QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://fab.fedorapeople.org/packages/SRPMS/bifcl.spec SRPM URL: https://fab.fedorapeople.org/packages/SRPMS/bifcl-1.1-1.fc29.src.rpm
Project URL: https://github.com/zeek/bifcl
Description: The bifcl program simply takes a .bif file as input and generates C++ header/source files along with a .bro script that all-together provide the declaration and implementation of Bro/Zeek built-in-functions (BIFs), which can then be compiled and shipped ss part of a Bro/Zeek plugin.
A BIF allows one to write arbitrary C++ code and access it via a function call inside a Bro script. In this way, they can also be used to access parts of Bro/Zeek's internal C++ API that aren't already exposed via their own BIFs.
At the moment, learning the format of a .bif file is likely easiest by just taking a look at the .bif files inside the Bro/Zeek source-tree.
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=33637721
Fedora Account System Username: fab