Revert "Remove deprecated port/ports fields for spicy analyzers"

This reverts commit 15d404dd19.
This commit is contained in:
Robin Sommer 2024-08-16 16:55:56 +02:00
parent 9ea316e9a4
commit 547144d07e
No known key found for this signature in database
GPG key ID: D8187293B3FFE5D0
11 changed files with 217 additions and 25 deletions

View file

@ -106,9 +106,10 @@ void register_spicy_module_begin(const std::string& id, const std::string& descr
* Registers a Spicy protocol analyzer with its EVT meta information with the
* plugin's runtime.
*/
void register_protocol_analyzer(const std::string& id, hilti::rt::Protocol proto, const std::string& parser_orig,
const std::string& parser_resp, const std::string& replaces,
const std::string& linker_scope);
void register_protocol_analyzer(const std::string& id, hilti::rt::Protocol proto,
const hilti::rt::Vector<::zeek::spicy::rt::PortRange>& ports,
const std::string& parser_orig, const std::string& parser_resp,
const std::string& replaces, const std::string& linker_scope);
/**
* Registers a Spicy file analyzer with its EVT meta information with the