Rate This Document
Findability
Accuracy
Completeness
Readability

KHSEL_BuildLily

Function Usage

Performs rule compilation based on short-byte rules in the rule set and outputs a compiled mask.

Function Syntax

std::vector<u8> KHSEL_BuildLily(std::map<char, ReportID> lily, std::vector<u32> &reportVec) 

Parameters

Parameter

Description

Value Range

Input/Output

lily

Short-byte rule.

C++ string object, which can be null.

Input

reportVec

Report ID corresponding to the short-byte rule.

C++ string object, which can be null.

Input

Return Value

Output mask after rule compilation.

Example

For details, see "Running Hsbench" in Hyperscan Compilation Guide.