mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 18:20:35 +03:00
LimEx NFA: no need to zero estate cache in STREAM
We believe that we have solved the issues that required zeroing of the exception state in STREAM_FN and REV_STREAM_FN nowadays.
This commit is contained in:
committed by
Matthew Barr
parent
01498fa8a5
commit
b5e290e985
@@ -83,7 +83,8 @@ int processExceptional32(u32 s, u32 estate, UNUSED u32 diffmask, u32 *succ,
|
||||
if (estate == ctx->cached_estate) {
|
||||
DEBUG_PRINTF("using cached succ from previous state\n");
|
||||
*succ |= ctx->cached_esucc;
|
||||
if (ctx->cached_reports) {
|
||||
if (ctx->cached_reports && (flags & CALLBACK_OUTPUT)) {
|
||||
DEBUG_PRINTF("firing cached reports from previous state\n");
|
||||
if (unlikely(limexRunReports(ctx->cached_reports, ctx->callback,
|
||||
ctx->context, offset)
|
||||
== MO_HALT_MATCHING)) {
|
||||
|
||||
Reference in New Issue
Block a user