mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
fdr: move long literal handling into Rose
Move the hash table used for long literal support in streaming mode from FDR to Rose, and introduce new instructions CHECK_LONG_LIT and CHECK_LONG_LIT_NOCASE for doing literal confirm for long literals. This simplifies FDR confirm, and guarantees that HWLM matchers will only be used for literals < 256 bytes long.
This commit is contained in:
committed by
Matthew Barr
parent
6ed30194ce
commit
68bf473e2e
@@ -425,7 +425,6 @@ set (hs_exec_SRCS
|
||||
src/fdr/fdr_internal.h
|
||||
src/fdr/fdr_confirm.h
|
||||
src/fdr/fdr_confirm_runtime.h
|
||||
src/fdr/fdr_streaming_runtime.h
|
||||
src/fdr/flood_runtime.h
|
||||
src/fdr/fdr_loadval.h
|
||||
src/fdr/teddy.c
|
||||
@@ -531,6 +530,8 @@ set (hs_exec_SRCS
|
||||
src/rose/init.h
|
||||
src/rose/init.c
|
||||
src/rose/stream.c
|
||||
src/rose/stream_long_lit.h
|
||||
src/rose/stream_long_lit_hash.h
|
||||
src/rose/match.h
|
||||
src/rose/match.c
|
||||
src/rose/miracle.h
|
||||
@@ -612,8 +613,6 @@ SET (hs_SRCS
|
||||
src/fdr/fdr_engine_description.cpp
|
||||
src/fdr/fdr_engine_description.h
|
||||
src/fdr/fdr_internal.h
|
||||
src/fdr/fdr_streaming_compile.cpp
|
||||
src/fdr/fdr_streaming_internal.h
|
||||
src/fdr/flood_compile.cpp
|
||||
src/fdr/teddy_compile.cpp
|
||||
src/fdr/teddy_compile.h
|
||||
@@ -874,6 +873,8 @@ SET (hs_SRCS
|
||||
src/rose/rose_build_impl.h
|
||||
src/rose/rose_build_infix.cpp
|
||||
src/rose/rose_build_infix.h
|
||||
src/rose/rose_build_long_lit.cpp
|
||||
src/rose/rose_build_long_lit.h
|
||||
src/rose/rose_build_lookaround.cpp
|
||||
src/rose/rose_build_lookaround.h
|
||||
src/rose/rose_build_matchers.cpp
|
||||
|
Reference in New Issue
Block a user