mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-02 06:34:41 +03:00
fdr/teddy: store and dump number of strings
This commit is contained in:
committed by
Matthew Barr
parent
a17ef3e48a
commit
e4788aae1a
@@ -520,6 +520,7 @@ bytecode_ptr<FDR> TeddyCompiler::build() {
|
||||
teddy->size = size;
|
||||
teddy->engineID = eng.getID();
|
||||
teddy->maxStringLen = verify_u32(maxLen(lits));
|
||||
teddy->numStrings = verify_u32(lits.size());
|
||||
|
||||
// Write confirm structures.
|
||||
u8 *ptr = teddy_base + ROUNDUP_CL(headerSize) + ROUNDUP_CL(maskLen) +
|
||||
|
||||
Reference in New Issue
Block a user