mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
violet: initial implementation
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "hwlm_internal.h"
|
||||
#include "noodle_engine.h"
|
||||
#include "noodle_build.h"
|
||||
#include "scratch.h"
|
||||
#include "ue2common.h"
|
||||
#include "fdr/fdr_compile.h"
|
||||
#include "nfa/shufticompile.h"
|
||||
@@ -493,6 +494,10 @@ bool isNoodleable(const vector<hwlmLiteral> &lits,
|
||||
stream_control->history_max);
|
||||
return false;
|
||||
}
|
||||
if (2 * lits.front().s.length() - 2 > FDR_TEMP_BUF_SIZE) {
|
||||
assert(0);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (!lits.front().msk.empty()) {
|
||||
|
Reference in New Issue
Block a user